Learn Before
Example
One-Dimensional Gradient Descent on a Quadratic
To illustrate one-dimensional gradient descent concretely, consider minimizing the objective function , whose derivative is . Although the minimum at is known analytically, applying gradient descent with an initial value of and a learning rate of demonstrates how the iterative update drives toward the optimum. After iterations, reaches approximately 0.0605, confirming that the algorithm steadily reduces the function value and converges close to the true minimum.
0
1
Updated 2026-05-15
Tags
D2L
Dive into Deep Learning @ D2L