Tracing Gradient Descent on a Parabola
Imagine a simple 1D function . Your goal is to find the minimum of this function using Gradient Descent.
- Derive the gradient: What is ?
- Perform a few steps: Starting at , and using a learning rate , calculate the next three steps ().
- Intuition: Describe in your own words what is happening at each step. How does the magnitude of the gradient influence the step size?
- Verification: You can plot the function and mark the points you calculated. Also, find the analytical minimum of the function and compare it to your result after a few steps. Does it converge towards the minimum?