Skip to main content

A set of python modules for machine learning and data mining

Project description

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

Contributing

To learn more about making a contribution to scikit-learn, please view the contributing document: 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

Release history Release notifications | RSS feed

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.21.2.tar.gz (12.2 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

scikit_learn-0.21.2-cp37-cp37m-win_amd64.whl (5.9 MB view details)

Uploaded CPython 3.7mWindows x86-64

scikit_learn-0.21.2-cp37-cp37m-win32.whl (5.2 MB view details)

Uploaded CPython 3.7mWindows x86

scikit_learn-0.21.2-cp37-cp37m-manylinux1_x86_64.whl (6.7 MB view details)

Uploaded CPython 3.7m

scikit_learn-0.21.2-cp37-cp37m-manylinux1_i686.whl (6.0 MB view details)

Uploaded CPython 3.7m

scikit_learn-0.21.2-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 (10.5 MB view details)

Uploaded CPython 3.7mmacOS 10.10+ Intel (x86-64, i386)macOS 10.10+ x86-64macOS 10.6+ Intel (x86-64, i386)macOS 10.9+ Intel (x86-64, i386)macOS 10.9+ x86-64

scikit_learn-0.21.2-cp36-cp36m-win_amd64.whl (5.9 MB view details)

Uploaded CPython 3.6mWindows x86-64

scikit_learn-0.21.2-cp36-cp36m-win32.whl (5.2 MB view details)

Uploaded CPython 3.6mWindows x86

scikit_learn-0.21.2-cp36-cp36m-manylinux1_x86_64.whl (6.7 MB view details)

Uploaded CPython 3.6m

scikit_learn-0.21.2-cp36-cp36m-manylinux1_i686.whl (6.0 MB view details)

Uploaded CPython 3.6m

scikit_learn-0.21.2-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 (10.6 MB view details)

Uploaded CPython 3.6mmacOS 10.10+ Intel (x86-64, i386)macOS 10.10+ x86-64macOS 10.6+ Intel (x86-64, i386)macOS 10.9+ Intel (x86-64, i386)macOS 10.9+ x86-64

scikit_learn-0.21.2-cp35-cp35m-win_amd64.whl (5.8 MB view details)

Uploaded CPython 3.5mWindows x86-64

scikit_learn-0.21.2-cp35-cp35m-win32.whl (5.1 MB view details)

Uploaded CPython 3.5mWindows x86

scikit_learn-0.21.2-cp35-cp35m-manylinux1_x86_64.whl (6.6 MB view details)

Uploaded CPython 3.5m

scikit_learn-0.21.2-cp35-cp35m-manylinux1_i686.whl (6.0 MB view details)

Uploaded CPython 3.5m

scikit_learn-0.21.2-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 (10.2 MB view details)

Uploaded CPython 3.5mmacOS 10.10+ Intel (x86-64, i386)macOS 10.10+ x86-64macOS 10.6+ Intel (x86-64, i386)macOS 10.9+ Intel (x86-64, i386)macOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: scikit-learn-0.21.2.tar.gz
  • Upload date:
  • Size: 12.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.29.0 CPython/3.6.7

File hashes

Hashes for scikit-learn-0.21.2.tar.gz
Algorithm Hash digest
SHA256 0aafc312a55ebf58073151b9308761a5fcfa45b7f7730cea4b1f066f824c72db
MD5 30b601f172e89d5a9350b9f487588bbc
BLAKE2b-256 575c133b464c8d0be7ac8c9414b6ff2ae848808a35ce03b146fc2c43777e51f9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scikit_learn-0.21.2-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 5.9 MB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.29.0 CPython/3.6.7

File hashes

Hashes for scikit_learn-0.21.2-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 195465c39daded4f3ef8759291ffde81365486d4293e63dd9e32de0f569ecbbf
MD5 aff841dccf9bf6b1b4d525ae33e1967d
BLAKE2b-256 7514fde90de4fc6722303ddbc183ec253c288dae8c7e4eb5a069ac49f14c9a0f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scikit_learn-0.21.2-cp37-cp37m-win32.whl
  • Upload date:
  • Size: 5.2 MB
  • Tags: CPython 3.7m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.29.0 CPython/3.6.7

File hashes

Hashes for scikit_learn-0.21.2-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 4a6398500d035a4402476a2e3ae9f65a7a3f1b366ec6a7f6dd45c289f72dc954
MD5 2529c2f2d2eff491a450c86c29b0f385
BLAKE2b-256 0d1b969bc7bf9851b8b05a81721103d6ac9f656d4cdef90a68da96686245c69c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scikit_learn-0.21.2-cp37-cp37m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 6.7 MB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.29.0 CPython/3.6.7

File hashes

Hashes for scikit_learn-0.21.2-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 acba6bf5928e415b6296799a7aa069b66254c9440bce88ed2e5915865a317093
MD5 48085dfeedadc8d9710ec6b3a4fbede8
BLAKE2b-256 21a4a48bd4b0d15395362b561df7e7247de87291105eb736a3b2aaffebf437b9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scikit_learn-0.21.2-cp37-cp37m-manylinux1_i686.whl
  • Upload date:
  • Size: 6.0 MB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.29.0 CPython/3.6.7

File hashes

Hashes for scikit_learn-0.21.2-cp37-cp37m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 ca45e0def97f73a828cee417174fafa0ab35a41f8bdca4424120a29c5589c548
MD5 6ac9195af93c8edaa2833f8ad1c928c2
BLAKE2b-256 906caa285bdcafdd2f3bfda577660ca0fa01a72669249e1e753ce922085ecc4b

See more details on using hashes here.

File details

Details for the file scikit_learn-0.21.2-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.

File metadata

File hashes

Hashes for scikit_learn-0.21.2-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
Algorithm Hash digest
SHA256 b474f00d2533f18761fb17fb0950b27e72baf0796176247b5a7cf0ee369790ee
MD5 3c4c120c53b5baf032b7fbe263ff7e1e
BLAKE2b-256 aa7d6c71c35c201f6d5cec318c7ed7841317adbf291513742865ed8904ae4ea9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scikit_learn-0.21.2-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 5.9 MB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.29.0 CPython/3.6.7

File hashes

Hashes for scikit_learn-0.21.2-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 77092513dd780e12affde46a6394b52947db3fc00cf1d8c1c8eede52b37591d1
MD5 87ef477e44e9c229df069631075c2f75
BLAKE2b-256 a9bc18663f6d75838b73353ba49fabd631347e68470ec9e623d7b3f3ccd4f426

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scikit_learn-0.21.2-cp36-cp36m-win32.whl
  • Upload date:
  • Size: 5.2 MB
  • Tags: CPython 3.6m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.29.0 CPython/3.6.7

File hashes

Hashes for scikit_learn-0.21.2-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 f09e544a6756afbd9d31e1d8ddfde5a2c9c17f6d4274104c988fceb611e2d5c5
MD5 0cefcb6a13c8aa6c54c1b9bafc653158
BLAKE2b-256 59e1c78f2986a4a5493a72e60d30130dc9079d05b2da9dc66a8630c59f563182

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scikit_learn-0.21.2-cp36-cp36m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 6.7 MB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.29.0 CPython/3.6.7

File hashes

Hashes for scikit_learn-0.21.2-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 a5fba00d9037b62b0e0906f64efe9e4a754e556bc091cc12f84bc81655b4a414
MD5 aa79c741bac1340c4d4cf52ac6f20c3c
BLAKE2b-256 850449633f490f726da6e454fddc8e938bbb5bfed2001681118d3814c219b723

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scikit_learn-0.21.2-cp36-cp36m-manylinux1_i686.whl
  • Upload date:
  • Size: 6.0 MB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.29.0 CPython/3.6.7

File hashes

Hashes for scikit_learn-0.21.2-cp36-cp36m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 7d2cdfe16b1ae6f9a1760b69be27c2004a84fc362984f930df135c847c47b765
MD5 28c0cc44a5ce6094f2bff7b8c57b01f3
BLAKE2b-256 4ad81ae62125c00537bfd95ef98b6f14730bd06cb1bd1ace6b6b284ce99d0af4

See more details on using hashes here.

File details

Details for the file scikit_learn-0.21.2-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.

File metadata

File hashes

Hashes for scikit_learn-0.21.2-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
Algorithm Hash digest
SHA256 56f14e98632fb9237e7d005c6d8e346d01fa67f7b92f5f5d57a0bd06c741f9f6
MD5 3ad1e56a5ba22aade6d282f4bfd4463c
BLAKE2b-256 f2464e68feb391f049b7ef9fe9bad355eecc208b3cfb324c47410580b4854cde

See more details on using hashes here.

File details

Details for the file scikit_learn-0.21.2-cp35-cp35m-win_amd64.whl.

File metadata

  • Download URL: scikit_learn-0.21.2-cp35-cp35m-win_amd64.whl
  • Upload date:
  • Size: 5.8 MB
  • Tags: CPython 3.5m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.29.0 CPython/3.6.7

File hashes

Hashes for scikit_learn-0.21.2-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 fb4c7a2294447515fffec33c1f5eedbe942e9be56edb8c6619607e7882531d40
MD5 f7cc12c0a2b43f3d9ecd52037bbce8ca
BLAKE2b-256 8afac29d5ef362675a8a49c75ef9138de4cdbb0d1025c83b916fa10a032924d3

See more details on using hashes here.

File details

Details for the file scikit_learn-0.21.2-cp35-cp35m-win32.whl.

File metadata

  • Download URL: scikit_learn-0.21.2-cp35-cp35m-win32.whl
  • Upload date:
  • Size: 5.1 MB
  • Tags: CPython 3.5m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.29.0 CPython/3.6.7

File hashes

Hashes for scikit_learn-0.21.2-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 185d88ee4955cd68d7ff57356d1dd99cfc2de4b6aa5e5d679cafbc9df54716ff
MD5 dfcd6807643e5ea415e1aec08afde638
BLAKE2b-256 704a703eabee2daea05d39acf8105aceba22b9f8e69a75c71d4eebbf0071fa4a

See more details on using hashes here.

File details

Details for the file scikit_learn-0.21.2-cp35-cp35m-manylinux1_x86_64.whl.

File metadata

  • Download URL: scikit_learn-0.21.2-cp35-cp35m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 6.6 MB
  • Tags: CPython 3.5m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.29.0 CPython/3.6.7

File hashes

Hashes for scikit_learn-0.21.2-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 82c3450fc375f27e3529fa05fec627c9fc75915e05fcd55de43f193b3aa907af
MD5 7e30d7f31fc9b42242a36293606ec312
BLAKE2b-256 996cbbbf3452cd5c8ed8e6cb51d37e06ebea3113d347085a59a21f19ee76c8eb

See more details on using hashes here.

File details

Details for the file scikit_learn-0.21.2-cp35-cp35m-manylinux1_i686.whl.

File metadata

  • Download URL: scikit_learn-0.21.2-cp35-cp35m-manylinux1_i686.whl
  • Upload date:
  • Size: 6.0 MB
  • Tags: CPython 3.5m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.29.0 CPython/3.6.7

File hashes

Hashes for scikit_learn-0.21.2-cp35-cp35m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 051c53f9e900b0e9eccff2391f5317d1673d72e842bcbcd3e5d0b132459086ed
MD5 5ae5b4789740ca81b7cd6e3351711f49
BLAKE2b-256 d7554a71180e5adf8fff51c28d52b7a5b51423dabae01422f4866e4ea4689f2d

See more details on using hashes here.

File details

Details for the file scikit_learn-0.21.2-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.

File metadata

File hashes

Hashes for scikit_learn-0.21.2-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
Algorithm Hash digest
SHA256 f979bb85cbfd9ed4d54709d86ab8893b316726abd1c9ab04abe7e6414b71b753
MD5 fcca0ffe62b54fc6a4a70891b539149c
BLAKE2b-256 b054d9040c72a690d216b1bb1d81385007e2a1fb2d5e04bdc4e10c1f5ead1018

See more details on using hashes here.

Supported by

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