Skip to main content

Travis AppVeyor Coveralls

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 AUTHORS.rst file for a complete list of contributors.

It is currently maintained by a team of volunteers.

Note scikit-learn was previously referred to as scikits.learn.

Dependencies

scikit-learn is tested to work under Python 2.6, Python 2.7, and Python 3.4. (using the same codebase thanks to an embedded copy of six). It should also work with Python 3.3.

The required dependencies to build the software are NumPy >= 1.6.1, SciPy >= 0.9 and a working C/C++ compiler.

For running the examples Matplotlib >= 1.1.1 is required and for running the tests you need nose >= 1.1.2.

This configuration matches the Ubuntu Precise 12.04 LTS release from April 2012.

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.

Install

This package uses distutils, which is the default way of installing python modules. To install in your home directory, use:

python setup.py install --user

To install for all users on Unix/Linux:

python setup.py build
sudo python setup.py install

For more detailed installation instructions, see the web page http://scikit-learn.org/stable/install.html

Development

Code

GIT

You can check the latest sources with the command:

git clone https://github.com/scikit-learn/scikit-learn.git

or if you have write privileges:

git clone git@github.com:scikit-learn/scikit-learn.git

Contributing

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

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

Testing

After installation, you can launch the test suite from outside the source directory (you will need to have the nose package installed):

$ nosetests -v sklearn

Under Windows, it is recommended to use the following command (adjust the path to the python.exe program) as using the nosetests.exe program can badly interact with tests that use multiprocessing:

C:\Python34\python.exe -c "import nose; nose.main()" -v sklearn

See the web page http://scikit-learn.org/stable/install.html#testing for more information.

Random number generation can be controlled during testing by setting the SKLEARN_SEED environment variable.

Release files for scikit-learn 0.17

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

Source distribution (sdist)

Source distribution for scikit-learn 0.17
File Size Uploaded
scikit-learn-0.17.tar.gz 7.8 MB Details

Built distributions (wheels)

Table of built distributions (wheels) for scikit-learn 0.17
File
scikit_learn-0.17-cp35-none-win_amd64.whl CPython 3.5 none Windows x86-64 Details
scikit_learn-0.17-cp35-none-win32.whl CPython 3.5 none Windows x86-32 Details
scikit_learn-0.17-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.10+ x86-64, macOS 10.9+ x86-64, macOS 10.10+ Intel (x86-64, i386), macOS 10.9+ Intel (x86-64, i386), macOS 10.6+ Intel (x86-64, i386) Details
scikit_learn-0.17-cp34-none-win_amd64.whl CPython 3.4 none Windows x86-64 Details
scikit_learn-0.17-cp34-none-win32.whl CPython 3.4 none Windows x86-32 Details
scikit_learn-0.17-cp34-cp34m-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.4 CPython 3.4 pymalloc macOS 10.9+ Intel (x86-64, i386), macOS 10.10+ x86-64, macOS 10.10+ Intel (x86-64, i386), macOS 10.6+ Intel (x86-64, i386), macOS 10.9+ x86-64 Details
scikit_learn-0.17-cp33-cp33m-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.3 CPython 3.3 pymalloc macOS 10.9+ x86-64, macOS 10.10+ x86-64, macOS 10.6+ Intel (x86-64, i386), macOS 10.9+ Intel (x86-64, i386), macOS 10.10+ Intel (x86-64, i386) Details
scikit_learn-0.17-cp27-none-win_amd64.whl CPython 2.7 none Windows x86-64 Details
scikit_learn-0.17-cp27-none-win32.whl CPython 2.7 none Windows x86-32 Details
scikit_learn-0.17-cp27-none-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl CPython 2.7 none macOS 10.9+ x86-64, macOS 10.10+ x86-64, macOS 10.10+ Intel (x86-64, i386), macOS 10.9+ Intel (x86-64, i386), macOS 10.6+ Intel (x86-64, i386) Details
scikit-learn-0.17.win-amd64-py3.5.exe Details
scikit-learn-0.17.win-amd64-py3.4.exe Details
scikit-learn-0.17.win-amd64-py2.7.exe Details
scikit-learn-0.17.win32-py3.5.exe Details
scikit-learn-0.17.win32-py3.4.exe Details
scikit-learn-0.17.win32-py2.7.exe Details

Total release size: 62.1 MB

Release files / scikit-learn-0.17.tar.gz

