Skip to main content

Azure Travis Codecov CircleCI PythonVersion PyPi DOI

scikit-learn

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.6)

  • NumPy (>= 1.13.3)

  • SciPy (>= 0.19.1)

  • joblib (>= 0.11)

  • threadpoolctl (>= 2.0.0)

Scikit-learn 0.20 was the last version to support Python 2.7 and Python 3.4. scikit-learn 0.23 and later require Python 3.6 or newer.

Scikit-learn plotting capabilities (i.e., functions start with plot_ and classes end with “Display”) require Matplotlib (>= 2.1.1). For running the examples Matplotlib >= 2.1.1 is required. A few examples require scikit-image >= 0.13, a few examples require pandas >= 0.18.0, 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 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 >= 3.3.0 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 0.23.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 0.23.2
File Size Uploaded
scikit-learn-0.23.2.tar.gz 7.2 MB Details

Built distributions (wheels)

Table of built distributions (wheels) for scikit-learn 0.23.2
File
scikit_learn-0.23.2-cp38-cp38-win_amd64.whl CPython 3.8 CPython 3.8 Windows x86-64 Details
scikit_learn-0.23.2-cp38-cp38-win32.whl CPython 3.8 CPython 3.8 Windows x86-32 Details
scikit_learn-0.23.2-cp38-cp38-manylinux1_x86_64.whl CPython 3.8 CPython 3.8 Linux glibc 2.5+ x86-64 Details
scikit_learn-0.23.2-cp38-cp38-manylinux1_i686.whl CPython 3.8 CPython 3.8 Linux glibc 2.5+ x86-32 Details
scikit_learn-0.23.2-cp38-cp38-macosx_10_9_x86_64.whl CPython 3.8 CPython 3.8 macOS 10.9+ x86-64 Details
scikit_learn-0.23.2-cp37-cp37m-win_amd64.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-64 Details
scikit_learn-0.23.2-cp37-cp37m-win32.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-32 Details
scikit_learn-0.23.2-cp37-cp37m-manylinux1_x86_64.whl CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-64 Details
scikit_learn-0.23.2-cp37-cp37m-manylinux1_i686.whl CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-32 Details
scikit_learn-0.23.2-cp37-cp37m-macosx_10_9_x86_64.whl CPython 3.7 CPython 3.7 pymalloc macOS 10.9+ x86-64 Details
scikit_learn-0.23.2-cp36-cp36m-win_amd64.whl CPython 3.6 CPython 3.6 pymalloc Windows x86-64 Details
scikit_learn-0.23.2-cp36-cp36m-win32.whl CPython 3.6 CPython 3.6 pymalloc Windows x86-32 Details
scikit_learn-0.23.2-cp36-cp36m-manylinux1_x86_64.whl CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.5+ x86-64 Details
scikit_learn-0.23.2-cp36-cp36m-manylinux1_i686.whl CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.5+ x86-32 Details
scikit_learn-0.23.2-cp36-cp36m-macosx_10_9_x86_64.whl CPython 3.6 CPython 3.6 pymalloc macOS 10.9+ x86-64 Details

Total release size: 106.6 MB

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

Download URL scikit-learn-0.23.2.tar.gz
Size 7.2 MB
Tags Source
SHA-256 checksum
How to use checksums
20766f515e6cd6f954554387dfae705d93c7b544ec0e6c6a5d8e006f6f7ef480
BLAKE2b-256 checksum
How to use checksums
aaf675297be19f48b7a8c2577753a3a700f98fc4db49d0e5ed3820dd8dee43d4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.4.2 requests/2.24.0 setuptools/47.3.1.post20200622 requests-toolbelt/0.8.0 tqdm/4.28.0 CPython/3.7.7

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

Download URL scikit_learn-0.23.2-cp38-cp38-win_amd64.whl
Size 6.8 MB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
1b8a391de95f6285a2f9adffb7db0892718950954b7149a70c783dc848f104ea
BLAKE2b-256 checksum
How to use checksums
d604ea17391926a03db3dd7c41d2090b7f4394b3be4be55fef49d6a5a6f3d796
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.4.2 requests/2.24.0 setuptools/47.3.1.post20200622 requests-toolbelt/0.8.0 tqdm/4.28.0 CPython/3.7.7

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

Download URL scikit_learn-0.23.2-cp38-cp38-win32.whl
Size 6.0 MB
Tags CPython 3.8 Windows x86-32
SHA-256 checksum
How to use checksums
0d39748e7c9669ba648acf40fb3ce96b8a07b240db6888563a7cb76e05e0d9cc
BLAKE2b-256 checksum
How to use checksums
f4f1eb2c04ec65461cbf292293908d8cddc05dadce164f94b45345cc4807f812
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.4.2 requests/2.24.0 setuptools/47.3.1.post20200622 requests-toolbelt/0.8.0 tqdm/4.28.0 CPython/3.7.7

