10000 cannot import array2d · Issue #4884 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content

cannot import array2d #4884

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

Closed
madneal opened this issue Jun 22, 2015 · 2 comments
Closed

cannot import array2d #4884

madneal opened this issue Jun 22, 2015 · 2 comments

Comments

@madneal
Copy link
madneal commented Jun 22, 2015

I don't know why the array2d cannot be imported in sklearn0.16. Is that sure that array2d has been removed from sklearn0.16. If so, how should I fix this?

@jakevdp
Copy link
Member
jakevdp commented Jun 22, 2015

Yes, it was removed. See discussion in #3443. You can use check_array instead to get similar behavior. Note that the functionality in utils is not guaranteed to be consistent from release to release (and changes are usually left out of release notes), so you should be careful when directly using them in external packages.

@amueller
Copy link
Member

feel free to reopen / comment if you have additional questions.

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
0