-
-
Notifications
You must be signed in to change notification settings - Fork 25.9k
when i use the isomap on 27000 X 315 size matrix ,it is giving a memory error on shortest path calculation ? #8352
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
Comments
You have to fill up in between the markdown sections to give use more info. |
I hav a 4gb ram 32 bit computer.I am using spider as the environment to run the code.As i run the code using the fit_transform() method it throws an error on shortest path calculation here: |
You could check if there is some of the methods which use sparse matrix for the adjacency/affinity matrix. |
the isomap should work for sparse martrix for shortest path finding..? |
It seems that you need to create dense matrix at some point. |
the distance matrix is calcuated by the algorithm and that is passed to this function: |
I hav a 4gb ram 32 bit computer.
With 32bits you'll quickly run into problem, as there is only 3Gb for
in-memory data, and that gets used very fast.
|
but before finding the shortest path it converts it into a sparse matrix for memory consideration. |
FIxed in #20531, the shortest path can now be computed on sparse matrices. |
Description
Steps/Code to Reproduce
Expected Results
Actual Results
Versions
The text was updated successfully, but these errors were encountered: