Tutorial
Scikit Learn
💡
Click here if you would like to modify or contribute
GitHub

Scikit Install

Message from the Writer

Author

Here you will learn about Python Scikit learn For ML and Data Science.

Are you exited to learn about the Scikit learn?

What is Scikit learn?

Scikit learn is a free machine learning library for the Python programming language. It features various classification, regression and clustering algorithms including support vector machines, random forests, gradient boosting, k-means and DBSCAN, and is designed to interoperate with the Python numerical and scientific libraries NumPy and SciPy.

💡

Scikit-learn was initially developed by David Cournapeau as a Google summer of code project in 2007. Now it is open source and maintained by a team of developers.

Installation

1. Open your terminal and type the following command to install scikit-learn.

pip
terminal
pip install -U scikit-learn
conda
terminal
conda create -n sklearn-env -c conda-forge scikit-learn
conda activate sklearn-env

2. In order to check your installation you can use

pip
terminal
python -m pip show scikit-learn  # to see which version and where scikit-learn is installed
python -m pip freeze  # to see all packages installed in the active virtualenv
python -c "import sklearn; sklearn.show_versions()"
conda
terminal
conda list scikit-learn  # to see which scikit-learn version is installed
conda list  # to see all packages installed in the active conda environment
python -c "import sklearn; sklearn.show_versions()"

For more information on how to install scikit-learn, see the installation guide (opens in a new tab).