Linear Regression

m:
b:

Cost:
Minimize the value in Cost, by playing with the sliders for m and b!
(Hint: the red line must fit best trough the gray dots)