Skip to content

Home / Glossary / scikit-learn

Python

scikit-learn

Python ML library: classifiers, regressors, scalers, pipelines.

scikit-learn provides a consistent API for machine learning: fit → predict → score. It includes logistic regression, random forests, SVMs, cross-validation, and feature preprocessing tools.

Example

from sklearn.linear_model import LogisticRegression
model = LogisticRegression().fit(X_train, y_train)

Related terms