Skip to main content

Azure CirrusCI 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.9)

  • NumPy (>= 1.19.5)

  • SciPy (>= 1.6.0)

  • joblib (>= 1.2.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.3.4). For running the examples Matplotlib >= 3.3.4 is required. A few examples require scikit-image >= 0.17.2, a few examples require pandas >= 1.1.5, some examples require seaborn >= 0.9.0 and plotly >= 5.14.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 >= 7.1.2 installed):

pytest sklearn

See the web page https://scikit-learn.org/dev/developers/contributing.html#testing-and-improving-test-coverage 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

Release files for scikit-learn 1.4.1.post1

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.4.1.post1
File Size Uploaded
scikit-learn-1.4.1.post1.tar.gz 7.7 MB Details

Built distributions (wheels)

Table of built distributions (wheels) for scikit-learn 1.4.1.post1
File
scikit_learn-1.4.1.post1-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
scikit_learn-1.4.1.post1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ x86-64 Details
scikit_learn-1.4.1.post1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ ARM64 Details
scikit_learn-1.4.1.post1-cp312-cp312-macosx_12_0_arm64.whl CPython 3.12 CPython 3.12 macOS 12.0+ ARM64 Details
scikit_learn-1.4.1.post1-cp312-cp312-macosx_10_9_x86_64.whl CPython 3.12 CPython 3.12 macOS 10.9+ x86-64 Details
scikit_learn-1.4.1.post1-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
scikit_learn-1.4.1.post1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ x86-64 Details
scikit_learn-1.4.1.post1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ ARM64 Details
scikit_learn-1.4.1.post1-cp311-cp311-macosx_12_0_arm64.whl CPython 3.11 CPython 3.11 macOS 12.0+ ARM64 Details
scikit_learn-1.4.1.post1-cp311-cp311-macosx_10_9_x86_64.whl CPython 3.11 CPython 3.11 macOS 10.9+ x86-64 Details
scikit_learn-1.4.1.post1-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details
scikit_learn-1.4.1.post1-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.4.1.post1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ ARM64 Details
scikit_learn-1.4.1.post1-cp310-cp310-macosx_12_0_arm64.whl CPython 3.10 CPython 3.10 macOS 12.0+ ARM64 Details
scikit_learn-1.4.1.post1-cp310-cp310-macosx_10_9_x86_64.whl CPython 3.10 CPython 3.10 macOS 10.9+ x86-64 Details
scikit_learn-1.4.1.post1-cp39-cp39-win_amd64.whl CPython 3.9 CPython 3.9 Windows x86-64 Details
scikit_learn-1.4.1.post1-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.4.1.post1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.9 CPython 3.9 Linux glibc 2.17+ ARM64 Details
scikit_learn-1.4.1.post1-cp39-cp39-macosx_12_0_arm64.whl CPython 3.9 CPython 3.9 macOS 12.0+ ARM64 Details
scikit_learn-1.4.1.post1-cp39-cp39-macosx_10_9_x86_64.whl CPython 3.9 CPython 3.9 macOS 10.9+ x86-64 Details

Total release size: 233.1 MB

Release files / scikit-learn-1.4.1.post1.tar.gz

Download URL scikit-learn-1.4.1.post1.tar.gz
Size 7.7 MB
Tags Source
SHA-256 checksum
How to use checksums
93d3d496ff1965470f9977d05e5ec3376fb1e63b10e4fda5e39d23c2d8969a30
BLAKE2b-256 checksum
How to use checksums
dab45d7b9f64d2c3795ac37da3d8bc303be7950e575ec21ac7d0eb9de34fe0d5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.1 CPython/3.11.8

Release files / scikit_learn-1.4.1.post1-cp312-cp312-win_amd64.whl

Download URL scikit_learn-1.4.1.post1-cp312-cp312-win_amd64.whl
Size 10.6 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
1d491ef66e37f4e812db7e6c8286520c2c3fc61b34bf5e59b67b4ce528de93af
BLAKE2b-256 checksum
How to use checksums
76d802fa68de37f657e6bb241e6f9ec6240bafa43222d3ef836a248145d9548f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.1 CPython/3.11.8

Release files / scikit_learn-1.4.1.post1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL scikit_learn-1.4.1.post1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 12.2 MB
Tags CPython 3.12 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
1754b0c2409d6ed5a3380512d0adcf182a01363c669033a2b55cca429ed86a81
BLAKE2b-256 checksum
How to use checksums
cb7a7a0ac495181f4d27b06fe37c211950a8037f276691cc3e68b9cc25727a44
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.1 CPython/3.11.8

