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 not set up to be reproducible in all methods #5194

Closed
alanocallaghan opened this issue Oct 14, 2021 · 1 comment
Closed

umap not set up to be reproducible in all methods #5194

alanocallaghan opened this issue Oct 14, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@alanocallaghan
Copy link
Contributor

See hhcho/densvis#9

You set random_state in some of the runumap methods but not others.

eg you do here

random.state <- sklearn$utils$check_random_state(seed = as.integer(x = seed.use))

but not in the default method
umap.args <- list(

I could reprex this but it's obvious from the code that not setting the random_state means it won't be reproducible across seeds

@alanocallaghan alanocallaghan added the bug Something isn't working label Oct 14, 2021
@timoast
Copy link
Collaborator

timoast commented Oct 22, 2021

Thanks for reporting, this should now be fixed on the develop branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants