当前位置:网站首页>全网最简约的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界面。
本文章只涉及了配置环境。
尾声:
最后,如果觉得文章有帮助的话,麻烦三连,谢谢!最后,如果觉得文章有帮助的话,麻烦三连,谢谢!最后,如果觉得文章有帮助的话,麻烦三连,谢谢!
边栏推荐
- 阿里云服务的网络解决方案
- OpenGL es to achieve the effect of "big head, small head" and "head shaking"
- 25位撤销博士学位
- Fundamentals of C language
- Redis learning notes
- @The difference and use of value and configurationproperties
- Graduation project of wechat small program ordering system of small program completion works (4) opening report
- Wechat sports ground reservation applet graduation design of applet completion works (3) background function
- CIR industrial automation radar
- efcore在Saas系统下多租户零脚本分表分库读写分离解决方案
猜你喜欢

Talk about your transformation test development process

Wechat reservation applet graduation project (7) mid term inspection report of applet completion works

记录两次多端排查问题的过程

How to choose a low code software development platform?
![[Sesame Street family] & Bert Bart Roberta](/img/ff/c685065cd413bd4cffd996fd9afeaa.png)
[Sesame Street family] & Bert Bart Roberta

Swift初始化器及可选链

This is the worst controller layer code I've ever seen

51 single chip microcomputer key control LED light status

@Implementation principle of Autowired annotation

Network solutions for Alibaba cloud services
随机推荐
Centernet network structure construction
【芝麻街一家】& Bert Bart RoBERTa
[hero planet July training leetcode problem solving daily] 19th binary tree
51 MCU peripherals: Motor
这是我见过写得最烂的Controller层代码...
Overview of redis/mysql knowledge
公寓报修系统(IDEA,SSM,MySQL)
Graduation project of wechat small program ordering system of small program completion works (4) opening report
【无标题】
25 Ph.D. degrees revoked
Freemaker template engine
提高代码可续性的小技巧,以connectTo方法为例。
SSM+JSP+MYSQL实现的宠物领养收养管理系统源码
Idea reads configuration files such as validationmessages.properties Chinese garbled
Intelligent operation and maintenance scenario analysis: how to detect abnormal business system status through exception detection
@Autowired的使用
Foundation 32: page element positioning method XPath --- axis positioning method
Yolov5 environment configuration
Wechat reservation applet graduation design of applet completion works (3) background function
[Development Tutorial 9] crazy shell · open source Bluetooth smart health watch - storage