Gradient Descent

Roll downhill by following −∇f
0.100
Step size along the gradient.
0.85
6 /s
Click anywhere on the surface to drop the ball there.
θt+1 = θt − α ∇f(θt)
iteration0
position (x, y)—
loss f(θ)—
gradient ∇f—
‖∇f‖—
step size—
loss vs. iteration—
Drag to orbit  ·  Scroll to zoom  ·  Click surface to reposition  ·  Space play/pause  ·  R reset