当前位置:网站首页>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.
边栏推荐
猜你喜欢
随机推荐
可视水印的实现——1使用加法实现(add,+)
JS从扁平array转tree
JS事件循环机制
js平层数组转树形结构(解决数据处理后源数据篡改)
arr的扩展方法、数组的遍历及其他方法
普氏分析法-MATLAB工具箱函数
LVS+Keepalived实现高可用的负载均衡
MySQL8.0与MySQL5.7区别
jni中jstring与char*互转
4个不可不知的“安全左移”的理由
5个开源组件管理小技巧
samba,nfs,iscsi网络文件系统
怎样写测试用例?
flv文件结构解析
Scalar value for argument ‘color‘ is not numeric错误处理
Go的安装使用(一)
Plus版SBOM:流水线物料清单PBOM
七分钟深入理解——卷积神经网络(CNN)
windows系统下php-ffmpeg类库的使用
JVM机制










