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
Bad argument for scipy.sparse.coo_matrix #10
Comments
Hi, Thanks for tracking down the details. In summary the issue is the following: umap uses an approximate k-neighbor algorithm to find the |
I believe I have resolved the error, but would appreciate it if you could check if that is the case using the current master. Let me know if it works now, thanks! |
I have cloned your git : After i have done : python3 setup.py install |
The git log say the last commit is : commit da6fe79
5 hours before you answered me, have you push the fix ? |
I did indeed push the fix. I have found that I sometimes need to purge the previous version from my site-packages directory prior to a re-install before it takes. Could that be an issue? |
Thanks a lot ! It is working great. Good job. |
I want to use umap.UMAP().fit_transform(X) but i got an error :
ValueError: negative column index found
from the scipy function scipy.sparse.coo_matrix
When i have investigated, i've found in umap_.py, in the function fuzzy_simplicial_set(), the variable tmp_indices contains values < 0 (-1), but scipy.sparse.coo_matrix need values >= 0 !
Thx for answering me.
The text was updated successfully, but these errors were encountered: