[MRG] Add sparse input and sparse precomputed distances to sklearn/cluster/_optics.py#20802
[MRG] Add sparse input and sparse precomputed distances to sklearn/cluster/_optics.py#20802elefantinerrrrs wants to merge 19 commits intoscikit-learn:mainfrom
Conversation
Original commit was pushed, but wasn't reflected on github for some reason
|
Hi @Clickedbigfoot, sorry your pull request went lost. |
|
Hi @cmarmo, if it is okay with you I will pick up this stalled PR and continue @Clickedbigfoot's work in order to fix #11982. I have merged his PR to (a new branch of) my fork and will continue working from there. When I'm done, which probably will take a while, I'll open a new PR. Do you agree? And how do I correctly cite his work? |
Hi @JSchuerz, please go ahead! :) |
Reference Issues/PRs
Fixes #11982 , Fixes #14736 (Continues work from stalled PR)
What does this implement/fix? Explain your changes.
Makes
OPTICS.fit(self, X, y=None)support sparse matrixXof shape (n_samples,n_features) or (n_samples,n_samples) if precomputed distances.