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

Unable to run umap with n_components = 1 #6

Closed
aftyh opened this issue Aug 27, 2018 · 1 comment
Closed

Unable to run umap with n_components = 1 #6

aftyh opened this issue Aug 27, 2018 · 1 comment
Labels
bug Something isn't working

Comments

@aftyh
Copy link

aftyh commented Aug 27, 2018

Hello!

I'm having some trouble running UMAP with one dimension due to an error that pops up saying

Error in optimize_layout_umap(head_embedding = embedding, tail_embedding = embedding,  : 
  Not a matrix.

I'm assuming that this is because the data being passed into the function is an atomic vector rather than a matrix due to it being one dimension? Perhaps this would be solved by using something like drop = FALSE or something similar?

Thank you.

@jlmelville
Copy link
Owner

Yes, it was along those lines. Thank you for reporting this. Should be fixed now.

@jlmelville jlmelville added the bug Something isn't working label Sep 22, 2018
yuhanH pushed a commit to yuhanH/uwot that referenced this issue Jul 20, 2020
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