How to install scikit-learn using conda
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!