技术pythonPythoner集中营

为使用Scikit-learn搭建环境(window/Mac)

2015-05-31  本文已影响4145人  Jason_Yuan

安装目录###

1. python
2. Ipython
3. qtconsole
4. Numpy
5. Scipy
6. matplotlib
7. scikit-learn


1. 安装 python2.7 (or python3.4)


2. 安装 Ipython

Ipython

2.1 整体安装

2.2 独立安装

2.2.1 安装Ipython本身

2.2.2 安装基础相关包(Basic optional dependencies )

更多信息,参考Ipython官网


3. 安装 qtconsole

包含:pyzmq、pygments 和 PyQt(or PySide)

$ pip install pyzmq pygments
Shortcut:
$ pip install "ipython[qtconsole]"

PyQt/PySide不能通过pip安装


4. 安装 Numpy


5. 安装 Scipy


6. 安装 matplotlib

matplotlib

matplotlib是基于numpy的一套Python工具包,提供了丰富的数据绘图工具。

注: 使用命令pip list查看除了matplotlib你是否还安装了:
setuptools
numpy
Python-dateutil
pytz
pyparsing


7. 安装 scikit-learn

scikit-learn
  • scikit-learn是用于机器学习的Python工具包

大功告成,play with data and have fun!

上一篇 下一篇

猜你喜欢

热点阅读