0PricingLogin
Data Science Academy · Lesson

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

  1. The fit and predict Contract
  2. Features X and Target y
  3. Train a Linear Regression
  4. Score Your First Model
← Back to Data Science Academy