Glossary · Phase 3 · Machine learning
Estimator
scikit-learn's name for anything with a fit method: models, scalers and whole pipelines.
An estimator is anything that learns from data. It always learns with the same button,
fit. You give it the inputs, calledX. For most models you also give it the answers, calledy. HereXis the table of features andyis the column you want to predict, such as whether a customer left.
Try it now
Every scikit-learn project follows this shape. Fit and predict look the same for every model.
Learn it properly
The scikit-learn workflow · Fit, predict and evaluate with the standard ML library. About 35 minutes.
Other terms from the same lesson
- ColumnTransformer: A scikit-learn step that prepares different columns in different ways, such as scaling numbers and one-hot encoding categories.
- data drift: When the data a model sees in use slowly stops looking like the data it learned from, so its accuracy quietly falls.
- scikit-learn: A popular Python library of ready-made machine-learning models and tools.
Never trained an AI?
Teach a small one to write, right in your browser. It takes about 20 seconds and needs no account.