Release files / scikit_learn-1.4.1.post1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL scikit_learn-1.4.1.post1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 11.5 MB
Tags CPython 3.12 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
712c1c69c45b58ef21635360b3d0a680ff7d83ac95b6f9b82cf9294070cda710
BLAKE2b-256 checksum
How to use checksums
83b43e67efb25b23b9404c5955f7aeebbdcbe180eefb17e9cd7fcee03b97efb7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.1 CPython/3.11.8

Release files / scikit_learn-1.4.1.post1-cp312-cp312-macosx_12_0_arm64.whl

Download URL scikit_learn-1.4.1.post1-cp312-cp312-macosx_12_0_arm64.whl
Size 10.5 MB
Tags CPython 3.12 macOS 12.0+ ARM64
SHA-256 checksum
How to use checksums
0df87de9ce1c0140f2818beef310fb2e2afdc1e66fc9ad587965577f17733649
BLAKE2b-256 checksum
How to use checksums
02f05774b6bd9577ce7f0f67bbdd9f0fd6fbe42a0278b0befba9c467339c95ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.1 CPython/3.11.8

Release files / scikit_learn-1.4.1.post1-cp312-cp312-macosx_10_9_x86_64.whl

Download URL scikit_learn-1.4.1.post1-cp312-cp312-macosx_10_9_x86_64.whl
Size 11.6 MB
Tags CPython 3.12 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
a1e289f33f613cefe6707dead50db31930530dc386b6ccff176c786335a7b01c
BLAKE2b-256 checksum
How to use checksums
cff24dd5af4ec1e8f1b19236b0caeb79ac0f0861d3b67350a92ec898f23267ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.1 CPython/3.11.8

Release files / scikit_learn-1.4.1.post1-cp311-cp311-win_amd64.whl

Download URL scikit_learn-1.4.1.post1-cp311-cp311-win_amd64.whl
Size 10.6 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
78cd27b4669513b50db4f683ef41ea35b5dddc797bd2bbd990d49897fd1c8a46
BLAKE2b-256 checksum
How to use checksums
7b0e25d6b5678ed3c7e12bc94d047d0e9492e89cc78b7ea0034ac0f1cf2ff304
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.1 CPython/3.11.8

Release files / scikit_learn-1.4.1.post1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL scikit_learn-1.4.1.post1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 12.1 MB
Tags CPython 3.11 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
4ba516fcdc73d60e7f48cbb0bccb9acbdb21807de3651531208aac73c758e3ab
BLAKE2b-256 checksum
How to use checksums
b2083696c9426c65e8a27831c7270d8df0facc023b65aee318f18cf9dacf10f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.1 CPython/3.11.8

Release files / scikit_learn-1.4.1.post1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL scikit_learn-1.4.1.post1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 11.5 MB
Tags CPython 3.11 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
ce03506ccf5f96b7e9030fea7eb148999b254c44c10182ac55857bc9b5d4815f
BLAKE2b-256 checksum
How to use checksums
7285a2e3905352a03f6a962e944cbfbd5044a4734ed9aaab94b4b13163352d61
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.1 CPython/3.11.8

Release files / scikit_learn-1.4.1.post1-cp311-cp311-macosx_12_0_arm64.whl

Download URL scikit_learn-1.4.1.post1-cp311-cp311-macosx_12_0_arm64.whl
Size 10.4 MB
Tags CPython 3.11 macOS 12.0+ ARM64
SHA-256 checksum
How to use checksums
1afed6951bc9d2053c6ee9a518a466cbc9b07c6a3f9d43bfe734192b6125d508
BLAKE2b-256 checksum
How to use checksums
18ff919087b9aa5318c3992def31b74e019eee39c57ff6bf140289041df3db86
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.1 CPython/3.11.8

Release files / scikit_learn-1.4.1.post1-cp311-cp311-macosx_10_9_x86_64.whl

Download URL scikit_learn-1.4.1.post1-cp311-cp311-macosx_10_9_x86_64.whl
Size 11.6 MB
Tags CPython 3.11 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
6145dfd9605b0b50ae72cdf72b61a2acd87501369a763b0d73d004710ebb76b5
BLAKE2b-256 checksum
How to use checksums
ce415d882544fddba1ae476c240cdf4499743ea84bfeb54456d472966dc86355
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.1 CPython/3.11.8

Release files / scikit_learn-1.4.1.post1-cp310-cp310-win_amd64.whl

Download URL scikit_learn-1.4.1.post1-cp310-cp310-win_amd64.whl
Size 10.6 MB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
629e09f772ad42f657ca60a1a52342eef786218dd20cf1369a3b8d085e55ef8f
BLAKE2b-256 checksum
How to use checksums
5d856dff36f75ed9707f65fbd15832d599e2ebec6962d2e52fbbfba22c2df088
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.1 CPython/3.11.8