Download URL scikit-learn-0.17.tar.gz
Size 7.8 MB
Tags Source
SHA-256 checksum
How to use checksums
23a5b6804524cb2cd54d8310010169511c7633dcf69af7439747eec02677f314
BLAKE2b-256 checksum
How to use checksums
60b8c420dce3f72d95e06f7c1e50a6e705f4e8b6078d7d6db38425ac77ae3fab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / scikit_learn-0.17-cp35-none-win_amd64.whl

Download URL scikit_learn-0.17-cp35-none-win_amd64.whl
Size 3.3 MB
Tags CPython 3.5 Windows x86-64
SHA-256 checksum
How to use checksums
9e5ded17ccb3b87823536cac09328c33a622b9506627a75a9202209409b007b0
BLAKE2b-256 checksum
How to use checksums
6d215dc686dcb0705e3ab914427afc6a7b73e8241db8d5a67bd7962520fc7e5f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / scikit_learn-0.17-cp35-none-win32.whl

Download URL scikit_learn-0.17-cp35-none-win32.whl
Size 3.0 MB
Tags CPython 3.5 Windows x86-32
SHA-256 checksum
How to use checksums
907db5a2b3fa85c8fd597cbf751491c0e3ec7cae3835546050280f41c88d4e79
BLAKE2b-256 checksum
How to use checksums
17e39d6e812beabbc08fc5191a51f3a4d4fe0dfba26847b689d3de49f5729d5b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / scikit_learn-0.17-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.17-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 3.7 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
1376a774db99bdd1969d7a06e88d6bd9a9e1812cb8e6db2d35bd0da60a2b7a4d
BLAKE2b-256 checksum
How to use checksums
21fe3c7de60987f5ee5baa399ebc35afd8c28db13f804c4753c60564567e03c1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / scikit_learn-0.17-cp34-none-win_amd64.whl

Download URL scikit_learn-0.17-cp34-none-win_amd64.whl
Size 3.2 MB
Tags CPython 3.4 Windows x86-64
SHA-256 checksum
How to use checksums
d704ce1b7c761a04080bc3120e6764595324e6a5b0d1251b83f9c2dc4ae3142e
BLAKE2b-256 checksum
How to use checksums
e95492455f03dac66e1f50472dedfb375218d3cd3bada89395734f2116d18fe0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / scikit_learn-0.17-cp34-none-win32.whl

Download URL scikit_learn-0.17-cp34-none-win32.whl
Size 3.0 MB
Tags CPython 3.4 Windows x86-32
SHA-256 checksum
How to use checksums
fec9496cd413a600e197fddb4ad4519e2583d00fcc18ddc66660fed0691c7fa0
BLAKE2b-256 checksum
How to use checksums
01804d57f03974014074c589c6335a14c964134525cf55a1decde79469b3cb4f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / scikit_learn-0.17-cp34-cp34m-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.17-cp34-cp34m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
Size 3.7 MB
Tags CPython 3.4 CPython 3.4 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
c5650f657f83020d01b64b3c26646d7056749d56f76999b45c5fc11d4272efad
BLAKE2b-256 checksum
How to use checksums
1321159505ec74195f634f3e9cdae55ea032aa313a0d782dd1db8659f59bd8ec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / scikit_learn-0.17-cp33-cp33m-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.17-cp33-cp33m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
Size 3.7 MB
Tags CPython 3.3 CPython 3.3 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
c70fac790f94e1bb34160f2571959e35054597cfdb312fc886edc67d86499f85
BLAKE2b-256 checksum
How to use checksums
116c8e0be07d3bf38e58dac251d14a4f31e6f45324b97b04a0ca9b179a22af9f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / scikit_learn-0.17-cp27-none-win_amd64.whl

Download URL scikit_learn-0.17-cp27-none-win_amd64.whl
Size 3.4 MB
Tags CPython 2.7 Windows x86-64
SHA-256 checksum
How to use checksums
c74633d0a287d0c4f8f7bf4c880ade41089ab9b2a554277701fac6e0de484188
BLAKE2b-256 checksum
How to use checksums
508150287749f65128f51a0167df09cfd458f40660277b3ab8d88d17d958ec21
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / scikit_learn-0.17-cp27-none-win32.whl

Download URL scikit_learn-0.17-cp27-none-win32.whl
Size 3.1 MB
Tags CPython 2.7 Windows x86-32
SHA-256 checksum
How to use checksums
84a864b914c78f4d17880fac37a05ca3b194d3fedea71c01c28f38c01e72c942
BLAKE2b-256 checksum
How to use checksums
b4ddb9b1a05e2e6849eed9bf97e5d1ab9996c841874f7618bd6184fc832e14b3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / scikit_learn-0.17-cp27-none-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.17-cp27-none-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
Size 3.9 MB
Tags CPython 2.7 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
e432363254b994535f38dc4a34570941576eb1d386f5f9cda261e4e197228c2f
BLAKE2b-256 checksum
How to use checksums
0aa5f9f7aaa7b55a72195fcf85aa3e79495140bb2c6fff4c2655f56668a277de
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / scikit-learn-0.17.win-amd64-py3.5.exe

Download URL scikit-learn-0.17.win-amd64-py3.5.exe
Size 3.4 MB
Tags Source
SHA-256 checksum
How to use checksums
dd114970f51b1583f4b5651d1a2efa43b1ea90de0fa5d20b9f70fdb9ebf77463
BLAKE2b-256 checksum
How to use checksums
0ab2a65fce287b8eb851cfeecb52b6cf402502fd598aca4c190df2bf2988b639
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / scikit-learn-0.17.win-amd64-py3.4.exe

Download URL scikit-learn-0.17.win-amd64-py3.4.exe
Size 3.5 MB
Tags Source
SHA-256 checksum
How to use checksums
259a62d15e489f0f7dede8e5e83bb65e09d902bd2a0e740cf62751eeadd4f48d
BLAKE2b-256 checksum
How to use checksums
796ac316c0732a133c9fab341451c8a0dc24d55df28bd736e90fb62387ff2d74
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / scikit-learn-0.17.win-amd64-py2.7.exe

Download URL scikit-learn-0.17.win-amd64-py2.7.exe
Size 3.6 MB
Tags Source
SHA-256 checksum
How to use checksums
a261e403adf87db9cd0c319f1a2b0b7a17f49736d407677c3c5e06f987069b19
BLAKE2b-256 checksum
How to use checksums
85e69fc99eada970be6e27b01984fa8058fde9a12b01e619f49c4fa2580c0e2a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / scikit-learn-0.17.win32-py3.5.exe

Download URL scikit-learn-0.17.win32-py3.5.exe
Size 3.2 MB
Tags Source
SHA-256 checksum
How to use checksums
f132b4279f554840491ffab054f7df35ae1e3a837959e4f454e584ea31954db2
BLAKE2b-256 checksum
How to use checksums
8a0df995e6ba0959aa0b8bb23fdb7d57a15cb50c36393265c1aa5fcb8db89c7f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / scikit-learn-0.17.win32-py3.4.exe

Download URL scikit-learn-0.17.win32-py3.4.exe
Size 3.3 MB
Tags Source
SHA-256 checksum
How to use checksums
6437c2b6043d29d47ef5008540f55fdf53f26a525e62997cddaf4f199d56b019
BLAKE2b-256 checksum
How to use checksums
7ad93b3181e382927b09ecb633245ed240769877c55963ec3a8540e74c8d55a3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / scikit-learn-0.17.win32-py2.7.exe

Download URL scikit-learn-0.17.win32-py2.7.exe
Size 3.4 MB
Tags Source
SHA-256 checksum
How to use checksums
7a6e2b01bd463b789bc430c498b9aee6710dca77a4e4a331da61181d5764e78a
BLAKE2b-256 checksum
How to use checksums
f90ba4f8ac7455465ef6fc3ea38c4008fa374ad8865109a04e012c91a40d0281
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

1.9.1

43 release files

1.8.0

37 release files

1.7.1

26 release files

1.6.1

30 release files

1.5.2

26 release files

1.5.0

21 release files

1.4.0

41 release files

1.3.2

26 release files

1.3.1

26 release files

1.3.0

21 release files

1.2.1

21 release files

1.1.3

21 release files

1.1.1

18 release files

1.1.0

18 release files

1.0.2

32 release files

1.0.1

25 release files

1.0

25 release files

0.22

21 release files

0.18

20 release files

This release

0.17 This release

17 release files

0.14

1 release file

0.13.1

3 release files

0.13

3 release files

0.12

3 release files

0.11

3 release files

0.10

3 release files

0.9

3 release files

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