scikit-learn: Use conda to install scikit-learn

installation

If you are using the Python version released by Anaconda, you can use the following command to install the scikit-learn machine learning library:

conda install -c anaconda scikit-learn

verification

After the installation is complete, you can use the following methods to perform simple verification of the version. From the displayed version information, the author currently uses scikit-learn with a version number of 0.19.1:

bj-m-211510a:tools jinguang1$ python
Python 3.6.5 |Anaconda, Inc.| (default, Apr 26 2018, 08:42:37)
[GCC 4.2.1 Compatible Clang 4.0.1 (tags/RELEASE_401/final)] on darwin
Type “help”, “copyright”, “credits” or “license” for more information.
>>> import sklearn
>>> sklearn.version
‘0.19.1’

 

 

 

Undertake programming in Matlab, Python and C++, machine learning, computer vision theory implementation and guidance, both undergraduate and master's degree, salted fish trading, professional answers please go to know, please contact QQ number 757160542 for details, if you are the one.

 

 

Guess you like

Origin blog.csdn.net/weixin_36670529/article/details/113903705
Recommended