当前位置:网站首页>The simplest sklearn environment configuration tutorial in the whole network (100% success)
The simplest sklearn environment configuration tutorial in the whole network (100% success)
2022-07-25 08:53:00 【Dance rain】
The simplest in the whole network sklearn Environment configuration tutorial ( 100% success )
1、 Use requirements.txt Install all packages at one time :
2、 open Anaconda Prompt(anaconda3) And create a virtual environment .
3、 Activate the newly created sklearn A virtual environment ( The name I use here is ml)
4、 Install the required libraries
2、 Choose the ml A virtual environment
5、 Next, Li will automatically enter jupyter Interface .
Environmental content :
Pyhon edition :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 If not installed Anaconda And Python3.7 Of Little buddy, you can refer to my best work ( As for the same name, please ignore ): The simplest in the whole network Anaconda+Python3.7 Installation tutorial Win10( 100% success )_ Dance rain . The blog of -CSDN Blog _anaconda install python3.7
Environment configuration :
1、 Use requirements.txt Install all packages at one time :
Create a file requirements.txt Put the text of the environment content copy To a file .
Pictured :
2、 open Anaconda Prompt(anaconda3) And create a virtual environment .
The name of virtual environment can use the abbreviation of machine learning "ML", Of course, you can also use other names, such as "sklearn"?
The command to create a virtual environment is as follows :
conda create -n ml python=3.7 -y
3、 Activate the newly created sklearn A virtual environment ( The name I use here is ml)
Enter the command :
activate ml Pictured :
4、 Install the required libraries
Enter the command :( among requirements.txt You can directly drag it into the terminal command window to automatically obtain the absolute path , Remember -r Then add a space !)
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/Pictured :

download Jupyter:
1、 open Anaconda Navigator
Anaconda Navigator That's the guy down there !

2、 Choose the ml A virtual environment

3、 download jupyter

4、 Use jupyter
Click on the newly added cute ghost !

5、 Next, Li will automatically enter jupyter Interface .
This article only covers the configuration environment .
The end of the :
Last , If you think the article is helpful , Trouble three times , thank you ! Last , If you think the article is helpful , Trouble three times , thank you ! Last , If you think the article is helpful , Trouble three times , thank you !
边栏推荐
- Wechat reservation of small program completion works (5) assignment book of small program graduation project
- Additional: SQL statement area / county in the lower half (data table)
- flink sql怎么持久化?
- 51单片机外设篇:电机
- Django4.0 + Web + MySQL5.7 实现简单登录操作
- @The difference and use of value and configurationproperties
- 本周大新闻|FCC曝光Pico 4 VR一体机,雷朋母公司建立智能眼镜实验室
- Rich text style word image processing
- Redis learning notes
- Tips for improving code sustainability, take connectto method as an example.
猜你喜欢
![[ten thousand words long text] Based on LSM tree thought Net 6.0 C # realize kV database (case version)](/img/07/235785b7658b5ae022dfa3f53ec86d.png)
[ten thousand words long text] Based on LSM tree thought Net 6.0 C # realize kV database (case version)

Oracle10g单实例数据库升级到哪个版本好,求建议

Table table expansion internal row switching effect

51单片机内部外设:定时器和计数器

The fifth day of MATLAB learning (cycle type)

Wechat applet ordering system graduation design of applet completion works (8) graduation design thesis template

Phpexcel reports an error: err_ INVALID_ RESPONSE

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

Canvas dynamic picture avatar shaking JS special effect
![[Sesame Street family] & Bert Bart Roberta](/img/ff/c685065cd413bd4cffd996fd9afeaa.png)
[Sesame Street family] & Bert Bart Roberta
随机推荐
A page widgetization practice
51 MCU internal peripherals: timer and counter
Robot jumping problem
Wechat applet ordering system graduation design of applet completion works (8) graduation design thesis template
Overview of redis/mysql knowledge
uni-app
防抖与节流
How does Flink SQL persist?
uniapp中scroll-view的坑
Huawei device remote login (Telnet, SSH) configuration
Read and write models and organize notes
Swift初始化器及可选链
Dependency conflict resolution under idea
Solutions to ten questions of leetcode database
Graduation project of wechat small program ordering system of small program completion works (4) opening report
游戏外挂怎么做?
canvas动态图片头像晃动js特效
Django4.0 + web + MySQL 5.7 realize simple login operation
Memcached data cache database (improve efficiency)
flink sql怎么持久化?