How to install sklearn in Python
Scikit-learn is a free machine learning library for Python. It is built on SciPy. It features various algorithms like support vector machine, random forests, and k-neighbours. It also supports Python numerical and scientific libraries like NumPy and SciPy.
This article covers the steps for installing sklearn.
- Python (>= 3.6)
- NumPy (>= 1.13.3)
- SciPy (>= 0.19.1)
- joblib (>= 0.11)
- threadpoolctl (>= 2.0.0)
First, make sure that you have Python installed in your System.
pip install -U scikit-learn
In order to check your installation, you can use the below command. This will give the version of scikit-learn and also where it is installed.
python -m pip show scikit-learn
Please login to comment
View all comments