Skip to main content

A set of python modules for machine learning and data mining

Project description

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)

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

scikit-learn-0.23.0.tar.gz (7.2 MB view details)

Uploaded Source

Built Distributions

scikit_learn-0.23.0-cp38-cp38-win_amd64.whl (6.8 MB view details)

Uploaded CPython 3.8 Windows x86-64

scikit_learn-0.23.0-cp38-cp38-win32.whl (6.0 MB view details)

Uploaded CPython 3.8 Windows x86

scikit_learn-0.23.0-cp38-cp38-manylinux1_x86_64.whl (7.2 MB view details)

Uploaded CPython 3.8

scikit_learn-0.23.0-cp38-cp38-manylinux1_i686.whl (6.6 MB view details)

Uploaded CPython 3.8

scikit_learn-0.23.0-cp38-cp38-macosx_10_9_x86_64.whl (7.5 MB view details)

Uploaded CPython 3.8 macOS 10.9+ x86-64

scikit_learn-0.23.0-cp37-cp37m-win_amd64.whl (6.8 MB view details)

Uploaded CPython 3.7m Windows x86-64

scikit_learn-0.23.0-cp37-cp37m-win32.whl (5.9 MB view details)

Uploaded CPython 3.7m Windows x86

scikit_learn-0.23.0-cp37-cp37m-manylinux1_x86_64.whl (7.3 MB view details)

Uploaded CPython 3.7m

scikit_learn-0.23.0-cp37-cp37m-manylinux1_i686.whl (6.6 MB view details)

Uploaded CPython 3.7m

scikit_learn-0.23.0-cp37-cp37m-macosx_10_9_x86_64.whl (7.4 MB view details)

Uploaded CPython 3.7m macOS 10.9+ x86-64

scikit_learn-0.23.0-cp36-cp36m-win_amd64.whl (6.8 MB view details)

Uploaded CPython 3.6m Windows x86-64

scikit_learn-0.23.0-cp36-cp36m-win32.whl (5.9 MB view details)

Uploaded CPython 3.6m Windows x86

scikit_learn-0.23.0-cp36-cp36m-manylinux1_x86_64.whl (7.3 MB view details)

Uploaded CPython 3.6m

scikit_learn-0.23.0-cp36-cp36m-manylinux1_i686.whl (6.6 MB view details)

Uploaded CPython 3.6m

scikit_learn-0.23.0-cp36-cp36m-macosx_10_9_x86_64.whl (7.4 MB view details)

Uploaded CPython 3.6m macOS 10.9+ x86-64

File details

Details for the file scikit-learn-0.23.0.tar.gz.

File metadata

  • Download URL: scikit-learn-0.23.0.tar.gz
  • Upload date:
  • Size: 7.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

File hashes

Hashes for scikit-learn-0.23.0.tar.gz
Algorithm Hash digest
SHA256 639a53df6273acc6a7510fb0c658b94e0c70bb13dafff9d14932c981ff9baff4
MD5 55a0b042e771bec879d9f156a8856334
BLAKE2b-256 72e475247cf75e9e3ba1bf296c9d26ba1cfc71d781821d32bcdb4d9b4b1b4153

See more details on using hashes here.

Provenance

File details

Details for the file scikit_learn-0.23.0-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: scikit_learn-0.23.0-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 6.8 MB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

File hashes

Hashes for scikit_learn-0.23.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 fa6acbb1646321d5a81bd56413e4cf9323ff96dfbaa61d0905bcac7557e97167
MD5 a8fd83e0d921e9b2e4656e453f491691
BLAKE2b-256 5488cb2146727c522b07f6c00c004c6ab26a9fe063a03a286c5495c841a6dd99

See more details on using hashes here.

Provenance

File details

Details for the file scikit_learn-0.23.0-cp38-cp38-win32.whl.

File metadata

  • Download URL: scikit_learn-0.23.0-cp38-cp38-win32.whl
  • Upload date:
  • Size: 6.0 MB
  • Tags: CPython 3.8, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

File hashes

Hashes for scikit_learn-0.23.0-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 b25d8c6ff7e3fd1eb9d54b2159b8bd6adb2f0d625e0fe0e5418a5af37b1e9f22
MD5 9a20b91d4d80c5ced34fcb498311233c
BLAKE2b-256 4327ce42b34c6a79e8a0ab6b7e57a255916368d6339cc232df12373fe89c30f5

See more details on using hashes here.

Provenance

File details

Details for the file scikit_learn-0.23.0-cp38-cp38-manylinux1_x86_64.whl.

File metadata

  • Download URL: scikit_learn-0.23.0-cp38-cp38-manylinux1_x86_64.whl
  • Upload date:
  • Size: 7.2 MB
  • Tags: CPython 3.8
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

File hashes

Hashes for scikit_learn-0.23.0-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 22ad50d5f723d31c800668257fd5fa57b192efc7e6e14c22fcfac05b448861b3
MD5 ece4f36041ed782a41ee4a6e4310625f
BLAKE2b-256 121925f7faef549021f7a4d75a6dacb0a664a92cfb95bd4466417b2458bccaa9

See more details on using hashes here.

Provenance

File details

Details for the file scikit_learn-0.23.0-cp38-cp38-manylinux1_i686.whl.

File metadata

  • Download URL: scikit_learn-0.23.0-cp38-cp38-manylinux1_i686.whl
  • Upload date:
  • Size: 6.6 MB
  • Tags: CPython 3.8
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

File hashes

Hashes for scikit_learn-0.23.0-cp38-cp38-manylinux1_i686.whl
Algorithm Hash digest
SHA256 0ee93f35416b3bd454746cbc465f0aa093c7e7a1e2a2c3b01fdfddc8554977fd
MD5 2fdc8e657986180f305ff6adc0fa2c39
BLAKE2b-256 7efa4fae1f1e763d52cb7db1f626e83649438b726de43793c4d92376f100f022

See more details on using hashes here.

Provenance

File details

Details for the file scikit_learn-0.23.0-cp38-cp38-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: scikit_learn-0.23.0-cp38-cp38-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 7.5 MB
  • Tags: CPython 3.8, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

File hashes

Hashes for scikit_learn-0.23.0-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 25072aacd7b48a7db49e7a47161c87307a68ed514735b9acdd005e5e6ca16644
MD5 050f9f894cf8c3231c3ab1e82c9a0d34
BLAKE2b-256 ed367ee919e75e7ddf8075fde5e1c8e329f7ec58ee5ade6e077b5b73cabf41cf

See more details on using hashes here.

Provenance

File details

Details for the file scikit_learn-0.23.0-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: scikit_learn-0.23.0-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 6.8 MB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

File hashes

Hashes for scikit_learn-0.23.0-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 f124dfd6a105673c783ff7e259ceab890dffcdb05ecd3f44783dda5b75efa863
MD5 55e32d15631be0ca01486ba8663c5962
BLAKE2b-256 b0d4be6d6339b2cc7de15a4ac6625e33ff17bbe7df38907f5ec9dfb24ed6be25

See more details on using hashes here.

Provenance

File details

Details for the file scikit_learn-0.23.0-cp37-cp37m-win32.whl.

File metadata

  • Download URL: scikit_learn-0.23.0-cp37-cp37m-win32.whl
  • Upload date:
  • Size: 5.9 MB
  • Tags: CPython 3.7m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

File hashes

Hashes for scikit_learn-0.23.0-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 9af0670cc1f9beb141b245bda3b73444d28d08bc0d4295b942ee8c49c7216686
MD5 61a0c82481776896da0bd89197fe2f90
BLAKE2b-256 c61c05fffda99f42966925e042f4d010b30bd4fb1ac9b3737a6e06e5c5a1604d

See more details on using hashes here.

Provenance

File details

Details for the file scikit_learn-0.23.0-cp37-cp37m-manylinux1_x86_64.whl.

File metadata

  • Download URL: scikit_learn-0.23.0-cp37-cp37m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 7.3 MB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

File hashes

Hashes for scikit_learn-0.23.0-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 2c753a0183be9c1c1e95429ac1e31dcaeb02076b9ae50123af14c89684d59edb
MD5 fe0a24436192568bc8e6f00a958b6d3a
BLAKE2b-256 23c35f6e7317246d39b1921d3b697b4e419657eb728a1f02f9df4a019a35ccaf

See more details on using hashes here.

Provenance

File details

Details for the file scikit_learn-0.23.0-cp37-cp37m-manylinux1_i686.whl.

File metadata

  • Download URL: scikit_learn-0.23.0-cp37-cp37m-manylinux1_i686.whl
  • Upload date:
  • Size: 6.6 MB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

File hashes

Hashes for scikit_learn-0.23.0-cp37-cp37m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 3a12a580e841e22e65c4b70a622c4d34338cf081689a27e03f169567effbe2ec
MD5 a486bde354909bd4ad047d3deccfc0cc
BLAKE2b-256 0626b4fa4482eb726040b695c025354f484e206ed5c970f7010786cbbf602852

See more details on using hashes here.

Provenance

File details

Details for the file scikit_learn-0.23.0-cp37-cp37m-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: scikit_learn-0.23.0-cp37-cp37m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 7.4 MB
  • Tags: CPython 3.7m, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

File hashes

Hashes for scikit_learn-0.23.0-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 02f502b9ba70b4ffbcf8cfe89670eec91f2aaeacf06eed4d5deb26f29003bfd7
MD5 ff909fcea2525f1b5a9e63a8500df522
BLAKE2b-256 44f1163b78bc93d49cb06e35cdd3788807dd8747345dfd032f6a130dc83f0f60

See more details on using hashes here.

Provenance

File details

Details for the file scikit_learn-0.23.0-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: scikit_learn-0.23.0-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 6.8 MB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

File hashes

Hashes for scikit_learn-0.23.0-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 5c36671023d50eda1eb369eedc3989852248ac2ec11dcffb7d41d0412761f272
MD5 dafbeee2cd64412ff770410aa44047d3
BLAKE2b-256 496729c7bd8cf9fde3bcb554a1b213217b28538b2e4fef2bfddeb481f169da40

See more details on using hashes here.

Provenance

File details

Details for the file scikit_learn-0.23.0-cp36-cp36m-win32.whl.

File metadata

  • Download URL: scikit_learn-0.23.0-cp36-cp36m-win32.whl
  • Upload date:
  • Size: 5.9 MB
  • Tags: CPython 3.6m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

File hashes

Hashes for scikit_learn-0.23.0-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 92d318c39ca5c3e193c6a4cb22df095a690ccf84dd83d9bede2e263e94bc5023
MD5 6a8c4702bf30a019d4ec3f8795af9fbb
BLAKE2b-256 c815d4e56fffca250f542f15a5722bfd5d5568969c59e33480ac21153278c09f

See more details on using hashes here.

Provenance

File details

Details for the file scikit_learn-0.23.0-cp36-cp36m-manylinux1_x86_64.whl.

File metadata

  • Download URL: scikit_learn-0.23.0-cp36-cp36m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 7.3 MB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

File hashes

Hashes for scikit_learn-0.23.0-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 bb3ca700c3d89151424cc62d9149a59ed7b9b627ef5223e022b45b5d30938dd1
MD5 088e1fcd2d0f020edce6a3d63a9183dd
BLAKE2b-256 4bcdaf7469eb9d2b2ba428206273585f0272b6094ae915aed0b1ca99eace56df

See more details on using hashes here.

Provenance

File details

Details for the file scikit_learn-0.23.0-cp36-cp36m-manylinux1_i686.whl.

File metadata

  • Download URL: scikit_learn-0.23.0-cp36-cp36m-manylinux1_i686.whl
  • Upload date:
  • Size: 6.6 MB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

File hashes

Hashes for scikit_learn-0.23.0-cp36-cp36m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 4d04373c4bb1b97c786cd7fee92db63204699198e2e5b3744da287a825ec8fe8
MD5 87e71279d72fb5b9c64d663502a30db4
BLAKE2b-256 15277101ec66ed83dd27c71d1f8cd508afadd030c9acb0ae43482eb11311fa6e

See more details on using hashes here.

Provenance

File details

Details for the file scikit_learn-0.23.0-cp36-cp36m-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: scikit_learn-0.23.0-cp36-cp36m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 7.4 MB
  • Tags: CPython 3.6m, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

File hashes

Hashes for scikit_learn-0.23.0-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 511e267853803ebf56333604be7b6ead373fa7c2314930a1fd7ad003b6347c04
MD5 aedfb55dc65d5ec4af140d6536589eb6
BLAKE2b-256 03b725a3c96bba49f2506d0d474d951623ef89bde85efea517ed59446e809157

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page