Linear regression: Parameters exercise

The graph below plots 20 examples from a fuel-efficiency dataset, with the feature (car heaviness in thousands of pounds) plotted on the x-axis and the label (miles per gallon) plotted on the y-axis.

Your task: Adjust the Weight and Bias sliders above the graph to find the linear model that minimizes MSE loss on the data.

Questions to consider:

  • What is the lowest MSE you can achieve?
  • What weight and bias values produced this loss?