The fit and predict Contract
The API shared by every estimator.
Meet the Estimator
In scikit-learn, every model is an estimator: one object you create, teach, and then ask for answers. Same shape, every time. 🤖
Two Verbs to Remember
The whole library rests on two methods: fit to learn from data, and predict to use what it learned. Master these and you can use almost any model.
All lessons in this course
- The fit and predict Contract
- Features X and Target y
- Train a Linear Regression
- Score Your First Model