当前位置:网站首页>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.
边栏推荐
猜你喜欢
随机推荐
设置图片纵横比
shell脚本的基础知识
5个开源组件管理小技巧
JS从扁平array转tree
《2022年中国网络安全市场全景图》
SCI期刊最权威的信息查询步骤!
JPA自定义SQL Column ××× not found.
网络 7 层架构
使用Ansible编写playbook自动化安装php7.3.14
QT中更换OPENCV版本(3->4),以及一些宏定义的改变
JS事件循环机制
STM32/TMS320F2812+W5500硬软件调试总结
Centos7下使用systemd管理redis服务启动
3D目标检测之数据集
PHP5.6安装ssh2扩展用与执行远程命令
拖动元素边缘改变宽度
SLSA 框架与软件供应链安全防护
Anconda spyder内引用OpenCV出现错误ImportError: numpy.core.multiarray failed to import
TCP-IP协议整理
MySQL读写分离mysql-proxy部署









