{
  "id": "enwiki-001367681758",
  "slug": "scikit-learn",
  "title": "Scikit-learn",
  "qid": "",
  "lead": "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.",
  "body": "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==",
  "categories": [
    "106452239",
    "106844755",
    "1868484",
    "20161280",
    "22985424",
    "22985545",
    "23118434",
    "23515626",
    "23528938",
    "23556908",
    "23603337",
    "25126254",
    "25257582",
    "33243125",
    "45928217",
    "60231916"
  ],
  "license": "CC BY-SA 4.0",
  "source_uri": "https://en.wikipedia.org/w/index.php?oldid=1367681758",
  "content_hash": "",
  "created_at": null,
  "updated_at": 1785848263.0,
  "claims": [
    {
      "id": 31955795,
      "subject_qid": "",
      "subject_slug": "scikit-learn",
      "predicate": "release date",
      "object_text": "2010-02-01",
      "object_num": 20100201.0,
      "object_unit": null,
      "polarity": 1,
      "qualifier": "",
      "source_uri": "https://en.wikipedia.org/w/index.php?oldid=1367681758",
      "source_name": "Wikipedia",
      "source_tier": 3,
      "retrieved_at": 1792512717.7019486,
      "confidence": 0.95,
      "article_slug": "scikit-learn",
      "span_start": 223,
      "span_end": 271
    }
  ],
  "contradictions": [],
  "confidence": 0.95,
  "csl": {
    "id": "enwiki-001367681758",
    "type": "webpage",
    "title": "Scikit-learn",
    "author": [
      {
        "family": "Anticloud FZ LLE",
        "literal": "Anticloud FZ LLE"
      }
    ],
    "container-title": "encyclopegia.org",
    "publisher": "Anticloud FZ LLE",
    "publisher-place": "Dubai, United Arab Emirates",
    "URL": "https://encyclopegia.org/a/scikit-learn",
    "issued": {
      "date-parts": [
        [
          2026,
          11,
          19
        ]
      ]
    },
    "accessed": {
      "date-parts": [
        [
          2026,
          11,
          19
        ]
      ]
    },
    "license": "CC BY-SA 4.0",
    "DOI": "eo1:enwiki-001367681758",
    "isBasedOn": "https://en.wikipedia.org/w/index.php?oldid=1367681758",
    "note": "Immutable snapshot enwiki-001367681758"
  }
}