scikit-learn /scikit-learn

scikit-learn: machine learning in Python

★ 68,123⑂ 27,660👁 2,123⑃ 21,776● 12,371▤ 51◈ 883
PythonBSD-3-ClauseCreated 2010-08-17scikit-learn.org
68,123
stars
+21
27,660
forks
2,123
watchers
21,776
prs
12,371
issues
51
releases
883
discussions

README

.. -- mode: rst --

|GitHubActions| |Codecov| |CircleCI| |Nightly wheels| |Ruff| |PythonVersion| |PyPI| |DOI| |Benchmark|


.. |GitHubActions| image:: https://github.com/scikit-learn/scikit-learn/actions/workflows/unit-tests.yml/badge.svg?
   :target: https://github.com/scikit-learn/scikit-learn/actions/workflows/unit-tests.yml?query=branch%3Amain

.. |CircleCI| image:: https://circleci.com/gh/scikit-learn/scikit-learn/tree/main.svg?style=shield
   :target: https://circleci.com/gh/scikit-learn/scikit-learn

.. |Codecov| image:: https://codecov.io/gh/scikit-learn/scikit-learn/branch/main/graph/badge.svg?token=Pk8G9gg3y9
   :target: https://codecov.io/gh/scikit-learn/scikit-learn

.. |Nightly wheels| image:: https://github.com/scikit-learn/scikit-learn/actions/workflows/wheels.yml/badge.svg?event=schedule
   :target: https://github.com/scikit-learn/scikit-learn/actions?query=workflow%3A%22Wheel+builder%22+event%3Aschedule

.. |Ruff| image:: https://img.shields.io/badge/code%20style-ruff-000000.svg?
   :target: https://github.com/astral-sh/ruff

.. |PythonVersion| image:: https://img.shields.io/pypi/pyversions/scikit-learn.svg?
   :target: https://pypi.org/project/scikit-learn/

.. |PyPI| image:: https://img.shields.io/pypi/v/scikit-learn
   :target: https://pypi.org/project/scikit-learn

.. |DOI| image:: https://zenodo.org/badge/DOI/10.5281/zenodo.17880109.svg?
   :target: https://zenodo.org/badge/latestdoi/21369/scikit-learn/scikit-learn

.. |Benchmark| image:: https://img.shields.io/badge/Benchmarked%20by-asv-blue
   :target: https://scikit-learn.org/scikit-learn-benchmarks

.. |PythonMinVersion| replace:: 3.12
.. |NumPyMinVersion| replace:: 1.26.0
.. |SciPyMinVersion| replace:: 1.11.4
.. |JoblibMinVersion| replace:: 1.4.0
.. |NarwhalsMinVersion| replace:: 2.0.1
.. |ThreadpoolctlMinVersion| replace:: 3.5.0
.. |MatplotlibMinVersion| replace:: 3.8.0
.. |Scikit-ImageMinVersion| replace:: 0.24.0
.. |PandasMinVersion| replace:: 2.1.3
.. |SeabornMinVersion| replace:: 0.13.0
.. |PytestMinVersion| replace:: 7.1.2
.. |PlotlyMinVersion| replace:: 5.24.0

.. image:: https://raw.githubusercontent.com/scikit-learn/scikit-learn/main/doc/logos/scikit-learn-logo.png
  :target: https://scikit-learn.org/

scikit-learn is a Python module for machine learning built on top of
SciPy and is distributed under the 3-Clause BSD license.

The project was started in 2007 by David Cournapeau as a Google Summer
of Code project, and since then many volunteers have contributed. See
the About us __ page
for a list of core contributors.

It is currently maintained by a community of contributors, with volunteers but also support from several
organisations __.

Website: https://scikit-learn.org

Installation
------------

Dependencies
~~~~~~~~~~~~

scikit-learn requires:

- Python (= |PythonMinVersion|)
- NumPy (= |NumPyMinVersion|)
- SciPy (= |SciPyMinVersion|)
- Narwhals (= |NarwhalsMinVersion|)
- joblib (= |JoblibMinVersion|)
- threadpoolctl (= |ThreadpoolctlMinVersion|)

======

Top issues

Discussions

Latest release

Scikit-learn 1.9.1 1.9.1 2026-09-11
We're happy to announce the 1.9.1 release.

This release contains a few bug fixes and is the first version supporting Python 3.15.

You can see the changelog here: https://scikit-learn.org/stable/whats_new/v1.9.htmlversion-1-9-1

You can upgrade with pip as usual:


pip install -U scikit-learn


The conda-forge builds can be installed using:


conda install -c conda-forge scikit-learn


Thanks to everyone who contributed to this release !

Snapshot: 2026-11-10T09:35:25Z · Data license Apache-2.0 · JSON