Release files / scikit_learn-1.4.1.post1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL scikit_learn-1.4.1.post1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 12.1 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
c02e27d65b0c7dc32f2c5eb601aaf5530b7a02bfbe92438188624524878336f2
BLAKE2b-256 checksum
How to use checksums
bcb96a637668d69de04b7f8b917e837aff282950601f09998a5f6c9f23f6642d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.1 CPython/3.11.8

Release files / scikit_learn-1.4.1.post1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL scikit_learn-1.4.1.post1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 11.5 MB
Tags CPython 3.10 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
9f43dd527dabff5521af2786a2f8de5ba381e182ec7292663508901cf6ceaf6e
BLAKE2b-256 checksum
How to use checksums
cd6d9cb35185a3064776619bc9a41a770bfb7775606463160448b065adeab8bc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.1 CPython/3.11.8

Release files / scikit_learn-1.4.1.post1-cp310-cp310-macosx_12_0_arm64.whl

Download URL scikit_learn-1.4.1.post1-cp310-cp310-macosx_12_0_arm64.whl
Size 10.4 MB
Tags CPython 3.10 macOS 12.0+ ARM64
SHA-256 checksum
How to use checksums
4310bff71aa98b45b46cd26fa641309deb73a5d1c0461d181587ad4f30ea3c36
BLAKE2b-256 checksum
How to use checksums
a553c7b76a9aa241536635037a7956be36a0c2718262c234085815e8000e9ec6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.1 CPython/3.11.8

Release files / scikit_learn-1.4.1.post1-cp310-cp310-macosx_10_9_x86_64.whl

Download URL scikit_learn-1.4.1.post1-cp310-cp310-macosx_10_9_x86_64.whl
Size 11.6 MB
Tags CPython 3.10 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
c540aaf44729ab5cd4bd5e394f2b375e65ceaea9cdd8c195788e70433d91bbc5
BLAKE2b-256 checksum
How to use checksums
94d9b15f66bcbdd2fb2c41806d9e8f53ee6f0c88c5cc2703f6e3b420dd207620
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.1 CPython/3.11.8

Release files / scikit_learn-1.4.1.post1-cp39-cp39-win_amd64.whl

Download URL scikit_learn-1.4.1.post1-cp39-cp39-win_amd64.whl
Size 10.6 MB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
234b6bda70fdcae9e4abbbe028582ce99c280458665a155eed0b820599377d25
BLAKE2b-256 checksum
How to use checksums
9331fd95dfa56ba44a8ba88ab9ab5ae05628207a08d00e870de225ab88450baf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.1 CPython/3.11.8

Release files / scikit_learn-1.4.1.post1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL scikit_learn-1.4.1.post1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 12.2 MB
Tags CPython 3.9 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
2a3ee19211ded1a52ee37b0a7b373a8bfc66f95353af058a210b692bd4cda0dd
BLAKE2b-256 checksum
How to use checksums
f0e8c95689d74c61f558e9e7d4ef21173811dc2ae303d1307090f85bf5a3b70b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.1 CPython/3.11.8

Release files / scikit_learn-1.4.1.post1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL scikit_learn-1.4.1.post1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 11.6 MB
Tags CPython 3.9 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
d7cd3a77c32879311f2aa93466d3c288c955ef71d191503cf0677c3340ae8ae0
BLAKE2b-256 checksum
How to use checksums
2d864d7f116da8c9011b0aa1ca9c5fa71da8f0b3564c1c7f7d0018ce10567bd9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.1 CPython/3.11.8

Release files / scikit_learn-1.4.1.post1-cp39-cp39-macosx_12_0_arm64.whl

Download URL scikit_learn-1.4.1.post1-cp39-cp39-macosx_12_0_arm64.whl
Size 10.5 MB
Tags CPython 3.9 macOS 12.0+ ARM64
SHA-256 checksum
How to use checksums
14e4c88436ac96bf69eb6d746ac76a574c314a23c6961b7d344b38877f20fee1
BLAKE2b-256 checksum
How to use checksums
d728dd1e6f590e17df3f186a2f8255c1f686b6c7b44fda395e94f16fb4f65db7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.1 CPython/3.11.8

Release files / scikit_learn-1.4.1.post1-cp39-cp39-macosx_10_9_x86_64.whl

Download URL scikit_learn-1.4.1.post1-cp39-cp39-macosx_10_9_x86_64.whl
Size 11.6 MB
Tags CPython 3.9 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
aa0029b78ef59af22cfbd833e8ace8526e4df90212db7ceccbea582ebb5d6794
BLAKE2b-256 checksum
How to use checksums
6e006230bd4522a1fad93a06d78e4ba34b90adf3c4cb039bd06fd398392c0842
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.1 CPython/3.11.8

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

This release

1.4.1.post1 This release

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

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