SchoolWhool
Quizzes and saved progress, freeSign in freeSign in

ML 3.1Free videoLesson 1 of 7 in Module 3

Simple Linear Regression

Predict a number from one feature with a straight line, choose the line that minimises squared error, and read what its slope and intercept say.

Watch the lesson: Simple Linear Regression

In this lesson12 parts

  1. 01Fuel economy from weight
  2. 02The training cars
  3. 03The mean as the baseline
  4. 04A line and its residuals
  5. 05Two numbers to choose
  6. 06Squared error
  7. 07Both partial derivatives at zero
  8. 08Predicting a car
  9. 09RMSE and R squared on the fitted rows
  10. 10Where a straight line goes wrong
  11. 11From scratch, then the library
  12. 12Recap, your challenge, and what comes next

Builds on

This lesson stands on its own. These go deeper into what it uses.