Starting weight Updated weight
L(w) = (w − 2)2. At w = 0.5, the gradient is −3.
New w = 0.5 − 0.10 × (−3) = 0.80
Loss: 2.250 → 1.440
The step moves toward the minimum and lowers the loss.
L(w) = (w − 2)2. At w = 0.5, the gradient is −3.
New w = 0.5 − 0.10 × (−3) = 0.80
Loss: 2.250 → 1.440
The step moves toward the minimum and lowers the loss.