-
Notifications
You must be signed in to change notification settings - Fork 106
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
access distances in heap #211
Comments
So the bad news is that distances calculated during the search are thrown away to save memory, so they just aren't accessible as you would want. The possibly good news is that there are some hidden features that may do what you want. There is a module |
thanks for the reply. looking a bit more into the code, I suspected as much. I have to check whether my graphs are fully connected to see if the functionality you mention would help. |
ok, so I created a fork where the distances discarded in the however, I'm getting errors with numba when installing the package locally (using
thanks for any input. I have python 3.8.0, numpy 1.23.5, numba 0.53.1 (or 0.56.1 on another system, similar problem) update: turning off the numba caching for the another update: maybe related to caching problems for recursive functions? |
Hi,
I'm trying to use sparse distance matrix for agglomerative hierarchical clustering (using the algorithms from
gbbs
). While it works reasonably well for my use case using only nearest neighbors as input, it would be good to have also (some) distances between points that are further apart. I can add these later from a full distance matrix of a random subset of course, but I wonder if it's possible to somehow get all the distances that were calculated during the search? they don't seem to be accessible from therp_forest
, but I have only a superficial understanding of the code.help would be very much appreciated!
The text was updated successfully, but these errors were encountered: