Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install scikit-learn using conda

2025-03-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

This article focuses on "how to use conda to install scikit-learn", interested friends may wish to take a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn how to install scikit-learn using conda.

Installation

If you are using a version of Python released by Anaconda, you can install the scikit-learn machine learning library using the following command:

Conda install-c anaconda scikit-learn

Verification

After the installation is complete, you can use the following methods to simply verify the version. From the version information displayed, the author currently uses a version number of 0.19.1 scikit-learn:

Bj-m-211510a:tools jinguang1 $python

Python 3.6.5 | Anaconda, Inc. | (default, Apr 26 2018, 08:42:37)

[GCC 4.2.1 Compatible Clang 4.0.1 (tags/RELEASE_401/final)] on darwin

Type "help", "copyright", "credits" or "license" for more information.

> import sklearn

> sklearn.version

'0.19.1'

At this point, I believe you have a deeper understanding of "how to use conda to install scikit-learn". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report