当前位置:网站首页>全网最简约的sklearn环境配置教程(百分百成功)
全网最简约的sklearn环境配置教程(百分百成功)
2022-07-25 08:49:00 【舞雩.】
全网最简约的sklearn环境配置教程(百分百成功)
1、使用requirements.txt的方式一次性安装所有包:
2、 打开Anaconda Prompt(anaconda3)并且创建虚拟环境。
3、激活新创建的sklearn虚拟环境(我这里用的名称是ml)
环境内容:
Pyhon版本:3.7.1
scikit_learn==0.20.0
graphviz==0.8.4
numpy==1.15.3
pandas==0.23.4
matplotlib==3.0.1
scipy==1.1.0如果还有没有安装Anaconda与Python3.7的 小伙伴可以参考我这篇倾力之作哦(至于那雷同的名字请忽视掉):全网最简约的Anaconda+Python3.7安装教程Win10(百分百成功)_舞雩.的博客-CSDN博客_anaconda安装python3.7
环境配置:
1、使用requirements.txt的方式一次性安装所有包:
创建一个文件requirements.txt把环境内容的文本copy到文件中。
如图:
2、 打开Anaconda Prompt(anaconda3)并且创建虚拟环境。
虚拟环境的名字可以使用机器学习的缩写"ML",当然也可以用其他名字比如"sklearn"?
创建虚拟环境的命令如下:
conda create -n ml python=3.7 -y
3、激活新创建的sklearn虚拟环境(我这里用的名称是ml)
输入命令:
activate ml如图:
4、安装所需库
输入命令:(其中requirements.txt可以直接拖入终端命令窗口自动获取绝对路径,记得-r之后加个空格哦!)
pip install -r C:\Users\86137\Desktop\requirements.txt -i https://pypi.mirrors.ustc.edu.cn/simple/
Looking in indexes: https://pypi.mirrors.ustc.edu.cn/simple/如图:

下载Jupyter:
1、打开Anaconda Navigator
Anaconda Navigator就是下面这个家伙!

2、 选择刚刚创建的ml虚拟环境

3、下载jupyter

4、使用jupyter
点击那个新添加的可爱鬼!

5、接下里就会自动进入jupyter界面。
本文章只涉及了配置环境。
尾声:
最后,如果觉得文章有帮助的话,麻烦三连,谢谢!最后,如果觉得文章有帮助的话,麻烦三连,谢谢!最后,如果觉得文章有帮助的话,麻烦三连,谢谢!
边栏推荐
- 智能运维场景解析:如何通过异常检测发现业务系统状态异常
- Yolov5 environment configuration
- Graduation project of wechat small program ordering system of small program completion works (4) opening report
- Record the process of two multi terminal troubleshooting
- Idea reads configuration files such as validationmessages.properties Chinese garbled
- Centernet network structure construction
- Nuscenes dataset 3D mot demo, end-to-end target detection and tracking, joint detection and tracking framework
- 阿里云服务的网络解决方案
- ip命令使用详解
- 25 Ph.D. degrees revoked
猜你喜欢

serialization and deserialization

IDEA下依赖冲突解决方法

CIR industrial automation radar

js小游戏源码魔塔闯关下载

本周大新闻|FCC曝光Pico 4 VR一体机,雷朋母公司建立智能眼镜实验室

51单片机外设篇:电机

游戏外挂怎么做?

How to connect tdengine with idea database tool?

This week's big news | FCC exposed Pico 4 VR all-in-one machine, and leipeng's parent company established a smart glasses laboratory

NVIDIA可编程推理加速器TensorRT学习笔记(二)——实操
随机推荐
附加:中半部分sql语句 区/县(数据表)
FreeMaker模板引擎
阿里云服务的网络解决方案
LabVIEW experiment - temperature detection system (experimental learning version)
@Autowired注解的原理
Unity HTC vive use
NVIDIA可编程推理加速器TensorRT学习笔记(二)——实操
When testing VPN, the IP found by the command line is inconsistent with that of Baidu search
@Principle of Autowired annotation
游戏外挂怎么做?
Data warehouse ODS, DWD floor, 220616, HM,
聊下自己转型测试开发的历程
Django4.0 + web + MySQL 5.7 realize simple login operation
Graduation project of wechat small program ordering system of small program completion works (4) opening report
Wechat reservation applet graduation project (7) mid term inspection report of applet completion works
Wechat reservation applet graduation design of applet completion works (3) background function
Additional: SQL statement area / county in the lower half (data table)
CIR industrial automation radar
BGP border gateway protocol basic knowledge points
Unity client reading text configuration