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.0

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.0
File Size Uploaded
scikit-learn-1.1.0.tar.gz 6.8 MB Details

Built distributions (wheels)

Table of built distributions (wheels) for scikit-learn 1.1.0
File
scikit_learn-1.1.0-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details
scikit_learn-1.1.0-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.0-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.0-cp310-cp310-macosx_12_0_arm64.whl CPython 3.10 CPython 3.10 macOS 12.0+ ARM64 Details
scikit_learn-1.1.0-cp310-cp310-macosx_10_13_x86_64.whl CPython 3.10 CPython 3.10 macOS 10.13+ x86-64 Details
scikit_learn-1.1.0-cp39-cp39-win_amd64.whl CPython 3.9 CPython 3.9 Windows x86-64 Details
scikit_learn-1.1.0-cp39-cp39-win32.whl CPython 3.9 CPython 3.9 Windows x86-32 Details
scikit_learn-1.1.0-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.0-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.0-cp39-cp39-macosx_12_0_arm64.whl CPython 3.9 CPython 3.9 macOS 12.0+ ARM64 Details
scikit_learn-1.1.0-cp39-cp39-macosx_10_13_x86_64.whl CPython 3.9 CPython 3.9 macOS 10.13+ x86-64 Details
scikit_learn-1.1.0-cp38-cp38-win_amd64.whl CPython 3.8 CPython 3.8 Windows x86-64 Details
scikit_learn-1.1.0-cp38-cp38-win32.whl CPython 3.8 CPython 3.8 Windows x86-32 Details
scikit_learn-1.1.0-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.0-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.0-cp38-cp38-macosx_12_0_arm64.whl CPython 3.8 CPython 3.8 macOS 12.0+ ARM64 Details
scikit_learn-1.1.0-cp38-cp38-macosx_10_13_x86_64.whl CPython 3.8 CPython 3.8 macOS 10.13+ x86-64 Details

Total release size: 273.9 MB

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

Download URL scikit-learn-1.1.0.tar.gz
Size 6.8 MB
Tags Source
SHA-256 checksum
How to use checksums
80f9904f5b1356adfc32406725dd94c8cc9c8d265047d98390033a6c238cbb29
BLAKE2b-256 checksum
How to use checksums
8b99b1ec652f2d60a13871a3053f312f9d78977be57e420f2a49d52ba503f1f4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.10

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

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

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

Download URL scikit_learn-1.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 30.7 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
068ee35f08681079a9aece49236f40837dbffebe047b0813bf71873fa976b132
BLAKE2b-256 checksum
How to use checksums
60acb9071cb5f32ed54bea2cc8a05e8dac7ab440bf2d2581f4126ba49bc725ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.10

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

Download URL scikit_learn-1.1.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 30.4 MB
Tags CPython 3.10 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
9d8e83d24df9595d4ccca961a2038e331aa7e17534af0b5b15d28e6d65723d1d
BLAKE2b-256 checksum
How to use checksums
6d7ede0a1edef5f45930431abf078ce6de11715213b9d274166c27ea6c423e3c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.10

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

Download URL scikit_learn-1.1.0-cp310-cp310-macosx_12_0_arm64.whl
Size 7.6 MB
Tags CPython 3.10 macOS 12.0+ ARM64
SHA-256 checksum
How to use checksums
892be17fc261dff4097c061880586226d47ccd0426d9283091e2ca65da36e645
BLAKE2b-256 checksum
How to use checksums
0f524127d5c413cc1b2b0847ee4f6826a93cbf7db986be00e99b3154b612c0ec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.10

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

Download URL scikit_learn-1.1.0-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
47c31f7e9a5689c3a2cbdf72e78570b33fa9abb42a1ca10d787516de9c4e37a4
BLAKE2b-256 checksum
How to use checksums
6de446446764f7702ff6a5540dc83f5ad9af6490dc4300c632f4edb2c5a1e1f8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.10

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

Download URL scikit_learn-1.1.0-cp39-cp39-win_amd64.whl
Size 7.3 MB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
1ef67ac0d44d9ecb36bc33ccc421f683aaeb42bdd72d8a97601eaded3b43f2e4
BLAKE2b-256 checksum
How to use checksums
18784bd6dd3ca2edbf97583e35adb08a84ec4d4f736b702a25cc8617f54ef970
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.10

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

Download URL scikit_learn-1.1.0-cp39-cp39-win32.whl
Size 6.6 MB
Tags CPython 3.9 Windows x86-32
SHA-256 checksum
How to use checksums
25b8d471169711dee7667969e7db3d33c372c13701cd2ab6783d0e85b2aab300
BLAKE2b-256 checksum
How to use checksums
e222ffaf71d99c72c1d2dd31354273e8f61c26b23bc48e8f359114295f00189c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.10

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

Download URL scikit_learn-1.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 30.6 MB
Tags CPython 3.9 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
2318fc717c9ff7eb3834bbb2c3be63768e97bb3221bbf70c01537e34e4fb8a1c
BLAKE2b-256 checksum
How to use checksums
cac748c6db3111714d7cbba5c5b4023228466092a43241b9419923864aa4fd62
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.10

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

Download URL scikit_learn-1.1.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 30.3 MB
Tags CPython 3.9 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
c819d2820b783f390dda2136508483d6f4302dfba98fc974ce759e55b2247d80
BLAKE2b-256 checksum
How to use checksums
f8a7d89c8e66c5abc0bddc9499c832c01093edf7983d77f1ef6a27e58c3dc4e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.10

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

Download URL scikit_learn-1.1.0-cp39-cp39-macosx_12_0_arm64.whl
Size 7.6 MB
Tags CPython 3.9 macOS 12.0+ ARM64
SHA-256 checksum
How to use checksums
05f9f004afe1b415922b2ff9453a191e3082acf1065aa0f0b238250f9e147606
BLAKE2b-256 checksum
How to use checksums
c13b6ed36cf58149e3f7139272f2c24db9322b6e43694237105103cd90cc64ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.10

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

Download URL scikit_learn-1.1.0-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
dc6681e2f99a4a5bc0682dc4e87192daeb0e9e64da36b35e672b56156e0cc867
BLAKE2b-256 checksum
How to use checksums
403c6923a05cb67a7f8118ba1521804d2fd473ed82f3df22a10dde8eaaa0bbc0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.10

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

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

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

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

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

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

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

Download URL scikit_learn-1.1.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 30.6 MB
Tags CPython 3.8 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
292525a17645bff043d33d427e93db8cec8d66b5022ead7971ce8bfdf7553feb
BLAKE2b-256 checksum
How to use checksums
0d6d85271c8bcb4e2b20213bb039a86baeffc560f2645ae7a3ae66d55bde88d3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.10

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

Download URL scikit_learn-1.1.0-cp38-cp38-macosx_12_0_arm64.whl
Size 7.5 MB
Tags CPython 3.8 macOS 12.0+ ARM64
SHA-256 checksum
How to use checksums
18aabbb26cbc1cf52583c1f1ecf6b5ff540d334f173e23122db43f97adbe0b2b
BLAKE2b-256 checksum
How to use checksums
692fab61eef4d312d9a6dee9baa527e9e67bc15b751b89dece74a95042919557
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.10

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

Download URL scikit_learn-1.1.0-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
502865e025d3222530e350783a59cc37538effde64767721d830ceaae8bb3d42
BLAKE2b-256 checksum
How to use checksums
60da5105533fc8888cabbb6351ece69487794a2c611060747e99dd9ddcef6bb6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.10

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

1.1.1

18 release files

This release

1.1.0 This release

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