-
Notifications
You must be signed in to change notification settings - Fork 535
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
[BUG] n_neighbors should be smaller than the graph degree computed by nn descent #6091
Comments
+, similar problem |
Thanks for reporting. Would you be able to give this a try with the stable v24.10 release that just came out? I'm not able to reproduce it in the current release (though I saw it in 24.08).
|
Closing, but please feel free to re-open if this reproduces in v24.10+ |
This appears to remain an issue in not only v24.10, but also v24.12.
Used with ~ 1 million samples of dimension 784 resulted in
for both versions. |
@cjnolet , do you expect this is as straighforward as adding a |
I updated to the latest cuml (from 23.12). I'm fitting a umap to dataset with 32 features and 400k samples.
With 23.12 I did that with
n_neighbors=200
andn_components=2
and it worked. With the latest version (24.08) I get:The magic
n_neighbors
number when it starts working is 64, which seems to be the default according this documentation: https://docs.rapids.ai/api/cuvs/stable/cpp_api/neighbors_nn_descent/Here is a script to reproduce the issue:
Interestingly, when I reduce the number of samples from 400k to 50k it also works.
Any ideas what I'm doing wrong?
The text was updated successfully, but these errors were encountered: