4.

The Fit/Predict Pattern

easy

Task

Master sklearn's core API pattern: create a model, fit it on training data, then predict on new data.

Instructions

  1. Read through the code and understand the setup
  2. Complete the TODO sections in the code
  3. Click Run or press Ctrl+Enter to execute
  4. Click Done when finished

Concepts

fitpredictestimator APImodel training

Documentation

Command Palette

Search for a command to run...