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

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.2
File Size Uploaded
scikit-learn-1.4.2.tar.gz 7.8 MB Details

Built distributions (wheels)

Table of built distributions (wheels) for scikit-learn 1.4.2
File
scikit_learn-1.4.2-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
scikit_learn-1.4.2-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.2-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.2-cp312-cp312-macosx_12_0_arm64.whl CPython 3.12 CPython 3.12 macOS 12.0+ ARM64 Details
scikit_learn-1.4.2-cp312-cp312-macosx_10_9_x86_64.whl CPython 3.12 CPython 3.12 macOS 10.9+ x86-64 Details
scikit_learn-1.4.2-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
scikit_learn-1.4.2-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.2-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.2-cp311-cp311-macosx_12_0_arm64.whl CPython 3.11 CPython 3.11 macOS 12.0+ ARM64 Details
scikit_learn-1.4.2-cp311-cp311-macosx_10_9_x86_64.whl CPython 3.11 CPython 3.11 macOS 10.9+ x86-64 Details
scikit_learn-1.4.2-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details
scikit_learn-1.4.2-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.2-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.2-cp310-cp310-macosx_12_0_arm64.whl CPython 3.10 CPython 3.10 macOS 12.0+ ARM64 Details
scikit_learn-1.4.2-cp310-cp310-macosx_10_9_x86_64.whl CPython 3.10 CPython 3.10 macOS 10.9+ x86-64 Details
scikit_learn-1.4.2-cp39-cp39-win_amd64.whl CPython 3.9 CPython 3.9 Windows x86-64 Details
scikit_learn-1.4.2-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.2-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.2-cp39-cp39-macosx_12_0_arm64.whl CPython 3.9 CPython 3.9 macOS 12.0+ ARM64 Details
scikit_learn-1.4.2-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.2.tar.gz

Download URL scikit-learn-1.4.2.tar.gz
Size 7.8 MB
Tags Source
SHA-256 checksum
How to use checksums
daa1c471d95bad080c6e44b4946c9390a4842adc3082572c20e4f8884e39e959
BLAKE2b-256 checksum
How to use checksums
efe5c09d20723bfd91315f6f4ddc77912b0dcc09588b4ca7ad2ffa204607ad7f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.1 CPython/3.11.9

Release files / scikit_learn-1.4.2-cp312-cp312-win_amd64.whl

Download URL scikit_learn-1.4.2-cp312-cp312-win_amd64.whl
Size 10.6 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
d762070980c17ba3e9a4a1e043ba0518ce4c55152032f1af0ca6f39b376b5928
BLAKE2b-256 checksum
How to use checksums
407791f92b2fddbd14201bf36cd0c0e7279f1501a88e7a00ef11261c4b95bb7a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.1 CPython/3.11.9

Release files / scikit_learn-1.4.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL scikit_learn-1.4.2-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
d36d0bc983336bbc1be22f9b686b50c964f593c8a9a913a792442af9bf4f5e68
BLAKE2b-256 checksum
How to use checksums
bcf6761881cb1cec60874be76831571c76d596bcf3d13959390e73f4c745086f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.1 CPython/3.11.9

Release files / scikit_learn-1.4.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL scikit_learn-1.4.2-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
671e2f0c3f2c15409dae4f282a3a619601fa824d2c820e5b608d9d775f91780c
BLAKE2b-256 checksum
How to use checksums
5dce8937a0c6afd79f3486f39361ff58dd299ca1b19deb6b9deb59fe510d212f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.1 CPython/3.11.9

Release files / scikit_learn-1.4.2-cp312-cp312-macosx_12_0_arm64.whl

Download URL scikit_learn-1.4.2-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
ff4effe5a1d4e8fed260a83a163f7dbf4f6087b54528d8880bab1d1377bd78be
BLAKE2b-256 checksum
How to use checksums
fcf17028da970a41c542a0f3a2234f78040c820dae87ed7e949cec9f585f2b1a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.1 CPython/3.11.9

Release files / scikit_learn-1.4.2-cp312-cp312-macosx_10_9_x86_64.whl

Download URL scikit_learn-1.4.2-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
90378e1747949f90c8f385898fff35d73193dfcaec3dd75d6b542f90c4e89755
BLAKE2b-256 checksum
How to use checksums
813fbdd6c812eb5356410ed26a673f80670138c24eea1ea7c484da022783cc28
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.1 CPython/3.11.9

Release files / scikit_learn-1.4.2-cp311-cp311-win_amd64.whl

Download URL scikit_learn-1.4.2-cp311-cp311-win_amd64.whl
Size 10.6 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
5cd7b524115499b18b63f0c96f4224eb885564937a0b3477531b2b63ce331904
BLAKE2b-256 checksum
How to use checksums
793d02d5d3ed359498fec3abdf65407d3c07e3b8765af17464969055aaec5171
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.1 CPython/3.11.9

Release files / scikit_learn-1.4.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL scikit_learn-1.4.2-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
44c62f2b124848a28fd695db5bc4da019287abf390bfce602ddc8aa1ec186aae
BLAKE2b-256 checksum
How to use checksums
4e5314405a47292b59235d811a2af8634aba188ccfd1a38ef4b8042f3447d79a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.1 CPython/3.11.9

