-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
ENH Add sparse input support to OPTICS #22965
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
5f7e6de
Try csr support.
huntzhan 18425aa
Change the default metric of OPTICS to euclidean.
huntzhan f712b46
Retain the default metric minkowski.
huntzhan 876bb29
Undo tests.
huntzhan 71b5c1e
Fix flake8.
huntzhan 6f498a9
Add sparse tests.
huntzhan 7cddb87
Merged huntzhan
yskybloue 0f832d4
Change assert_raise_message to pytest.raises
yskybloue b237b05
Parametrized tests
yskybloue a003010
Fix flake8 test_optics.py
yskybloue 2188e5b
Fix flake8 _optics.py
yskybloue f8a43e4
Add sparse precomputed test case
yskybloue 52fdf93
Black test_optics.py
yskybloue 9dceabd
Merge remote-tracking branch 'upstream/main' into add-optics-sparse
yskybloue 8992c87
Black _optics.py
yskybloue 91fd5ed
Add sparse matrix support to _optics.py
yskybloue 80c2a73
Merge remote-tracking branch 'origin/add-optics-sparse' into add-opti…
yskybloue 53474d2
Added changelog entry
yskybloue 611cf77
Merge branch 'main' into add-optics-sparse
yskybloue 2d4a4d3
Merge branch 'main' into sparse_optics
Micky774 f15c019
Removed extra changelog entry
Micky774 011ab6d
Updated changelog entry
Micky774 367b143
Update changelog
Micky774 d3ffd52
Streamlined tests
Micky774 0123693
Added disclaimer on sparse matrix support for metrics
Micky774 ca0529e
Removed sparse parametrization for algorithm edge-case test
Micky774 7460308
Merge branch 'main' into sparse_optics
Micky774 7980f41
Remove unused metric argument
Micky774 c9e699e
Cleanup to minimize diff
Micky774 b8b4c11
Merge branch 'main' into sparse_optics
Micky774 8e4848d
Merge branch 'main' into sparse_optics
Micky774 bfe75d2
Merge branch 'main' into sparse_optics
Micky774 cf206bf
Update sklearn/cluster/_optics.py
Micky774 7c6a6c7
Merge branch 'main' into sparse_optics
Micky774 4a5ca67
Added explicit dense cast before evaluating maximal distances.
Micky774 f39ab75
Merge branch 'main' into sparse_optics
Micky774 54fb89f
Merge branch 'main' into sparse_optics
Micky774 4d03c54
Surpressed unnecessary warnings
Micky774 2ae23a9
Merge branch 'main' into sparse_optics
Micky774 27f3edd
Update sklearn/cluster/_optics.py
Micky774 c22d638
fix position in changelog
jeremiedbb File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jeremiedbb This is a change from your previous approval. Are you okay with this?