当前位置:网站首页>Pycharm platform import scikit-learn
Pycharm platform import scikit-learn
2022-08-02 05:22:00 【CS research GO】
Hello everyone!
I'm Lu Ban·, a fat man who is keen on scientific research and soft development!
Pycharm platform import scikit-learn
Runtime
- windows 10
- Pycharm 2020.3
- python 3.9
import scikit-learn
# Open a terminal and enter the following command:# 1. Install the Numpy library: Numpy (short for Numerical Python) is an open source Python scientific computing library. pip install --index-url https://pypi.tuna.tsinghua.edu.cn/simple/ numpy# 2. Scipy library: The foundation of sklearn library, which integrates various mathematical algorithms and functions based on Numpy.pip install --index-url https://pypi.tuna.tsinghua.edu.cn/simple/ scipy# 3. matplotlib library: It is a Python toolkit based on Numpy and provides a large number of data plotting tools.pip install --index-url https://pypi.tuna.tsinghua.edu.cn/simple/ matplotlib# 4. scikit-learn is referred to as sklearn, which integrates commonly used machine learning methods. The sklearn library is developed based on Numpy, Scipy and matplotlib. Therefore, before installing sklearn, you need to install the above dependent libraries.pip install --index-url https://pypi.tuna.tsinghua.edu.cn/simple/ scikit-learn# The above lib is installed using Tsinghua mirror: http://https://pypi.tuna.tsinghua.edu.cn/simple/, this mirror can use Alibaba Cloud mirror (https://mirrors.aliyun.com/pypi/simple/) to replace.See if scikit-learn is imported
Use the shortcut keys Ctrl + Alt + Z to open the setting interface, and check the icon area, you can find that the required module has been successfully imported.
Reliable content, pay attention and don't get lost.
边栏推荐
猜你喜欢
随机推荐
MP4格式分析
windows系统下php-ffmpeg类库的使用
字典基本操作方法
使用docker-compose 安装Redis最新版,并且设置密码
跨域问题解决办法
深蓝学院-手写VIO作业-第二章
微服务入门
STM32/TMS320F2812+W5500硬软件调试总结
如何将 DevSecOps 引入企业?
TCP-IP协议整理
携手推进国产化发展,未来智安与麒麟软件完成兼容互认证
位居榜首 | 未来智安荣登CCIA「2022年中国网安产业潜力之星」榜单
SCI期刊最权威的信息查询步骤!
ICMP timestamp请求响应漏洞
ffmpeg推流USB到rtsp
科研笔记(七) 基于路径规划和WiFi指纹定位的多目的地室内导航
Plus版SBOM:流水线物料清单PBOM
未来智安创始人兼CEO唐伽佳荣膺36氪X·36Under36 “S级创业者”
树莓派4B安装OPENCV遇到ffmpeg库版本太高的问题【后续更新】
ftp服务的部署和优化









