Skip to content
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

UMAP produces different results with the same parameters for a loop #466

Open
xuzhendong2016 opened this issue Jul 19, 2020 · 2 comments
Open

Comments

@xuzhendong2016
Copy link

xuzhendong2016 commented Jul 19, 2020

hello,

why the results are inconsistent for each loop? where the parameters and data are not changed.
The code is as follows:

image

The results are as follows:
image

Why are they different? please.
Thanks a lot in advance.
@lmcinnes

@xuzhendong2016 xuzhendong2016 changed the title UMAP produces different results with same parameters for a loop UMAP produces different results with the same parameters for a loop Jul 19, 2020
@Fil
Copy link
Contributor

Fil commented Jul 20, 2020

@jonaslandsgesell
Copy link

Have a look at rapidsai/cuml#5099 (comment)
Providing a random state and init="random" to UMAP (i.e. UMAP(n_neighbors=15, random_state=1, init="random")) generates deterministic behavior for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants