Gradient Descent Visualizer
An interactive gradient descent visualiser for linear regression. Change the learning rate and see how it affects training.
How to use the gradient descent visualizer
- 1The green line starts in the wrong place on purpose.
- 2Press One step to move it slightly downhill on the loss.
- 3Press Run to repeat until it stops improving.
- 4Raise the learning rate past 1.3 to watch training diverge.
Private by design: this tool runs entirely in your browser. Nothing you type is sent to our servers.