e01.org

Scikit-learn

scikit-learn (formerly scikits.learn and also known as sklearn) is a free and open-source machine learning library for the Python programming language. It features various classification, regression and clustering algorithms including support-vector machines, random forests, gradient boosting, k-means and DBSCAN, and is designed to interoperate with the Python numerical and scientific libraries NumPy and SciPy. Scikit-learn is a NumFOCUS fiscally sponsored project.

scikit-learn (formerly scikits.learn and also known as sklearn) is a free and open-source machine learning library for the Python programming language. It features various classification, regression and clustering algorithms including support-vector machines, random forests, gradient boosting, k-means and DBSCAN, and is designed to interoperate with the Python numerical and scientific libraries NumPy and SciPy. Scikit-learn is a NumFOCUS fiscally sponsored project. ==Overview== The scikit-learn project started as scikits.learn, a Google Summer of Code project by French data scientist David Cournapeau. The name of the project derives from its role as a "scientific toolkit for machine learning", originally developed and distributed as a third-party extension to SciPy. The original codebase was later rewritten by other developers. In 2010, contributors Fabian Pedregosa, Gaël Varoquaux, Alexandre Gramfort and Vincent Michel, from the French Institute for Research in Computer Science and Automation in Saclay, France, took leadership of the project and released the first public version of the library on February 1, 2010. In November 2012, scikit-learn as well as scikit-image were described as two of the "well-maintained and popular" . In 2019, it was noted that scikit-learn is one of the most popular machine learning libraries on GitHub. At that time, the project had over 1,400 contributors and the documentation received 42 million visits in 2018. According to a 2022 Kaggle survey of nearly 24,000 respondents from 173 countries, scikit-learn was identified as the most widely used machine learning framework. Fitting a random forest classifier: >>> from sklearn.ensemble import RandomForestClassifier >>> classifier = RandomForestClassifier(random_state=0) >>> X = [[ 1, 2, 3], # 2 samples, 3 features ... [11, 12, 13 >>> y = [0, 1] # classes of each sample >>> classifier.fit(X, y) RandomForestClassifier(random_state=0) ==Implementation== scikit-learn is largely written in Python, and uses NumPy extensively for high-performance linear algebra and array operations. Furthermore, some core algorithms are written in Cython to improve performance. Support vector machines are implemented by a Cython wrapper around LIBSVM; logistic regression and linear support vector machines by a similar wrapper around LIBLINEAR. In such cases, extending these methods with Python may not be possible. scikit-learn integrates well with many other Python libraries, such as Matplotlib and plotly for plotting, NumPy for array vectorization, Pandas dataframes, SciPy, and many more. ==See also== Comparison of machine learning software ==References== ==External links==

References

  1. ^ "Kaggle Machine Learning & Data Science Survey 2022" . Kaggle . Retrieved 2026-01-10 . Wikipedia revision 1367681758, retrieved 2026-11-19 · 1767999600.0
  2. ^ "Release Highlights for scikit-learn 1.0" . scikit-learn.org . Retrieved 2026-01-10 . Wikipedia revision 1367681758, retrieved 2026-11-19 · 1767999600.0
  3. ^ "Release Highlights for scikit-learn 1.8" . scikit-learn.org . Retrieved 2026-01-10 . Wikipedia revision 1367681758, retrieved 2026-11-19 · 1767999600.0
  4. ^ "The 2019 Inria-French Academy of Sciences-Dassault Systèmes Innovation Prize : scikit-learn , a success story for machine learning free software | Inria" . www.inria.fr . Retrieved 2025-03-19 . Wikipedia revision 1367681758, retrieved 2026-11-19 · 1742338800.0
  5. ^ Badolato, Anne-Marie (2022-02-07). "Open Science Awards for Open Source Research Software" . Ouvrir la Science . Retrieved 2025-03-19 . Wikipedia revision 1367681758, retrieved 2026-11-19 · 1742338800.0
  6. ^ "NumFOCUS Sponsored Projects" . NumFOCUS . Retrieved 2021-10-25 . Wikipedia revision 1367681758, retrieved 2026-11-19 · 1635116400.0
  7. ^ Dreijer, Janto. "scikit-learn" . Archived from the original on 2020-11-07 . Retrieved 2015-03-04 . Wikipedia revision 1367681758, retrieved 2026-11-19 · 1425423600.0
  8. ^ "About us — scikit-learn 0.20.1 documentation" . scikit-learn.org . Wikipedia revision 1367681758, retrieved 2026-11-19 · 1795042800.0
  9. ^ Eli Bressert (2012). SciPy and NumPy: an overview for developers . O'Reilly. p. 43. ISBN 978-1-4493-6162-4 . Wikipedia revision 1367681758, retrieved 2026-11-19 · 1795042800.0
  10. ^ "The State of the Octoverse: machine learning" . The GitHub Blog . GitHub . 2019-01-24 . Retrieved 2019-10-17 . Wikipedia revision 1367681758, retrieved 2026-11-19 · 1571266800.0
  11. ^ "The 2019 Inria-French Academy of Sciences-Dassault Systèmes Innovation Prize : scikit-learn , a success story for machine learning free software" . www.inria.fr . Retrieved 2026-01-10 . Wikipedia revision 1367681758, retrieved 2026-11-19 · 1767999600.0
  12. ^ Fabian Pedregosa; Gaël Varoquaux; Alexandre Gramfort; Vincent Michel; Bertrand Thirion; Olivier Grisel; Mathieu Blondel; Peter Prettenhofer; Ron Weiss; Vincent Dubourg; Jake Vanderplas; Alexandre Passos; David Cournapeau; Matthieu Perrot; Édouard Duchesnay (2011). "scikit-learn: Machine Learning in Python" . Journal of Machine Learning Research . 12 : 2825– 2830. arXiv : 1201.0490 . Bibcode : 2011JMLR...12.2825P . Wikipedia revision 1367681758, retrieved 2026-11-19 · 1795042800.0
  13. ^ a b "Release History for scikit-learn" . pypi.org/ . Retrieved 2026-01-10 . Wikipedia revision 1367681758, retrieved 2026-11-19 · 1767999600.0
  14. ^ a b c d e f g h i j k l m n o p q r s "Testimonials" . scikit-learn.org . Retrieved 2025-08-06 . Wikipedia revision 1367681758, retrieved 2026-11-19 · 1754434800.0
  15. ^ "The scikit-learn Open Source Project on Open Hub: Languages Page" . Open Hub . Retrieved 14 July 2018 . Wikipedia revision 1367681758, retrieved 2026-11-19 · 1795042800.0
  16. ^ "Release 1.9.1" . 11 September 2026 . Retrieved 11 September 2026 . Wikipedia revision 1367681758, retrieved 2026-11-19 · 1795042800.0
source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"Scikit-learn". 1785848263. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1367681758

JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy