Skip to main content

Azure Travis Codecov CircleCI Nightly wheels Black PythonVersion PyPi DOI Benchmark

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

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 team of volunteers.

Website: https://scikit-learn.org

Installation

Dependencies

scikit-learn requires:

  • Python (>= 3.8)

  • NumPy (>= 1.17.3)

  • SciPy (>= 1.3.2)

  • joblib (>= 1.0.0)

  • threadpoolctl (>= 2.0.0)


Scikit-learn 0.20 was the last version to support Python 2.7 and Python 3.4. scikit-learn 1.0 and later require Python 3.7 or newer. scikit-learn 1.1 and later require Python 3.8 or newer.

Scikit-learn plotting capabilities (i.e., functions start with plot_ and classes end with “Display”) require Matplotlib (>= 3.1.2). For running the examples Matplotlib >= 3.1.2 is required. A few examples require scikit-image >= 0.14.5, a few examples require pandas >= 1.0.5, some examples require seaborn >= 0.9.0.

User installation

If you already have a working installation of numpy and scipy, the easiest way to install scikit-learn is using pip:

pip install -U scikit-learn

or conda:

conda install -c conda-forge scikit-learn

The documentation includes more detailed installation instructions.

Changelog

See the changelog for a history of notable changes to scikit-learn.

Development

We welcome new contributors of all experience levels. The scikit-learn community goals are to be helpful, welcoming, and effective. The Development Guide has detailed information about contributing code, documentation, tests, and more. We’ve included some basic information in this README.

Source code

You can check the latest sources with the command:

git clone https://github.com/scikit-learn/scikit-learn.git

Contributing

To learn more about making a contribution to scikit-learn, please see our Contributing guide.

Testing

After installation, you can launch the test suite from outside the source directory (you will need to have pytest >= 5.0.1 installed):

pytest sklearn

See the web page https://scikit-learn.org/dev/developers/advanced_installation.html#testing for more information.

Random number generation can be controlled during testing by setting the SKLEARN_SEED environment variable.

Submitting a Pull Request

Before opening a Pull Request, have a look at the full Contributing page to make sure your code complies with our guidelines: https://scikit-learn.org/stable/developers/index.html

Project History

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.

The project is currently maintained by a team of volunteers.

Note: scikit-learn was previously referred to as scikits.learn.

Help and Support

Documentation

Communication

Citation

If you use scikit-learn in a scientific publication, we would appreciate citations: https://scikit-learn.org/stable/about.html#citing-scikit-learn

Metadata

Release files for scikit-learn 1.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for scikit-learn 1.1.1
File Size Uploaded
scikit-learn-1.1.1.tar.gz 6.8 MB Details

Built distributions (wheels)

Table of built distributions (wheels) for scikit-learn 1.1.1
File
scikit_learn-1.1.1-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details
scikit_learn-1.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ x86-64 Details
scikit_learn-1.1.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ ARM64 Details
scikit_learn-1.1.1-cp310-cp310-macosx_12_0_arm64.whl CPython 3.10 CPython 3.10 macOS 12.0+ ARM64 Details
scikit_learn-1.1.1-cp310-cp310-macosx_10_13_x86_64.whl CPython 3.10 CPython 3.10 macOS 10.13+ x86-64 Details
scikit_learn-1.1.1-cp39-cp39-win_amd64.whl CPython 3.9 CPython 3.9 Windows x86-64 Details
scikit_learn-1.1.1-cp39-cp39-win32.whl CPython 3.9 CPython 3.9 Windows x86-32 Details
scikit_learn-1.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.17+ x86-64 Details
scikit_learn-1.1.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.9 CPython 3.9 Linux glibc 2.17+ ARM64 Details
scikit_learn-1.1.1-cp39-cp39-macosx_12_0_arm64.whl CPython 3.9 CPython 3.9 macOS 12.0+ ARM64 Details
scikit_learn-1.1.1-cp39-cp39-macosx_10_13_x86_64.whl CPython 3.9 CPython 3.9 macOS 10.13+ x86-64 Details
scikit_learn-1.1.1-cp38-cp38-win_amd64.whl CPython 3.8 CPython 3.8 Windows x86-64 Details
scikit_learn-1.1.1-cp38-cp38-win32.whl CPython 3.8 CPython 3.8 Windows x86-32 Details
scikit_learn-1.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.8 CPython 3.8 Linux glibc 2.17+ x86-64 Details
scikit_learn-1.1.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.8 CPython 3.8 Linux glibc 2.17+ ARM64 Details
scikit_learn-1.1.1-cp38-cp38-macosx_12_0_arm64.whl CPython 3.8 CPython 3.8 macOS 12.0+ ARM64 Details
scikit_learn-1.1.1-cp38-cp38-macosx_10_13_x86_64.whl CPython 3.8 CPython 3.8 macOS 10.13+ x86-64 Details

Total release size: 274.5 MB

Release files / scikit-learn-1.1.1.tar.gz

Download URL scikit-learn-1.1.1.tar.gz
Size 6.8 MB
Tags Source
SHA-256 checksum
How to use checksums
3e77b71e8e644f86c8b5be7f1c285ef597de4c384961389ee3e9ca36c445b256
BLAKE2b-256 checksum
How to use checksums
4111e931951f048908ceaf2423db48ca6ad10e0b818c2960a3bc2dacb4fa4c1d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.8.13

Release files / scikit_learn-1.1.1-cp310-cp310-win_amd64.whl

Download URL scikit_learn-1.1.1-cp310-cp310-win_amd64.whl
Size 7.3 MB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
542ccd2592fe7ad31f5c85fed3a3deb3e252383960a85e4b49a629353fffaba4
BLAKE2b-256 checksum
How to use checksums
d33675da0dee6f69439ee49fb97ed6f9d859e8e3ba0cdc4cf12e8b411df9ccf4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.8.13

Release files / scikit_learn-1.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL scikit_learn-1.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 30.4 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
47464c110eaa9ed9d1fe108cb403510878c3d3a40f110618d2a19b2190a3e35c
BLAKE2b-256 checksum
How to use checksums
43bc7130ffd49a1cf72659c61eb94d8f037bc5502c94866f407c0219d929e758
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.8.13

Release files / scikit_learn-1.1.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL scikit_learn-1.1.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 30.0 MB
Tags CPython 3.10 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
33cf061ed0b79d647a3e4c3f6c52c412172836718a7cd4d11c1318d083300133
BLAKE2b-256 checksum
How to use checksums
79b278bd6b9705296a8030c398619c9dedaa0724199be800955a7c18a1e6a3ba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.8.13

Release files / scikit_learn-1.1.1-cp310-cp310-macosx_12_0_arm64.whl

Download URL scikit_learn-1.1.1-cp310-cp310-macosx_12_0_arm64.whl
Size 7.7 MB
Tags CPython 3.10 macOS 12.0+ ARM64
SHA-256 checksum
How to use checksums
723cdb278b1fa57a55f68945bc4e501a2f12abe82f76e8d21e1806cbdbef6fc5
BLAKE2b-256 checksum
How to use checksums
2b1b1dede48e78360ee3faa96835c9b896ef792fd8939740bae07e9db8c1bbd8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.8.13

Release files / scikit_learn-1.1.1-cp310-cp310-macosx_10_13_x86_64.whl

Download URL scikit_learn-1.1.1-cp310-cp310-macosx_10_13_x86_64.whl
Size 8.6 MB
Tags CPython 3.10 macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
102f51797cd8944bf44a038d106848ddf2804f2c1edf7aea45fba81a4fdc4d80
BLAKE2b-256 checksum
How to use checksums
371843dc30ac452e2f2a49db5b8b051d926910e09f64867ff14f4fa1d2d1377a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.8.13

Release files / scikit_learn-1.1.1-cp39-cp39-win_amd64.whl

Download URL scikit_learn-1.1.1-cp39-cp39-win_amd64.whl
Size 7.4 MB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
45c0f6ae523353f1d99b85469d746f9c497410adff5ba8b24423705b6956a86e
BLAKE2b-256 checksum
How to use checksums
9dbbfdc2d993543bbdae6edbea546fc8787359f46e2fe355a04a0a587db25124
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.8.13

Release files / scikit_learn-1.1.1-cp39-cp39-win32.whl

Download URL scikit_learn-1.1.1-cp39-cp39-win32.whl
Size 6.6 MB
Tags CPython 3.9 Windows x86-32
SHA-256 checksum
How to use checksums
22145b60fef02e597a8e7f061ebc7c51739215f11ce7fcd2ca9af22c31aa9f86
BLAKE2b-256 checksum
How to use checksums
537c78f5f8d215944b48ce3214fb67a2b7775ae0d08f71b272c4bc3969af3c53
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.8.13

Release files / scikit_learn-1.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL scikit_learn-1.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 30.8 MB
Tags CPython 3.9 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
c2dad2bfc502344b869d4a3f4aa7271b2a5f4fe41f7328f404844c51612e2c58
BLAKE2b-256 checksum
How to use checksums
62cb49d4c9d3505b0dd062f49c4f573995977876cc556c658caffcfcd9043ea8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.8.13

Release files / scikit_learn-1.1.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL scikit_learn-1.1.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 30.4 MB
Tags CPython 3.9 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
8ff56d07b9507fbe07ca0f4e5c8f3e171f74a429f998da03e308166251316b34
BLAKE2b-256 checksum
How to use checksums
21f108f5e313c028bfce28abc068ba5b6633ed95b767441b6e5271249ae65601
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.8.13

Release files / scikit_learn-1.1.1-cp39-cp39-macosx_12_0_arm64.whl

