Installing collected packages: scikit-learn
Successfully installed scikit-learn-0.17.1
zhanghuengdeMBP:Final-Project zhanghuaizheng$ python python-ELM/elm_notebook.py
Traceback (most recent call last):
File "python-ELM/elm_notebook.py", line 17, in <module>
from elm import ELMClassifier, ELMRegressor, GenELMClassifier, GenELMRegressor
File "/Users/zhanghuaizheng/Project/python_project/Final-Project/Python-ELM/elm.py", line 34, in <module>
from random_layer import RandomLayer, MLPRandomLayer
File "/Users/zhanghuaizheng/Project/python_project/Final-Project/Python-ELM/random_layer.py", line 27, in <module>
from sklearn.utils import check_random_state, atleast2d_or_csr
ImportError: cannot import name atleast2d_or_csr
ImportError: cannot import name atleast2d_or_csr
Why this happened?
Seems to be removed from the code. Try check_array
instead as suggested here.
Thank you.It works @ssaeger
Most helpful comment
Seems to be removed from the code. Try
check_array
instead as suggested here.