当前位置:网站首页>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.
边栏推荐
猜你喜欢
随机推荐
PHP实现阿里云HMAC-SHA1签名方法封装
[Win11] PowerShell无法激活Conda虚拟环境
ICMP timestamp请求响应漏洞
Centos7下使用systemd管理redis服务启动
Autowired注解与Resource注解的区别
4个不可不知的“安全左移”的理由
网络安全nvr,用于对接电网B接口(国网B接口)视频监控系统B接口
matlab作图显示中文正常,保存图片中文乱码
5个开源组件管理小技巧
Nest.js框架项目初始化实践
WIN10什么都没开内存占用率过高, WIN7单网卡设置双IP
基于sysbench工具的压力测试---MyCat2.0+MySql架构
MySQL8.0与MySQL5.7区别
JVM机制
未来智安入围《2022年中国数字安全百强报告》,威胁检测与响应领域唯一XDR厂商
企业需要知道的5个 IAM 最佳实践
Scalar value for argument ‘color‘ is not numeric错误处理
LVS+Keepalived实现高可用的负载均衡
flask简单接口实现
科研笔记(八) 深度学习及其在 WiFi 人体感知中的应用(上)