Download URL scikit_learn-1.1.1-cp39-cp39-macosx_12_0_arm64.whl
Size 7.7 MB
Tags CPython 3.9 macOS 12.0+ ARM64
SHA-256 checksum
How to use checksums
8fe80df08f5b9cee5dd008eccc672e543976198d790c07e5337f7dfb67eaac05
BLAKE2b-256 checksum
How to use checksums
646e551cc282a08755a5bce21382d196bf45205a08a44c0955875690d28acf6e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.8.13

Release files / scikit_learn-1.1.1-cp39-cp39-macosx_10_13_x86_64.whl

Download URL scikit_learn-1.1.1-cp39-cp39-macosx_10_13_x86_64.whl
Size 8.6 MB
Tags CPython 3.9 macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
0403ad13f283e27d43b0ad875f187ec7f5d964903d92d1ed06c51439560ecea0
BLAKE2b-256 checksum
How to use checksums
553c9d86c9d7c1454857bf9141ed23ddf48d40a7398c6dbf17bd7f8eb5025b93
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.8.13

Release files / scikit_learn-1.1.1-cp38-cp38-win_amd64.whl

Download URL scikit_learn-1.1.1-cp38-cp38-win_amd64.whl
Size 7.3 MB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
f2d5b5d6e87d482e17696a7bfa03fe9515fdfe27e462a4ad37f3d7774a5e2fd6
BLAKE2b-256 checksum
How to use checksums
409073b54af0f59f813753b4f8305439476a77d73df2d1807a6f26d6da0d2cbc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.8.13

Release files / scikit_learn-1.1.1-cp38-cp38-win32.whl

Download URL scikit_learn-1.1.1-cp38-cp38-win32.whl
Size 6.6 MB
Tags CPython 3.8 Windows x86-32
SHA-256 checksum
How to use checksums
e9d228ced1214d67904f26fb820c8abbea12b2889cd4aa8cda20a4ca0ed781c1
BLAKE2b-256 checksum
How to use checksums
7a3a9bcb85c2cb8a7676fcdfeabf63614ababc088917660c47d8e33bce22cb41
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.8.13

Release files / scikit_learn-1.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL scikit_learn-1.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 31.2 MB
Tags CPython 3.8 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
b928869072366dc138762fe0929e7dc88413f8a469aebc6a64adc10a9226180c
BLAKE2b-256 checksum
How to use checksums
727dcbcad2588a4baf1661e43005a9c35a955ab38e247a943715d90a7c96e6b3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.8.13

Release files / scikit_learn-1.1.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL scikit_learn-1.1.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 30.8 MB
Tags CPython 3.8 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
e851f8874398dcd50d1e174e810e9331563d189356e945b3271c0e19ee6f4d6f
BLAKE2b-256 checksum
How to use checksums
58be06987c1268a5c6beea0fea7b3c25eb52839fa23693ab2f92b80721d78554
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.8.13

Release files / scikit_learn-1.1.1-cp38-cp38-macosx_12_0_arm64.whl

Download URL scikit_learn-1.1.1-cp38-cp38-macosx_12_0_arm64.whl
Size 7.6 MB
Tags CPython 3.8 macOS 12.0+ ARM64
SHA-256 checksum
How to use checksums
b2db720e13e697d912a87c1a51194e6fb085dc6d8323caa5ca51369ca6948f78
BLAKE2b-256 checksum
How to use checksums
0fae9d01b5419ae47a429215ff1135118503ae3d119e14b73ae7596ddc1cdf03
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.8.13

Release files / scikit_learn-1.1.1-cp38-cp38-macosx_10_13_x86_64.whl

Download URL scikit_learn-1.1.1-cp38-cp38-macosx_10_13_x86_64.whl
Size 8.5 MB
Tags CPython 3.8 macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
3be10d8d325821ca366d4fe7083d87c40768f842f54371a9c908d97c45da16fc
BLAKE2b-256 checksum
How to use checksums
dac9bb0a0ba39f66f90dd99bf8f32ee3fc0597d57e2a6cfbc4ec7c627ba7ec0a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.8.13

Release history Release notifications | RSS feed

1.9.1

43 release files

1.8.0

37 release files

1.7.1

26 release files

1.6.1

30 release files

1.5.2

26 release files

1.5.0

21 release files

1.4.0

41 release files

1.3.2

26 release files

1.3.1

26 release files

1.3.0

21 release files

1.2.1

21 release files

1.1.3

21 release files

This release

1.1.1 This release

18 release files

1.1.0

18 release files

1.0.2

32 release files

1.0.1

25 release files

1.0

25 release files

0.22

21 release files

0.18

20 release files

0.17

17 release files

0.14

1 release file

0.13.1

3 release files

0.13

3 release files

0.12

3 release files

0.11

3 release files

0.10

3 release files

0.9

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page