You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is therefore wasting memory on an array of shape (X.shape[0], min_samples), when it could be getting kneighbors results in multiple chunks (perhaps to ensure working_memory is not exceeded in any chunk) so that only fixed memory plus X.shape[0] distances are stored.
The text was updated successfully, but these errors were encountered:
Hi @kss682, it's nice to have new people on board. You probably want to read the contributing page in case you haven't (http://scikit-learn.org/dev/developers/contributing.html). And to take an issue, you should always check if somebody else is working on it or not, and this one has already been worked on in the PR #12103 you see linked here.
OPTICS only uses the last neighbor of its call to kneighbors
scikit-learn/sklearn/cluster/optics_.py
Line 410 in 8068b97
It is therefore wasting memory on an array of shape
(X.shape[0], min_samples)
, when it could be gettingkneighbors
results in multiple chunks (perhaps to ensureworking_memory
is not exceeded in any chunk) so that only fixed memory plusX.shape[0]
distances are stored.The text was updated successfully, but these errors were encountered: