Refer to the official website:
http://scikit-learn.org/dev/developers/advanced_installation.html#install-bleeding-edge
The screenshot is as follows:
Under the CMD window, enter:
PIP install -u scikit-learn PIP install -u scikit-learn
Since I installed Anaconda first, I installed version 0.17 of Scikit-Learn by default, but in IPython interactive mode type:
Error from sklearn.model_selection import KFold No module named model_selection
The diagram below:
StratifiedKfold and other classes must be import from sklearn.cross_validation. For example:
from sklearn.cross_validation import KFold
The parameters of this version of KFold etc. are different from those of 0.18. See the documentation on the website for details.
Read More:
- In machine learning, the prediction errors in sklearn, such as mean square error, etc
- Error in scikit learn installation of CONDA
- How to install scikit learn and other scientific computing libraries in Ubuntu 16.04
- Installing PyQt4 in Windows + Python 3.6
- ModuleNotFoundError: No module named ‘sklearn.datasets.samples_generator‘
- ImportError: cannot import name ‘cross_validation’ from ‘sklearn’
- Python module learning-Paramiko-Use python to throw an exception: Authentication failed.
- No module named sklearn.neighbors_ typedefs
- The solution of centos7 in VMware virtual machine unable to access after installing nginx
- Summary of Python deep learning packages
- Error in machine learning training data (FIT): valuee rror:Unknown label type:‘continuous‘
- Anaconda upgrade sklearn version
- Solution of Prophet error reporting when installing R package in Kubuntu virtual machine environment
- Error installing NX10.0 in win10. Tip: ZeroGu6: Windows DLL failed to load
- Error in installing paddlenlp on pip on Windows
- Solution to restart without showing eth0 connection after installing virtual machine
- Installing Windows Identity Foundation on Windows 8 – The Certificate for the signer of the message …
- Solve the problem of Python in Windows environment: Fatal error in launcher: Unable to create process using’”‘ in pip installation
- The function of structured shuffleplit() in SK learn realizes the division of data set
- Error during connect when installing docker in Windows 10