Solving Problems with the Gradient and the Hessian
Learn to solve problems using gradients and Hessians.
We'll cover the following
We know the candidate points are those in which the gradient has all its entries equal to zero. Therefore, for each point, we do a test with the Hessian so we can determine if the point is a minimum, a maximum, or neither.
Getting the candidate points with Python
Let’s break the code into pieces. We’re going to calculate the gradient first and the points that make it zero. The function will be .
Get hands-on with 1400+ tech skills courses.