You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 6, 2021. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 6, 2021. It is now read-only.
Missing function atleast2d_or_csr() - scikit-learn 0.17.0 #3
I fixed this by replacing it with check_array which does the same thing. Trying to figure out how to push this change back to you, but I'm not sure how.
Activity
StevenLOL commentedon Jul 26, 2016
From its name , I think it is checking whether the input is at least 2d or a csr matrix .
stgrmks commentedon Nov 4, 2016
scikit-learn/scikit-learn#4457
markuskreitzer commentedon Apr 12, 2017
I fixed this by replacing it with check_array which does the same thing. Trying to figure out how to push this change back to you, but I'm not sure how.
PavithranRick commentedon Oct 16, 2017
Go to the file random_layer.py
Change the line no 27 as "from sklearn.utils import check_random_state, check_array"
Line numbers 111 and 133 as "X = check_array(X)"
This should work fine