The Levenberg-Marquardt Algorithm
This notebook implements LM from scratch and validates the theoretical claims: the LM step interpolates between Gauss-Newton and gradient descent; the gain ratio drives λ updates; the algorithm converges to the true solution on a non-linear test problem.