scikit-learn

noun

say it: “SY-kit lurn” /ˈsaɪkɪt lɝn/

A free Python package of ready-made machine learning models, with tools to prepare data and to measure how good a model's guesses are.

What is scikit-learn?

scikit-learn is the Python package most people use for machine learning: ready-made models, tools to split and prepare data, and scores that measure how good a model's guesses are. You install it as scikit-learn and import it as sklearn.

import sklearn
from sklearn.linear_model import LinearRegression   # one of its models
print(sklearn.__version__)   # 1.9.1

In a sentence

  • “She installed scikit-learn in the project's virtual environment before training her first model.”
  • “Every model in scikit-learn learns with fit() and guesses with predict().”

Level: Apprentice · More Python terms at this level

Updated