Open moinnadeem opened 6 years ago
Unfortunately sparse matrices that aren't distance matrices only support the generic algorithm. Sorry. You could try dimension reduction (PCA/truncatedSVD might be fine) down to a dense matrix of manageable dimension (50-100) or UMAP down to a small dimension (5-10). Otherwise I'm afraid there isn't too much that is available without a whole new codepath and sparse distance functions getting written.
In the meantime I have added a check so you at least get an informative error message in this case. Thanks for the report! Sorry I couldn't be more help.
When running
hdbscan
withprims_kdtree
, I get the following traceback. Please note my matrix is sparse.