安装机器学习框架scikit-learn

版权声明:本文为博主原创文章,转载请注明出处 https://blog.csdn.net/vkingnew/article/details/86291976
运行环境:windows 10+python3.6
Scikit-learn requires:

Python (>= 2.7 or >= 3.4),
NumPy (>= 1.8.2),
SciPy (>= 0.13.3).

C:\Windows\System32>pip install -U scikit-learn
Collecting scikit-learn
  Downloading https://files.pythonhosted.org/packages/c1/1c/8fa5aefe23a2fc254e9faadc10a30052c63d92f05fb59127ff0e65e4171c/scikit_learn-0.20.2-cp36-cp36m-win_amd64.whl (4.8MB)
    100% |████████████████████████████████| 4.8MB 703kB/s
Requirement already satisfied, skipping upgrade: numpy>=1.8.2 in c:\dev\python36\lib\site-packages (from scikit-learn) (1.15.4)
Requirement already satisfied, skipping upgrade: scipy>=0.13.3 in c:\dev\python36\lib\site-packages (from scikit-learn) (0.19.1)
Installing collected packages: scikit-learn
Successfully installed scikit-learn-0.20.2

--安装之后查询:
C:\Windows\System32>pip list | findstr sci
scikit-learn                0.20.2
scipy                       0.19.1

C:\Windows\System32>python -V
Python 3.6.6


--安装scipy学习的全家桶:
pip install --user numpy scipy matplotlib ipython jupyter pandas sympy nose


参考:
https://scikit-learn.org/stable/install.html

猜你喜欢

转载自blog.csdn.net/vkingnew/article/details/86291976
今日推荐