No module named ‘sklearn.preprocessing._label‘

问题:

No module named ‘sklearn.preprocessing._label’

解决方法:

更新sckit-learn,版本>=0.22.X

pip install scikit-learn==0.22.0
Share