Closed asheynis closed 9 months ago
Good catch, @asheynis. I added the following note to the Loom video description/summary:
Update: The code for the intercept at 17:20 is incorrect. It should be mean_Y - slope * mean_X.
I'll leave this issue open until next week for those who still need to go through the video.
In the Lecture 33 video, for the last example where we code up the body of the predict function, you code the calculation of the intercept variable as "intercept = mean_X - slope * mean_X". The bolded "X" should be "Y".