Release files / scikit_learn-1.4.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL scikit_learn-1.4.2-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
b0203c368058ab92efc6168a1507d388d41469c873e96ec220ca8e74079bf62e
BLAKE2b-256 checksum
How to use checksums
cc6d2b03edb51e688db0dc2958ab18edf71c8cc313172636cbdc0b1fc7670777
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.1 CPython/3.11.9

Release files / scikit_learn-1.4.2-cp311-cp311-macosx_12_0_arm64.whl

Download URL scikit_learn-1.4.2-cp311-cp311-macosx_12_0_arm64.whl
Size 10.5 MB
Tags CPython 3.11 macOS 12.0+ ARM64
SHA-256 checksum
How to use checksums
1d0b25d9c651fd050555aadd57431b53d4cf664e749069da77f3d52c5ad14b3b
BLAKE2b-256 checksum
How to use checksums
f2301299e84d2ba3bc735baf17cebbf5b9d55144243c41b3ec6559ce3cf61e23
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.1 CPython/3.11.9

Release files / scikit_learn-1.4.2-cp311-cp311-macosx_10_9_x86_64.whl

Download URL scikit_learn-1.4.2-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
45dee87ac5309bb82e3ea633955030df9bbcb8d2cdb30383c6cd483691c546cc
BLAKE2b-256 checksum
How to use checksums
591163de36e6933b03490fdfe5cbc9b5a68870a1281d8e705a23b33076dc82fb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.1 CPython/3.11.9

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

Download URL scikit_learn-1.4.2-cp310-cp310-win_amd64.whl
Size 10.6 MB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
87440e2e188c87db80ea4023440923dccbd56fbc2d557b18ced00fef79da0727
BLAKE2b-256 checksum
How to use checksums
544340a4ae4b05b00cd532fe77fdd1629dd5355776d0977a7e3b8890bec309a9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.1 CPython/3.11.9

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

Download URL scikit_learn-1.4.2-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
36f0ea5d0f693cb247a073d21a4123bdf4172e470e6d163c12b74cbb1536cf38
BLAKE2b-256 checksum
How to use checksums
8f38420ee614359d8f453ffe2bb5c2e963bf50459d9bbd3f5a92aa9059658955
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.1 CPython/3.11.9

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

Download URL scikit_learn-1.4.2-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
81bf5d8bbe87643103334032dd82f7419bc8c8d02a763643a6b9a5c7288c5054
BLAKE2b-256 checksum
How to use checksums
2c8c54b363fe83d30f79545f0e8bc1ff02b062d1efe738fee31e9c8db6dad40a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.1 CPython/3.11.9

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

Download URL scikit_learn-1.4.2-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
68b8404841f944a4a1459b07198fa2edd41a82f189b44f3e1d55c104dbc2e40c
BLAKE2b-256 checksum
How to use checksums
7f1c047e16924f1e26ec8047d954613cffd174ef9cdc110c08c9bbcf9cdded4d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.1 CPython/3.11.9

Release files / scikit_learn-1.4.2-cp310-cp310-macosx_10_9_x86_64.whl

Download URL scikit_learn-1.4.2-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
8539a41b3d6d1af82eb629f9c57f37428ff1481c1e34dddb3b9d7af8ede67ac5
BLAKE2b-256 checksum
How to use checksums
fbf02fe83526acf1448ac6d5d579c65324dd0ff769fdf74a1989072edcac4210
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.1 CPython/3.11.9

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

Download URL scikit_learn-1.4.2-cp39-cp39-win_amd64.whl
Size 10.6 MB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
c97a50b05c194be9146d61fe87dbf8eac62b203d9e87a3ccc6ae9aed2dfaf361
BLAKE2b-256 checksum
How to use checksums
b1ed051ea344b38c8e0310c4eba02593d446e35656ed1328de7bd058e9223310
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.1 CPython/3.11.9

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

Download URL scikit_learn-1.4.2-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
49d64ef6cb8c093d883e5a36c4766548d974898d378e395ba41a806d0e824db8
BLAKE2b-256 checksum
How to use checksums
82405906b7ae6e303ece856a4262b0e7a963eb0187c167b539ff87bc1fe8f887
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.1 CPython/3.11.9

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

Download URL scikit_learn-1.4.2-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
5460a1a5b043ae5ae4596b3126a4ec33ccba1b51e7ca2c5d36dac2169f62ab1d
BLAKE2b-256 checksum
How to use checksums
f3fb228e197a9d43c8c05b667e965fee347e888408c421aa011b273d179567ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.1 CPython/3.11.9

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

Download URL scikit_learn-1.4.2-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
426d258fddac674fdf33f3cb2d54d26f49406e2599dbf9a32b4d1696091d4256
BLAKE2b-256 checksum
How to use checksums
d9ff5ae7e924925499902104bf046ccd9b2b2e078171bcedc4ee2e2f2d2cacca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.1 CPython/3.11.9

Release files / scikit_learn-1.4.2-cp39-cp39-macosx_10_9_x86_64.whl

Download URL scikit_learn-1.4.2-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
d9993d5e78a8148b1d0fdf5b15ed92452af5581734129998c26f481c46586d68
BLAKE2b-256 checksum
How to use checksums
3bcd4e813830641f5f890cd337154f0e5184f685bd4ce2a6d602310b661e9666
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.1 CPython/3.11.9

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