9.

Simple Linear Regression

easy

Task

Learn linear regression for predicting continuous values, using the same fit/predict pattern.

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

LinearRegressionregressioncontinuous predictionR2 score

Command Palette

Search for a command to run...