HMHumberto MouraHM Labs
← HM Labs

HM LABS / 002

Gradient descent

Observe how the learning rate changes convergence on a quadratic loss.

L(x) = x² / 2; xₜ₊₁ = xₜ − ηxₜ

Lt8.000

x = 0.225 · L = 0.025 · Converges to zero

For this quadratic, 0 < η < 2 guarantees convergence; this is not a universal rule.

Other experiments