⛰️ 2D Rotated Quadratic Valley: Momentum, Nesterov and Jacobi Preconditioning versus Condition Number
Contour-map race of gradient descent, heavy ball, Nesterov and Jacobi preconditioning on a rotated quadratic valley, with sweeps of steps-to-tolerance against rotation angle and condition number, verified by exact eigen-contraction, heavy-ball and Nesterov spectral radii and a one-step Jacobi solve.
⚙ Under the hood
Contour-map race of gradient descent, heavy ball, Nesterov and Jacobi preconditioning on a rotated quadratic valley, with sweeps of steps-to-tolerance against rotation angle and condition number, verified by exact eigen-contraction, heavy-ball and Nesterov spectral radii and a one-step Jacobi solve.
OptimizationCondition NumberHeavy Ball MomentumNesterov AccelerationPreconditioningGradient DescentConvergence RateMachine Learning
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install