Release files / scikit_learn-0.23.2-cp38-cp38-manylinux1_x86_64.whl

Download URL scikit_learn-0.23.2-cp38-cp38-manylinux1_x86_64.whl
Size 6.8 MB
Tags CPython 3.8 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
5ce7a8021c9defc2b75620571b350acc4a7d9763c25b7593621ef50f3bd019a2
BLAKE2b-256 checksum
How to use checksums
7fc1e19f767594035028b6ab88010742300ce5fcbdfeff051fc9afffcbebf644
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.4.2 requests/2.24.0 setuptools/47.3.1.post20200622 requests-toolbelt/0.8.0 tqdm/4.28.0 CPython/3.7.7

Release files / scikit_learn-0.23.2-cp38-cp38-manylinux1_i686.whl

Download URL scikit_learn-0.23.2-cp38-cp38-manylinux1_i686.whl
Size 6.4 MB
Tags CPython 3.8 Linux glibc 2.5+ x86-32
SHA-256 checksum
How to use checksums
d0dcaa54263307075cb93d0bee3ceb02821093b1b3d25f66021987d305d01dce
BLAKE2b-256 checksum
How to use checksums
615aae89fca28a134fc8cd7a60ff0622a10cb7b5709fa31a077b8646d5e6b81c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.4.2 requests/2.24.0 setuptools/47.3.1.post20200622 requests-toolbelt/0.8.0 tqdm/4.28.0 CPython/3.7.7

Release files / scikit_learn-0.23.2-cp38-cp38-macosx_10_9_x86_64.whl

Download URL scikit_learn-0.23.2-cp38-cp38-macosx_10_9_x86_64.whl
Size 7.2 MB
Tags CPython 3.8 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
7671bbeddd7f4f9a6968f3b5442dac5f22bf1ba06709ef888cc9132ad354a9ab
BLAKE2b-256 checksum
How to use checksums
a48f473b2929d63b3e1eafc83e27300091c7822fb5939f259b3ad6a042297290
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.4.2 requests/2.24.0 setuptools/47.3.1.post20200622 requests-toolbelt/0.8.0 tqdm/4.28.0 CPython/3.7.7

Release files / scikit_learn-0.23.2-cp37-cp37m-win_amd64.whl

Download URL scikit_learn-0.23.2-cp37-cp37m-win_amd64.whl
Size 6.8 MB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
914ac2b45a058d3f1338d7736200f7f3b094857758895f8667be8a81ff443b5b
BLAKE2b-256 checksum
How to use checksums
92db8c50996186faed765392cb5ba495e8764643b71adbd168535baf0fcae5f1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.4.2 requests/2.24.0 setuptools/47.3.1.post20200622 requests-toolbelt/0.8.0 tqdm/4.28.0 CPython/3.7.7

Release files / scikit_learn-0.23.2-cp37-cp37m-win32.whl

Download URL scikit_learn-0.23.2-cp37-cp37m-win32.whl
Size 5.9 MB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
d9a1ce5f099f29c7c33181cc4386660e0ba891b21a60dc036bf369e3a3ee3aec
BLAKE2b-256 checksum
How to use checksums
af8973453581aeb9e0b8aac7cf6e9ba014af62b6128e5388e25eb0c7447fedbe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.4.2 requests/2.24.0 setuptools/47.3.1.post20200622 requests-toolbelt/0.8.0 tqdm/4.28.0 CPython/3.7.7

Release files / scikit_learn-0.23.2-cp37-cp37m-manylinux1_x86_64.whl

Download URL scikit_learn-0.23.2-cp37-cp37m-manylinux1_x86_64.whl
Size 6.8 MB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
da8e7c302003dd765d92a5616678e591f347460ac7b53e53d667be7dfe6d1b10
BLAKE2b-256 checksum
How to use checksums
f4cb64623369f348e9bfb29ff898a57ac7c91ed4921f228e9726546614d63ccb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.4.2 requests/2.24.0 setuptools/47.3.1.post20200622 requests-toolbelt/0.8.0 tqdm/4.28.0 CPython/3.7.7

Release files / scikit_learn-0.23.2-cp37-cp37m-manylinux1_i686.whl

