scikit-learn学习

简介: scikit-learn学习

安装 scikit-learn


scikit-learn scikit-learn安装官方主页](scikit-learn.org/stable/inst…


1.pip包安装


  • 最简单的办法是pip包
pip install scikit-learn


2.依赖安装


```
#pip install numpy
#pip install scipy 
```


3.Matplotlib安装


```
#pip install libpng-dev libjpeg8-dev libfreetype6-dev
#pip install matplotlib
```


4.IPython安装


```
#pip install ipython
#pip install tornado
#pip install pyzmq
```


5.检查您的安装


要检查是否已准备好运行,只需打开 Python(或可能更好的 IPython)控制台并输入以下内容:

>>> import sklearn as sk
>>> import numpy as np
>>> import matplotlib.pyplot as plt


目录
相关文章
|
2天前
|
Python
【Python21天学习挑战赛】- 错误和异常
【Python21天学习挑战赛】- 错误和异常
|
2天前
|
容器
【Python21天学习挑战赛】-迭代器 & f-格式化 & 模块
【Python21天学习挑战赛】-迭代器 & f-格式化 & 模块
|
2天前
|
Python
【Python21天学习挑战赛】- 函数进阶
【Python21天学习挑战赛】- 函数进阶
|
2天前
【Python21天学习挑战赛】文件读写操作
【Python21天学习挑战赛】文件读写操作
|
2天前
|
索引 Python
【Python21天学习挑战赛】集合 & 数据类型补充
【Python21天学习挑战赛】集合 & 数据类型补充
|
2天前
|
存储 缓存 Python
【Python21天学习挑战赛】字典 && 小数据池
【Python21天学习挑战赛】字典 && 小数据池
|
2天前
|
存储 索引 Python
【Python21天学习挑战赛】-列表 & 元组 & range
【Python21天学习挑战赛】-列表 & 元组 & range
|
2天前
|
Python
【Python21天学习挑战赛】-入门必备
【Python21天学习挑战赛】-入门必备
|
2天前
|
关系型数据库 MySQL C语言
【Python21天学习挑战赛】—Day1:学习规划,我与python的相遇
【Python21天学习挑战赛】—Day1:学习规划,我与python的相遇
|
6天前
|
运维 Shell Python
Shell和Python学习教程总结
Shell和Python学习教程总结