Finding the minima of a function can be reduced to finding the zeros of a function, specifically the first derivative of the cost function .
Let
be a differentiable multivariate function whose zeros we wish to find:
The goal is to change the value of by an amount
so that the function
is exactly zero.
Neglecting terms of at least quadratic order, the estimate of
that, to first order, brings the function
closer to zero is the solution to the linear system (4.38) subject to condition (4.37), that is,
| (4.40) |
For a single variable , Newton's method reduces to
| (4.41) |
In numerical analysis, this is the so-called Newton (or Newton-Raphson) method for finding the zeros of a function.
Points at which the gradient vanishes are called stationary points. Interior local maxima and minima belong to this class, but a stationary point may also be a saddle point.
This technique can therefore be used to find the stationary points of a function
by defining
| (4.42) |
In the specific case of optimization methods, the function is the cost function
.
Therefore, when the Hessian matrix of
is nonsingular, the parameter update equation is obtained
Paolo medici