In this exercise, you'll revisit the graph of fuel-efficiency data from the Parameters exercise. But this time, you'll use gradient descent to learn the optimal weight and bias values for a linear model that minimizes loss.
Complete the three tasks below the graph.
Task #1: Adjust the Learning Rate slider below the graph to set a learning rate of 0.03. Click the Start button to run gradient descent.
How long does the model training take to converge (reach a stable minimum loss value)? What is the MSE value at model convergence? What weight and bias values produce this value?
Task #2: Click the Reset button below the graph to reset the Weight and Bias values in the graph. Adjust the Learning Rate slider to a value around 1.10e–5. Click the Start button to run gradient descent.
What do you notice about how long it takes the model training to converge this time?
Task #3: Click the Reset button below the graph to reset the Weight and Bias values in the graph. Adjust the Learning Rate slider up to 1. Click the Start button to run gradient descent.
What happens to the loss values as gradient descent runs? How long will model training take to converge this time?