• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

doc/H25-Dec-2021-63,04047,805

examples/H03-May-2022-38,81624,764

sklearn/H25-Dec-2021-307,770235,419

.coveragercH A D25-Dec-2021150 109

COPYINGH A D25-Dec-20211.5 KiB3023

MANIFEST.inH A D25-Dec-2021941 3432

MakefileH A D25-Dec-20211.6 KiB6946

PKG-INFOH A D25-Dec-20218.6 KiB237173

README.rstH A D25-Dec-20217.2 KiB201140

conftest.pyH A D25-Dec-2021388 70

pyproject.tomlH A D25-Dec-20211.1 KiB3934

setup.cfgH A D25-Dec-20212.2 KiB7364

setup.pyH A D25-Dec-202110.8 KiB320218

README.rst

1.. -*- mode: rst -*-
2
3|Azure|_ |Travis|_ |Codecov|_ |CircleCI|_ |Nightly wheels|_ |Black|_ |PythonVersion|_ |PyPi|_ |DOI|_ |Benchmark|_
4
5.. |Azure| image:: https://dev.azure.com/scikit-learn/scikit-learn/_apis/build/status/scikit-learn.scikit-learn?branchName=main
6.. _Azure: https://dev.azure.com/scikit-learn/scikit-learn/_build/latest?definitionId=1&branchName=main
7
8.. |CircleCI| image:: https://circleci.com/gh/scikit-learn/scikit-learn/tree/main.svg?style=shield&circle-token=:circle-token
9.. _CircleCI: https://circleci.com/gh/scikit-learn/scikit-learn
10
11.. |Travis| image:: https://api.travis-ci.com/scikit-learn/scikit-learn.svg?branch=main
12.. _Travis: https://app.travis-ci.com/github/scikit-learn/scikit-learn
13
14.. |Codecov| image:: https://codecov.io/gh/scikit-learn/scikit-learn/branch/main/graph/badge.svg?token=Pk8G9gg3y9
15.. _Codecov: https://codecov.io/gh/scikit-learn/scikit-learn
16
17.. |Nightly wheels| image:: https://github.com/scikit-learn/scikit-learn/workflows/Wheel%20builder/badge.svg?event=schedule
18.. _`Nightly wheels`: https://github.com/scikit-learn/scikit-learn/actions?query=workflow%3A%22Wheel+builder%22+event%3Aschedule
19
20.. |PythonVersion| image:: https://img.shields.io/badge/python-3.7%20%7C%203.8%20%7C%203.9-blue
21.. _PythonVersion: https://img.shields.io/badge/python-3.7%20%7C%203.8%20%7C%203.9-blue
22
23.. |PyPi| image:: https://img.shields.io/pypi/v/scikit-learn
24.. _PyPi: https://pypi.org/project/scikit-learn
25
26.. |Black| image:: https://img.shields.io/badge/code%20style-black-000000.svg
27.. _Black: https://github.com/psf/black
28
29.. |DOI| image:: https://zenodo.org/badge/21369/scikit-learn/scikit-learn.svg
30.. _DOI: https://zenodo.org/badge/latestdoi/21369/scikit-learn/scikit-learn
31
32.. |Benchmark| image:: https://img.shields.io/badge/Benchmarked%20by-asv-blue
33.. _`Benchmark`: https://scikit-learn.org/scikit-learn-benchmarks/
34
35.. |PythonMinVersion| replace:: 3.7
36.. |NumPyMinVersion| replace:: 1.14.6
37.. |SciPyMinVersion| replace:: 1.1.0
38.. |JoblibMinVersion| replace:: 0.11
39.. |ThreadpoolctlMinVersion| replace:: 2.0.0
40.. |MatplotlibMinVersion| replace:: 2.2.3
41.. |Scikit-ImageMinVersion| replace:: 0.14.5
42.. |PandasMinVersion| replace:: 0.25.0
43.. |SeabornMinVersion| replace:: 0.9.0
44.. |PytestMinVersion| replace:: 5.0.1
45
46.. image:: https://raw.githubusercontent.com/scikit-learn/scikit-learn/main/doc/logos/scikit-learn-logo.png
47  :target: https://scikit-learn.org/
48
49**scikit-learn** is a Python module for machine learning built on top of
50SciPy and is distributed under the 3-Clause BSD license.
51
52The project was started in 2007 by David Cournapeau as a Google Summer
53of Code project, and since then many volunteers have contributed. See
54the `About us <https://scikit-learn.org/dev/about.html#authors>`__ page
55for a list of core contributors.
56
57It is currently maintained by a team of volunteers.
58
59Website: https://scikit-learn.org
60
61Installation
62------------
63
64Dependencies
65~~~~~~~~~~~~
66
67scikit-learn requires:
68
69- Python (>= |PythonMinVersion|)
70- NumPy (>= |NumPyMinVersion|)
71- SciPy (>= |SciPyMinVersion|)
72- joblib (>= |JoblibMinVersion|)
73- threadpoolctl (>= |ThreadpoolctlMinVersion|)
74
75=======
76
77**Scikit-learn 0.20 was the last version to support Python 2.7 and Python 3.4.**
78scikit-learn 0.23 and later require Python 3.6 or newer.
79scikit-learn 1.0 and later require Python 3.7 or newer.
80
81Scikit-learn plotting capabilities (i.e., functions start with ``plot_`` and
82classes end with "Display") require Matplotlib (>= |MatplotlibMinVersion|).
83For running the examples Matplotlib >= |MatplotlibMinVersion| is required.
84A few examples require scikit-image >= |Scikit-ImageMinVersion|, a few examples
85require pandas >= |PandasMinVersion|, some examples require seaborn >=
86|SeabornMinVersion|.
87
88User installation
89~~~~~~~~~~~~~~~~~
90
91If you already have a working installation of numpy and scipy,
92the easiest way to install scikit-learn is using ``pip``   ::
93
94    pip install -U scikit-learn
95
96or ``conda``::
97
98    conda install -c conda-forge scikit-learn
99
100The documentation includes more detailed `installation instructions <https://scikit-learn.org/stable/install.html>`_.
101
102
103Changelog
104---------
105
106See the `changelog <https://scikit-learn.org/dev/whats_new.html>`__
107for a history of notable changes to scikit-learn.
108
109Development
110-----------
111
112We welcome new contributors of all experience levels. The scikit-learn
113community goals are to be helpful, welcoming, and effective. The
114`Development Guide <https://scikit-learn.org/stable/developers/index.html>`_
115has detailed information about contributing code, documentation, tests, and
116more. We've included some basic information in this README.
117
118Important links
119~~~~~~~~~~~~~~~
120
121- Official source code repo: https://github.com/scikit-learn/scikit-learn
122- Download releases: https://pypi.org/project/scikit-learn/
123- Issue tracker: https://github.com/scikit-learn/scikit-learn/issues
124
125Source code
126~~~~~~~~~~~
127
128You can check the latest sources with the command::
129
130    git clone https://github.com/scikit-learn/scikit-learn.git
131
132Contributing
133~~~~~~~~~~~~
134
135To learn more about making a contribution to scikit-learn, please see our
136`Contributing guide
137<https://scikit-learn.org/dev/developers/contributing.html>`_.
138
139Testing
140~~~~~~~
141
142After installation, you can launch the test suite from outside the source
143directory (you will need to have ``pytest`` >= |PyTestMinVersion| installed)::
144
145    pytest sklearn
146
147See the web page https://scikit-learn.org/dev/developers/advanced_installation.html#testing
148for more information.
149
150    Random number generation can be controlled during testing by setting
151    the ``SKLEARN_SEED`` environment variable.
152
153Submitting a Pull Request
154~~~~~~~~~~~~~~~~~~~~~~~~~
155
156Before opening a Pull Request, have a look at the
157full Contributing page to make sure your code complies
158with our guidelines: https://scikit-learn.org/stable/developers/index.html
159
160Project History
161---------------
162
163The project was started in 2007 by David Cournapeau as a Google Summer
164of Code project, and since then many volunteers have contributed. See
165the `About us <https://scikit-learn.org/dev/about.html#authors>`__ page
166for a list of core contributors.
167
168The project is currently maintained by a team of volunteers.
169
170**Note**: `scikit-learn` was previously referred to as `scikits.learn`.
171
172Help and Support
173----------------
174
175Documentation
176~~~~~~~~~~~~~
177
178- HTML documentation (stable release): https://scikit-learn.org
179- HTML documentation (development version): https://scikit-learn.org/dev/
180- FAQ: https://scikit-learn.org/stable/faq.html
181
182Communication
183~~~~~~~~~~~~~
184
185- Mailing list: https://mail.python.org/mailman/listinfo/scikit-learn
186- Gitter: https://gitter.im/scikit-learn/scikit-learn
187- Twitter: https://twitter.com/scikit_learn
188- Twitter (commits): https://twitter.com/sklearn_commits
189- Stack Overflow: https://stackoverflow.com/questions/tagged/scikit-learn
190- Github Discussions: https://github.com/scikit-learn/scikit-learn/discussions
191- Website: https://scikit-learn.org
192- LinkedIn: https://www.linkedin.com/company/scikit-learn
193- YouTube: https://www.youtube.com/channel/UCJosFjYm0ZYVUARxuOZqnnw/playlists
194- Facebook: https://www.facebook.com/scikitlearnofficial/
195- Instagram: https://www.instagram.com/scikitlearnofficial/
196
197Citation
198~~~~~~~~
199
200If you use scikit-learn in a scientific publication, we would appreciate citations: https://scikit-learn.org/stable/about.html#citing-scikit-learn
201