-
-
Notifications
You must be signed in to change notification settings - Fork 25.9k
Locally Linear Embedding manifold doesn't work with integer inputs #6033
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
Comments
I confirm. Error is raised for both
|
jakevdp
added a commit
to jakevdp/scikit-learn
that referenced
this issue
Feb 4, 2016
I added a fix in #6282 |
@jakevdp thanks a lot! |
Fixed in #6282 |
amueller
pushed a commit
that referenced
this issue
Oct 7, 2016
amueller
pushed a commit
to amueller/scikit-learn
that referenced
this issue
Oct 14, 2016
Sundrique
pushed a commit
to Sundrique/scikit-learn
that referenced
this issue
Jun 14, 2017
paulha
pushed a commit
to paulha/scikit-learn
that referenced
this issue
Aug 19, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
An error occurs when you try to use
manifold.LocallyLinearEmbedding
with an integer array as the input if you have certain values of the method parameter. I'm running the latest version of scikit-learn (I got this error, updated through conda, and the error still occurs).For some code that demonstrates the error, you can run the example here http://scikit-learn.org/stable/auto_examples/manifold/plot_compare_methods.html, but cast the data to int64 first. You can do this by inserting the following line below line 38
By glancing through similar issues, I think this is caused by an update to numpy.
I'll just work around the issue by casting my data to floats, but I thought I should still bring it up.
The text was updated successfully, but these errors were encountered: