Simple and efficient tools for predictive data analysis
open sourceBSD-3-Clausefree
scikit-learn is the standard Python library for classical machine learning, built on NumPy, SciPy and matplotlib. It covers classification, regression and clustering (gradient boosting, random forests, nearest neighbours, logistic and ridge regression, k-means, HDBSCAN and more), dimensionality reduction such as PCA and feature selection, model selection with grid search, cross-validation and metrics, and preprocessing and feature extraction, all behind one consistent fit/predict API that can be chained into pipelines. It was started in 2007 by David Cournapeau as a Google Summer of Code project and is maintained by a community of volunteers and supporting organizations, under the BSD-3-Clause licence.
Problems it solves
- train a classification or regression model on tabular data in Python
- cluster my customers or data points into groups
- tune and cross-validate a machine learning model
Features
- classification, regression and clustering algorithms
- dimensionality reduction and feature selection
- grid search, cross-validation and metrics for model selection
- preprocessing and feature extraction
- pipelines that chain transformers and estimators
Limitations
- Needs Python 3.12 or later, NumPy 1.26 and SciPy 1.11.4 or later1
Alternatives
The same job
These do what scikit-learn does.
- statsmodels Statistical modeling, hypothesis tests and econometrics in Python
