concept gradient ascent in category python
appears as: gradient ascent, gradient ascent, gradient ascents

This is an excerpt from Manning's book Math for Programmers: 3D graphics, machine learning, and simulations with Python MEAP V11.
Figure 12.27: The starting and ending points for the gradient ascent
![]()
To get a better sense of how the algorithm works, we can track the trajectory of the gradient ascent through the 𝜃, 𝜙 plane. This is similar to how we tracked the time and position values as we iterated through Euler’s method: