Skip to main content

Azure Travis Codecov CircleCI Python35 PyPi DOI

scikit-learn

scikit-learn is a Python module for machine learning built on top of SciPy and 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: http://scikit-learn.org

Installation

Dependencies

scikit-learn requires:

  • Python (>= 3.5)

  • NumPy (>= 1.11.0)

  • SciPy (>= 0.17.0)

  • joblib (>= 0.11)

Scikit-learn 0.20 was the last version to support Python2.7. Scikit-learn 0.21 and later require Python 3.5 or newer.

For running the examples Matplotlib >= 1.5.1 is required. A few examples require scikit-image >= 0.12.3, a few examples require pandas >= 0.18.0.

scikit-learn also uses CBLAS, the C interface to the Basic Linear Algebra Subprograms library. scikit-learn comes with a reference implementation, but the system CBLAS will be detected by the build system and used if present. CBLAS exists in many implementations; see Linear algebra libraries for known issues.

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

Setting up a development environment

Quick tutorial on how to go about setting up your environment to contribute to scikit-learn: https://github.com/scikit-learn/scikit-learn/blob/master/CONTRIBUTING.md

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 http://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: http://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: http://scikit-learn.org/stable/about.html#citing-scikit-learn

Metadata

Release files for scikit-learn 0.21.0

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

Built distributions (wheels)

Table of built distributions (wheels) for scikit-learn 0.21.0
File Actions
scikit_learn-0.21.0-cp37-cp37m-win_amd64.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-64 Details for scikit_learn-0.21.0-cp37-cp37m-win_amd64.whl
scikit_learn-0.21.0-cp37-cp37m-win32.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-32 Details for scikit_learn-0.21.0-cp37-cp37m-win32.whl
scikit_learn-0.21.0-cp37-cp37m-manylinux1_x86_64.whl CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-64 Details for scikit_learn-0.21.0-cp37-cp37m-manylinux1_x86_64.whl
scikit_learn-0.21.0-cp37-cp37m-manylinux1_i686.whl CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-32 Details for scikit_learn-0.21.0-cp37-cp37m-manylinux1_i686.whl
scikit_learn-0.21.0-cp37-cp37m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl CPython 3.7 CPython 3.7 pymalloc macOS 10.9+ x86-64, macOS 10.6+ Intel (x86-64, i386), macOS 10.9+ Intel (x86-64, i386), macOS 10.10+ x86-64, macOS 10.10+ Intel (x86-64, i386) Details for scikit_learn-0.21.0-cp37-cp37m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
scikit_learn-0.21.0-cp36-cp36m-win_amd64.whl CPython 3.6 CPython 3.6 pymalloc Windows x86-64 Details for scikit_learn-0.21.0-cp36-cp36m-win_amd64.whl
scikit_learn-0.21.0-cp36-cp36m-win32.whl CPython 3.6 CPython 3.6 pymalloc Windows x86-32 Details for scikit_learn-0.21.0-cp36-cp36m-win32.whl
scikit_learn-0.21.0-cp36-cp36m-manylinux1_x86_64.whl CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.5+ x86-64 Details for scikit_learn-0.21.0-cp36-cp36m-manylinux1_x86_64.whl
scikit_learn-0.21.0-cp36-cp36m-manylinux1_i686.whl CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.5+ x86-32 Details for scikit_learn-0.21.0-cp36-cp36m-manylinux1_i686.whl
scikit_learn-0.21.0-cp36-cp36m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl CPython 3.6 CPython 3.6 pymalloc macOS 10.9+ Intel (x86-64, i386), macOS 10.6+ Intel (x86-64, i386), macOS 10.10+ x86-64, macOS 10.10+ Intel (x86-64, i386), macOS 10.9+ x86-64 Details for scikit_learn-0.21.0-cp36-cp36m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
scikit_learn-0.21.0-cp35-cp35m-win_amd64.whl CPython 3.5 CPython 3.5 pymalloc Windows x86-64 Details for scikit_learn-0.21.0-cp35-cp35m-win_amd64.whl
scikit_learn-0.21.0-cp35-cp35m-win32.whl CPython 3.5 CPython 3.5 pymalloc Windows x86-32 Details for scikit_learn-0.21.0-cp35-cp35m-win32.whl
scikit_learn-0.21.0-cp35-cp35m-manylinux1_x86_64.whl CPython 3.5 CPython 3.5 pymalloc Linux glibc 2.5+ x86-64 Details for scikit_learn-0.21.0-cp35-cp35m-manylinux1_x86_64.whl
scikit_learn-0.21.0-cp35-cp35m-manylinux1_i686.whl CPython 3.5 CPython 3.5 pymalloc Linux glibc 2.5+ x86-32 Details for scikit_learn-0.21.0-cp35-cp35m-manylinux1_i686.whl
scikit_learn-0.21.0-cp35-cp35m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl CPython 3.5 CPython 3.5 pymalloc macOS 10.6+ Intel (x86-64, i386), macOS 10.10+ x86-64, macOS 10.10+ Intel (x86-64, i386), macOS 10.9+ x86-64, macOS 10.9+ Intel (x86-64, i386) Details for scikit_learn-0.21.0-cp35-cp35m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl

Total release size: 102.0 MB

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

Download URL scikit_learn-0.21.0-cp37-cp37m-win_amd64.whl
Size 5.9 MB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
615e2e953cae5b99530d0fc46c0227101956c7f33a99f78f237aba92f2a571b7
BLAKE2b-256 checksum
How to use checksums
14df12398d6bb3500f47904135a3d2459f644e5b71bade7a75ab72f107e032af
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

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

Download URL scikit_learn-0.21.0-cp37-cp37m-win32.whl
Size 5.2 MB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
4e39608650180d879b17fd7b47b1311f06a45630a8568173c1a22233b2dbbc73
BLAKE2b-256 checksum
How to use checksums
15847b4f1ea54c93872a7118ac38a185f9f3e28e890cb48083cb0a21696c3c87
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

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

Download URL scikit_learn-0.21.0-cp37-cp37m-manylinux1_x86_64.whl
Size 6.7 MB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
ad1f354246148f7d054602704b6eb9b8437c09614629562789dce8ae808a63cb
BLAKE2b-256 checksum
How to use checksums
ed93d4b622a8d15c9a1bce4d50c4875c872dde534d335e574ef48a50ee999d82
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

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

Download URL scikit_learn-0.21.0-cp37-cp37m-manylinux1_i686.whl
Size 6.0 MB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-32
SHA-256 checksum
How to use checksums
1a6e69128d1fe413a5722404756c62aac21d2f8a523beb57912afffc3640a75f
BLAKE2b-256 checksum
How to use checksums
392362c835b00209febb391ea173aae2a2cd583e39012b756a3904f6e05a583c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

Release files / scikit_learn-0.21.0-cp37-cp37m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl

Download URL scikit_learn-0.21.0-cp37-cp37m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
Size 10.5 MB
Tags CPython 3.7 CPython 3.7 pymalloc macOS 10.10+ Intel (x86-64, i386) macOS 10.10+ x86-64 macOS 10.6+ Intel (x86-64, i386) macOS 10.9+ Intel (x86-64, i386) macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
2ae8b0e40fb044844b02af9d348bc1a2254b3f7b94151cc197536e1211b9280b
BLAKE2b-256 checksum
How to use checksums
5b96bfb692ca7485bb7bde27f15aef8c7e72311e1b8df481e4bc3a7eeba42fc7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

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

Download URL scikit_learn-0.21.0-cp36-cp36m-win_amd64.whl
Size 5.9 MB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
d46ce509c5be72bf15bdfc1faead1df681fa1cb0aa13468d53964941cd80add4
BLAKE2b-256 checksum
How to use checksums
e53bf7cabaa060d51b92b6bf2bc5a0c4c744cc84917f15e5f3c73bf918dc306e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

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

Download URL scikit_learn-0.21.0-cp36-cp36m-win32.whl
Size 5.2 MB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
5fc9a555752185e5698cfadfbedf75eae89887c2a8fc842d3976a2251ca53f49
BLAKE2b-256 checksum
How to use checksums
c1f3213bc2e52f605c24148b0fb00055ac1bfed923865e741182a06d58df0313
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

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

Download URL scikit_learn-0.21.0-cp36-cp36m-manylinux1_x86_64.whl
Size 6.6 MB
Tags CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
7afd99f1fa3daa67ecef97466b38b607bc6b7f611980687b444889a64ab55bff
BLAKE2b-256 checksum
How to use checksums
b76cec121123c671d980c6969dfc69d0f09e1d7f88d80d373f511e61d773b85c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

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

Download URL scikit_learn-0.21.0-cp36-cp36m-manylinux1_i686.whl
Size 6.0 MB
Tags CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.5+ x86-32
SHA-256 checksum
How to use checksums
9a637d61645f9319caf6a9659b37c3e66110465e4455085fba804dfabc121518
BLAKE2b-256 checksum
How to use checksums
ad85a1f9811f47c1a121a1888b4400b18072c179175a65a6497a3a28abca9ad6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

Release files / scikit_learn-0.21.0-cp36-cp36m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl

Download URL scikit_learn-0.21.0-cp36-cp36m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
Size 10.6 MB
Tags CPython 3.6 CPython 3.6 pymalloc macOS 10.10+ Intel (x86-64, i386) macOS 10.10+ x86-64 macOS 10.6+ Intel (x86-64, i386) macOS 10.9+ Intel (x86-64, i386) macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
2244785eb38f81c4c640d6e46594d950a92f6cc14351ba4926ed9351e6c16e3a
BLAKE2b-256 checksum
How to use checksums
859f737d9d4611f671c17941cf71dcbaeed6b0dd040b9b01d4c3d8a98f7db746
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

Release files / scikit_learn-0.21.0-cp35-cp35m-win_amd64.whl

Download URL scikit_learn-0.21.0-cp35-cp35m-win_amd64.whl
Size 5.8 MB
Tags CPython 3.5 CPython 3.5 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
8ff36dc5e0488f345a65ad514a6d9026bf1ec509f66d09d605acfdb61e8fbefa
BLAKE2b-256 checksum
How to use checksums
e02ad0b09f7c1fbcc03e6c318fa4ec56e958e069769b5c5c2311b29a6b0a2789
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

Release files / scikit_learn-0.21.0-cp35-cp35m-win32.whl

Download URL scikit_learn-0.21.0-cp35-cp35m-win32.whl
Size 5.1 MB
Tags CPython 3.5 CPython 3.5 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
f0ca67c81bf9abf65b5e8990854739b61d8f9d5d6c8e0b7477524dbbf03cb435
BLAKE2b-256 checksum
How to use checksums
34f60180f2fcd35f79c90ec63669093bd639e2166c32dd80e5cd93b9b81f2880
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

Release files / scikit_learn-0.21.0-cp35-cp35m-manylinux1_x86_64.whl

Download URL scikit_learn-0.21.0-cp35-cp35m-manylinux1_x86_64.whl
Size 6.6 MB
Tags CPython 3.5 CPython 3.5 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
e6e46f5c0bf8a5666aa2656b9bbd630a07b3607bece116baccb548c8331dd9e0
BLAKE2b-256 checksum
How to use checksums
256ce7a88e8518a7603d1f111910e57e91eddee3f3058bd4f990d4bc51c1614e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

Release files / scikit_learn-0.21.0-cp35-cp35m-manylinux1_i686.whl

Download URL scikit_learn-0.21.0-cp35-cp35m-manylinux1_i686.whl
Size 5.9 MB
Tags CPython 3.5 CPython 3.5 pymalloc Linux glibc 2.5+ x86-32
SHA-256 checksum
How to use checksums
8447c5da132a0912679ec4e589547e83c42dc7979df2b1fd042c7638dcd002d5
BLAKE2b-256 checksum
How to use checksums
fe9f202150d0d4e29ec35b4339b0eff245d6f3c09d63c1aaac25929720c2afdd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

Release files / scikit_learn-0.21.0-cp35-cp35m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl

Download URL scikit_learn-0.21.0-cp35-cp35m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
Size 10.2 MB
Tags CPython 3.5 CPython 3.5 pymalloc macOS 10.10+ Intel (x86-64, i386) macOS 10.10+ x86-64 macOS 10.6+ Intel (x86-64, i386) macOS 10.9+ Intel (x86-64, i386) macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
d2beb434bc8c5970372f391ced4480eb01ed46ac36d99684ec5da27500de50bc
BLAKE2b-256 checksum
How to use checksums
22296f02a111018e145c77ca51f0df473570eb5c692170dc170ec5c8930ad8b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

Security for scikit-learn 0.21.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.21.0 This release

15 release files No provenance

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