Labs / Computer Science

Gradient Descent

A straight line is trying to fit a cloud of points. On the left it nudges its slope and intercept to shrink the total squared error; on the right, those same two numbers are a marble rolling downhill on the loss surface. Add your own points, change the learning rate, and step or run the descent.

m b MSE descending

What to try