| 19 | Bisection | Locate M, evaluate f′(M), then decide which half to keep. Read the corrected midpoint stopping certificate in the algorithm. |
| 21 | GD + line search | Match θ + tΔθ on the 2D contour with the same trial t on the 1D curve φ(t) = f(θ + tΔθ). |
| 22–25 | Convergence | Increase L while keeping μ fixed. Compare the measured error with the guaranteed bound. |
| 26–27 | Parallel gradients | Step through broadcast, local gradients, sum, and update. The regularizer is added once. |
| 29–32 | Learning rate | Find the threshold between shrinking oscillations and growing oscillations. |
| 33–35 | Momentum | Pause and compare the new gradient contribution with the stored movement. Locate Nesterov’s look-ahead point. |
| 36 | AdaGrad | Watch the squared-gradient sum and effective learning rate for each coordinate. |
| 37 | Adam | Compare first and second moments. Toggle bias correction at the first update. |
| 38 | Compare optimizers | Change the landscape or learning rates. Ask why the ranking changes. |
| 29–38 | GD to Adam: equations | Play the equation journey. Read why a term is added, compare the equations, then watch the numerical effect. Next method changes the concept being taught. |
| 42–43 | Newton: Taylor & update | Build the constant, linear and quadratic parts. Minimize the local model, then place the updated point on the true objective. |
| 44 | Newton: parallel cost | Aggregate local gradients and Hessians, then solve. Increase dimension to see dense storage and factorization scaling. |
| 46–48 | SGD: sample & update | Use n = 128 and |S| = 32. Compare the batch loss, scaled estimate and exact full loss; change sum to mean with the corresponding learning-rate conversion. |
| 49–50 | Perceptron & margin | Inspect a correct prediction whose margin is still too small. Explain why it receives an update. |
| 51 | SGD: convergence & noise | Compare a single noisy run, an average of 40 runs and the exact expectation. Switch from diminishing to constant steps. |
| 52 | Logistic regression | Compute score, probability, loss and gradient before updating. Change the right plot to inspect the two-dimensional weight path. |