Python下的机器学习工具scikit-learn(学习笔记1--安装)

来源:互联网 发布:有棵树公司怎么样 知乎 编辑:程序博客网 时间:2024/05/21 15:14

软件工具包获取方式:

       scikit-learn的官方网站:http://scikit-learn.org (可能需要科学上网)

       github网址:https://github.com/scikit-learn/scikit-learn

scikit-learn需要依赖:Python (>= 2.6), NumPy (>= 1.3), SciPy (>= 0.7), setuptools, Python development headers and a working C++ compiler

Ubuntu系统:

sudo apt-get install build-essential python-dev python-numpy python-setuptools python-scipy libatlas-dev
如需跑示例程序则需要安装matplotlib进行画图之类的:

sudo apt-get install python-matplotlib
如果系统有安装 pip 或者easy_install,则可以进行如下快捷安装:

pip install -U scikit-learn
或者

easy_install -U scikit-learn

更多安装请参见官网:http://scikit-learn.org/stable/install.html

原创粉丝点击