Download URL scikit_learn-0.23.2-cp37-cp37m-manylinux1_i686.whl
Size 6.5 MB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-32
SHA-256 checksum
How to use checksums
6c28a1d00aae7c3c9568f61aafeaad813f0f01c729bee4fd9479e2132b215c1d
BLAKE2b-256 checksum
How to use checksums
fd88ed6add7e9fc9d3a55a59873e6948d7d3b7c12317dc8b8de36d706d38654b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.4.2 requests/2.24.0 setuptools/47.3.1.post20200622 requests-toolbelt/0.8.0 tqdm/4.28.0 CPython/3.7.7

Release files / scikit_learn-0.23.2-cp37-cp37m-macosx_10_9_x86_64.whl

Download URL scikit_learn-0.23.2-cp37-cp37m-macosx_10_9_x86_64.whl
Size 7.2 MB
Tags CPython 3.7 CPython 3.7 pymalloc macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
2aa95c2f17d2f80534156215c87bee72b6aa314a7f8b8fe92a2d71f47280570d
BLAKE2b-256 checksum
How to use checksums
8fe4d5d59e76f274c7bf82707bb45cda9b2f1ef2874e66f80d53a91bca17374c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.4.2 requests/2.24.0 setuptools/47.3.1.post20200622 requests-toolbelt/0.8.0 tqdm/4.28.0 CPython/3.7.7

Release files / scikit_learn-0.23.2-cp36-cp36m-win_amd64.whl

Download URL scikit_learn-0.23.2-cp36-cp36m-win_amd64.whl
Size 6.8 MB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
0a127cc70990d4c15b1019680bfedc7fec6c23d14d3719fdf9b64b22d37cdeca
BLAKE2b-256 checksum
How to use checksums
f0333091edea96a9cb93e5827fb518074a1de8e151fc7ac0200d028f701f7cd4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.4.2 requests/2.24.0 setuptools/47.3.1.post20200622 requests-toolbelt/0.8.0 tqdm/4.28.0 CPython/3.7.7

Release files / scikit_learn-0.23.2-cp36-cp36m-win32.whl

Download URL scikit_learn-0.23.2-cp36-cp36m-win32.whl
Size 5.9 MB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
cb3e76380312e1f86abd20340ab1d5b3cc46a26f6593d3c33c9ea3e4c7134028
BLAKE2b-256 checksum
How to use checksums
6077f558df6639fb5fad0206b5223e37a406d09c72d20d1945d39dcc5872a2da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.4.2 requests/2.24.0 setuptools/47.3.1.post20200622 requests-toolbelt/0.8.0 tqdm/4.28.0 CPython/3.7.7

Release files / scikit_learn-0.23.2-cp36-cp36m-manylinux1_x86_64.whl

Download URL scikit_learn-0.23.2-cp36-cp36m-manylinux1_x86_64.whl
Size 6.8 MB
Tags CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
daf276c465c38ef736a79bd79fc80a249f746bcbcae50c40945428f7ece074f8
BLAKE2b-256 checksum
How to use checksums
5ca1273def87037a7fb010512bbc5901c31cfddfca8080bc63b42b26e3cc55b3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.4.2 requests/2.24.0 setuptools/47.3.1.post20200622 requests-toolbelt/0.8.0 tqdm/4.28.0 CPython/3.7.7

Release files / scikit_learn-0.23.2-cp36-cp36m-manylinux1_i686.whl

Download URL scikit_learn-0.23.2-cp36-cp36m-manylinux1_i686.whl
Size 6.5 MB
Tags CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.5+ x86-32
SHA-256 checksum
How to use checksums
a64817b050efd50f9abcfd311870073e500ae11b299683a519fbb52d85e08d25
BLAKE2b-256 checksum
How to use checksums
f13240d54ef1a62e013b2a46ff6ab1ef7bdeff16668ddcfb9f4c1902d20185cc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.4.2 requests/2.24.0 setuptools/47.3.1.post20200622 requests-toolbelt/0.8.0 tqdm/4.28.0 CPython/3.7.7

Release files / scikit_learn-0.23.2-cp36-cp36m-macosx_10_9_x86_64.whl

Download URL scikit_learn-0.23.2-cp36-cp36m-macosx_10_9_x86_64.whl
Size 7.2 MB
Tags CPython 3.6 CPython 3.6 pymalloc macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
98508723f44c61896a4e15894b2016762a55555fbf09365a0bb1870ecbd442de
BLAKE2b-256 checksum
How to use checksums
d97844fb6f0842e93d401040cc06db1a9787c9c16df15c8970cdc8999587a322
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.4.2 requests/2.24.0 setuptools/47.3.1.post20200622 requests-toolbelt/0.8.0 tqdm/4.28.0 CPython/3.7.7

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

1.1.0

18 release files

1.0.2

32 release files

1.0.1

25 release files

1.0

25 release files

This release

0.23.2 This release

16 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