—
Gradient descent on a quadratic
Tutor me on https://mlprep.iwase.dev/item/original-ml-gd/. If window.mlPrepAgent is available, read attempts for item original-ml-gd before tutoring. Inspect my attempt, keep the item ID, and do not reveal the full answer first. After a real attempt, append its record with recorded_by agent, include agent_session_id when available, and read it back.Problem
For , start at . Compute for learning rates and . Explain which update moves toward the minimizer and why overly large learning rates can diverge.
Reveal answer or reference solution
The gradient at is . With , . With , , overshooting . For this quadratic, convergence requires ; larger steps amplify error.
Local history
Loading attempts saved in this browser…