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

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

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

Uploaded Source

Built Distributions

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

Uploaded CPython 3.7m Windows x86-64

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

Uploaded CPython 3.7m Windows x86

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

Uploaded CPython 3.7m

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

Uploaded CPython 3.7m

scikit_learn-0.21.1-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.7m 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

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

Uploaded CPython 3.6m Windows x86-64

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

Uploaded CPython 3.6m Windows x86

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

Uploaded CPython 3.6m

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

Uploaded CPython 3.6m

scikit_learn-0.21.1-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.6m 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

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

Uploaded CPython 3.5m Windows x86-64

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

Uploaded CPython 3.5m Windows x86

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

Uploaded CPython 3.5m

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

Uploaded CPython 3.5m

scikit_learn-0.21.1-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.5m 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

File details

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

File metadata

  • Download URL: scikit-learn-0.21.1.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/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for scikit-learn-0.21.1.tar.gz
Algorithm Hash digest
SHA256 228d0611e69e5250946f8cd7bbefec75347950f0ca426d0c518db8f06583f660
MD5 779ff34be2d1590636d772ab5371bebf
BLAKE2b-256 f7f11675d529d6abe989f12a5cb04ecbcbad764eb209ca79a8d030488d0f2b3c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scikit_learn-0.21.1-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/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for scikit_learn-0.21.1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 7f11d75eb2ca5825806f2a3d5464bf9ab05a8e0b7bbfe4b6add343c9716a48fa
MD5 d3dd8a642b48e0a253f3df63e9c259c1
BLAKE2b-256 a78b25843340559274fcb48f3623d7331fe6931cacd4b3fca6d08e1202b5a788

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scikit_learn-0.21.1-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/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for scikit_learn-0.21.1-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 95e71f96f40782df2a664c3d6534d6f70a65af714ec0151c0a5b64c0dc2c4fc0
MD5 740c4b887ca4a323f7f6b01c8ca8c55b
BLAKE2b-256 f994c2a490098568ed441b3b516f6caa029d5c00d8071a3a47aaa36a9302b236

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scikit_learn-0.21.1-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/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for scikit_learn-0.21.1-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 cfec23b494448b6c7fe35e3782afbba234ebd4137fa22ac1be3dd77d623c6e85
MD5 a959e3cfb8735561e3ee2072c4dddd3b
BLAKE2b-256 ef523254e511ef1fc88d31edf457d90ecfd531931d4202f1b8ee0c949e9478f6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scikit_learn-0.21.1-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/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for scikit_learn-0.21.1-cp37-cp37m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 5dc797ae5db50a537b590e9639c9c199863189f3aa7542bd98900cfb9292f097
MD5 d9d20063fcf63704690615db820cc478
BLAKE2b-256 583173f193e24111082a8a2dd45329e90112181139a4711107781e610dd93bb7

See more details on using hashes here.

File details

Details for the file scikit_learn-0.21.1-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.1-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 ad405a680e7617a4c470f1372a62e05bb866dc4bfdb6b50d310ad46ac18098e6
MD5 6a54f820e72e8fe9d3cf317ab88ae11f
BLAKE2b-256 9b7033f2757428cff754ade0d4433e39e5dabc0c7d0359190eafba97676f5129

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scikit_learn-0.21.1-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/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for scikit_learn-0.21.1-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 2de2dc15a7b0b867714a191a7103f9bd4a36cda8c078e0aaa9751f3fa09e08dd
MD5 1e30759a7fde9afb330f55933981471a
BLAKE2b-256 015c5ca1a1e22f48b4d58f972ded2ba29ee1b99548b6d9265fba3bb94e996a7f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scikit_learn-0.21.1-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/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for scikit_learn-0.21.1-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 df336c2ce979793f65ce847d0e903d4f34b2ce9ac47d613a0c588d2ee5124084
MD5 26c5599697021d8c584f8ba931887bb8
BLAKE2b-256 f1038b6829e54f2be4ce491f65c07c074ea6375dba26e67a41e7a3efb0211411

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scikit_learn-0.21.1-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/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for scikit_learn-0.21.1-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 fbacf86fc57581bae27a4fd5b518c6e857210435ec7911c57edb017cbedc9ed0
MD5 526bb04a213cbc6a64ccbc09c7c90dae
BLAKE2b-256 90c7401c231c445fb6fad135e92197da9c3e77983de169ff1887cc18af94498d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scikit_learn-0.21.1-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/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for scikit_learn-0.21.1-cp36-cp36m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 954db782a4227a0850af1f11c5cf033a439f4b9644daef778bd7199e0348fc85
MD5 be938b2c08e145e4f517a76750ec4dcb
BLAKE2b-256 e096040ae94335a62b1b3b5526ba6d83fbe44ce4f87aa6a183c5de976108c6a3

See more details on using hashes here.

File details

Details for the file scikit_learn-0.21.1-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.1-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 b2a84358d38530b40ddca3288f3bef642019cd9a4f89260c4078f41e9b873790
MD5 9021f9caedd29051ce9aa4f508790fba
BLAKE2b-256 7e2fa93328cc1472c0d41258c0521bad2a098db1bde22ade3ed69cbda2985587

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scikit_learn-0.21.1-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/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for scikit_learn-0.21.1-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 a0abfcbb5e447c49d7b78e598dc4b059eb22ab25f9f0088dc862ce6bc94d7e7a
MD5 a9cf780ba4ac16415304841dd29bfb5c
BLAKE2b-256 179def82ff2298fd93bc2564cb28039f57ac8d5890da8c1a4b77d74ff5dd8588

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scikit_learn-0.21.1-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/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for scikit_learn-0.21.1-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 c725a5293e89f9c0fae0d81dc864442e5dabfa19a77f50fe799e33520f045f6f
MD5 37b5eba91c29c38d78eb5032389903cb
BLAKE2b-256 32901c14f8cb7120fd8ce64a93c6040963c16d1cde5b3e846d3cfc7b8423c3f6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scikit_learn-0.21.1-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/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for scikit_learn-0.21.1-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 3b0ec412ae456ce9edddddc0e4edec8a86ac7146ce99ffd0a7a7d9e64f2af8dc
MD5 8c31455ac18648ca57d5da116996cc2d
BLAKE2b-256 3c0bfe1f5e349f9a31e47a30b834be4f668c4bf100c79cf564284fb04f14f381

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scikit_learn-0.21.1-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/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for scikit_learn-0.21.1-cp35-cp35m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 d226348527c68effc84b1ce35b0d933cb397ac949f2b98eca98803c5bd95f44c
MD5 b955663f945039385b17bdbedb722f79
BLAKE2b-256 e2103b945349c2bd815b9d723e5bbfc267a12ad0cefdd3e0fc5604925c648ed2

See more details on using hashes here.

File details

Details for the file scikit_learn-0.21.1-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.1-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 2a431a0a4f617d1cc5b02f326c0985b099b9bbb9ba82f34707305770e25b8030
MD5 4dd7de195fdedc57f6d47f2eb1f540a7
BLAKE2b-256 8d8f0fc2384666f7b67a8821c48ae0a7fdd41515e1c938332b2f0848bbad0225

See more details on using hashes here.

Supported by

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