Skip to content
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

Question regarding sparse matrices #622

Open
KukumavMozolo opened this issue Jan 29, 2024 · 0 comments
Open

Question regarding sparse matrices #622

KukumavMozolo opened this issue Jan 29, 2024 · 0 comments

Comments

@KukumavMozolo
Copy link

Hi there, i stumbled over the problem that the algorithm try's to allocate more memory than i currently have. This happens in this implementation and the sklearn implementation of hdbscan and i found the following lines of code here.

        if issparse(X) or metric not in FAST_METRICS:
            # We can't do much with sparse matrices ...

So apparently it is not possible to reduce memory consumption if the dataset is sparse and i am trying to understand why that is.
Maybe somebody could elaborate?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant