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)

  • 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

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

Uploaded Source

Built Distributions

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

Uploaded CPython 3.8 Windows x86-64

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

Uploaded CPython 3.8 Windows x86

scikit_learn-0.23.1-cp38-cp38-manylinux1_x86_64.whl (6.7 MB view details)

Uploaded CPython 3.8

scikit_learn-0.23.1-cp38-cp38-manylinux1_i686.whl (6.4 MB view details)

Uploaded CPython 3.8

scikit_learn-0.23.1-cp38-cp38-macosx_10_9_x86_64.whl (7.2 MB view details)

Uploaded CPython 3.8 macOS 10.9+ x86-64

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

Uploaded CPython 3.7m Windows x86-64

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

Uploaded CPython 3.7m Windows x86

scikit_learn-0.23.1-cp37-cp37m-manylinux1_x86_64.whl (6.8 MB view details)

Uploaded CPython 3.7m

scikit_learn-0.23.1-cp37-cp37m-manylinux1_i686.whl (6.5 MB view details)

Uploaded CPython 3.7m

scikit_learn-0.23.1-cp37-cp37m-macosx_10_9_x86_64.whl (7.2 MB view details)

Uploaded CPython 3.7m macOS 10.9+ x86-64

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

Uploaded CPython 3.6m Windows x86-64

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

Uploaded CPython 3.6m Windows x86

scikit_learn-0.23.1-cp36-cp36m-manylinux1_x86_64.whl (6.8 MB view details)

Uploaded CPython 3.6m

scikit_learn-0.23.1-cp36-cp36m-manylinux1_i686.whl (6.5 MB view details)

Uploaded CPython 3.6m

scikit_learn-0.23.1-cp36-cp36m-macosx_10_9_x86_64.whl (7.2 MB view details)

Uploaded CPython 3.6m macOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: scikit-learn-0.23.1.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.1.tar.gz
Algorithm Hash digest
SHA256 e3fec1c8831f8f93ad85581ca29ca1bb88e2da377fb097cf8322aa89c21bc9b8
MD5 983837637a4ebd1236dd7ca39bbaa758
BLAKE2b-256 23b0ff0f4ffa3da1ddb242a295d5d19dd1775f567ad73a6ea7474eaa55e04836

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scikit_learn-0.23.1-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.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 16feae4361be6b299d4d08df5a30956b4bfc8eadf173fe9258f6d59630f851d4
MD5 25e1d39b3eac0dcb0be09bbcd04f473f
BLAKE2b-256 7ee5888491b7e2c16718a68dfd8498325e8927003410b2d19ba255d8751338a5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scikit_learn-0.23.1-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.1-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 5bcea4d6ee431c814261117281363208408aa4e665633655895feb059021aca6
MD5 eb39a514f131614537a578906fb239b5
BLAKE2b-256 4ae5e6499000a1e73af77e0bc975bfebea2de4a83a82d4facf47339a953fc98f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scikit_learn-0.23.1-cp38-cp38-manylinux1_x86_64.whl
  • Upload date:
  • Size: 6.7 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.1-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 3e6e92b495eee193a8fa12a230c9b7976ea0fc1263719338e35c986ea1e42cff
MD5 fe222b9726904043c6ed2d39ce892171
BLAKE2b-256 4714c094698b7dd17cd2e289974a78d6d2df78c0d9eb0ac4d8d5fad255aaf977

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scikit_learn-0.23.1-cp38-cp38-manylinux1_i686.whl
  • Upload date:
  • Size: 6.4 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.1-cp38-cp38-manylinux1_i686.whl
Algorithm Hash digest
SHA256 93f56abd316d131645559ec0ab4f45e3391c2ccdd4eadaa4912f4c1e0a6f2c96
MD5 86bf7abb10cfb7d4205966e76201c441
BLAKE2b-256 c27bc22988d5cf6b9fedb206976afa48a492e7fb4fa43cff45667e45dd8d44ef

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scikit_learn-0.23.1-cp38-cp38-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 7.2 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.1-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 0c3464e46ef8bd4f1bfa5c009648c6449412c8f7e9b3fc0c9e3d800139c48827
MD5 9eddd7f4e2188c4312795d0cc7d5b6d6
BLAKE2b-256 ea47078b5ef83ccff1def48c29158be998375321397be53af6dc10f22c6dc08d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scikit_learn-0.23.1-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.1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 04799686060ecbf8992f26a35be1d99e981894c8c7860c1365cda4200f954a16
MD5 805080252c08c4ad90e1b8cb9aaa3805
BLAKE2b-256 708e682770fc1da047bb56443150bfd8d87d850459cd7cc412a5311de3abaa4a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scikit_learn-0.23.1-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.1-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 bded94236e16774385202cafd26190ce96db18e4dc21e99473848c61e4fdc400
MD5 664063c900f73311ace25f2950049050
BLAKE2b-256 65d21dfc10c0b7b4182f4f430fa4b873f6084ab384a665ba283c3c6bbf59f692

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scikit_learn-0.23.1-cp37-cp37m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 6.8 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.1-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 0e7b55f73b35537ecd0d19df29dd39aa9e076dba78f3507b8136c819d84611fd
MD5 2a0c1bdcf5258804920e9db2221f989d
BLAKE2b-256 b87e74e707b66490d4eb05f702966ad0990881127acecf9d5cdcef3c95ec6c16

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scikit_learn-0.23.1-cp37-cp37m-manylinux1_i686.whl
  • Upload date:
  • Size: 6.5 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.1-cp37-cp37m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 9e04c0811ea92931ee8490d638171b8cb2f21387efcfff526bbc8c2a3da60f1c
MD5 89b3c5e08b8f0773bac510a70f5ae78d
BLAKE2b-256 9536578390593c1ec00049e2d7498c9b49f884ce1db19eb82bb863db4cdd3529

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scikit_learn-0.23.1-cp37-cp37m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 7.2 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.1-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 244ca85d6eba17a1e6e8a66ab2f584be6a7784b5f59297e3d7ff8c7983af627c
MD5 5f16a33250d463c9fbd83860a87e817d
BLAKE2b-256 323751bf33e269be272255ab6a1c172e15b930bcf33316616efc82e0759ca4ff

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scikit_learn-0.23.1-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.1-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 e585682e37f2faa81ad6cd4472fff646bf2fd0542147bec93697a905db8e6bd2
MD5 d1b8ba9a27d72664d9fb16be6345d974
BLAKE2b-256 5e2edde3fd9f0bfb5892b9473b817a64ac9e933794c1af6131a8b2ab1e4b1345

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scikit_learn-0.23.1-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.1-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 c2fa33d20408b513cf432505c80e6eb4bf4d71434f1ae36680765d4a2c2a16ec
MD5 7538bed72bab223aa9f8ec0fb2fbff58
BLAKE2b-256 80706e291fe95ccdebd986ca11337b6784667852255eaeed44d0ec7c4524c053

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scikit_learn-0.23.1-cp36-cp36m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 6.8 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.1-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 e9879ba9e64ec3add41bf201e06034162f853652ef4849b361d73b0deb3153ad
MD5 f32b1f8a133001a76478a9e68c4bf736
BLAKE2b-256 d93aeb8d7bbe28f4787d140bb9df685b7d5bf6115c0e2a969def4027144e98b6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scikit_learn-0.23.1-cp36-cp36m-manylinux1_i686.whl
  • Upload date:
  • Size: 6.5 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.1-cp36-cp36m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 ebe853e6f318f9d8b3b74dd17e553720d35646eff675a69eeaed12fbbbb07daa
MD5 385f28f177900b8a193c49cf2cf785a1
BLAKE2b-256 4eefe7e8e8773514b50cd01e97f08867c08b5e1afa62e482e88cc8b9dced6043

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scikit_learn-0.23.1-cp36-cp36m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 7.2 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.1-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 058d213092de4384710137af1300ed0ff030b8c40459a6c6f73c31ccd274cc39
MD5 d8ed56ca88b34147e0ab940590da21ae
BLAKE2b-256 d6ae8881e17e9864be2c4feb8ec990f84d3969ef8ce23565487e27e2480d5597

See more details on using hashes here.

Supported by

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