Estimator

In scikit-learn, an estimator is an object that learns from data through the fit method. They all follow the same interface: hyperparameters set at creation, learned attributes ending with an underscore (coef_), and predict or transform methods. This consistency makes models interchangeable.

Example

from sklearn.linear_model import LinearRegression
modele = LinearRegression()

Related concepts

The whole glossary