We now consider a generic unconstrained function-modeling (optimization) problem, applicable, for example, to classification problems in computer vision. The considerations presented in this section apply to the least-squares case but can be extended to a generic loss function.
Let be the set of data involved in the modeling operation, consisting of a pair
composed of an arbitrary input
and the output
.
Let
be the cost function (loss function) that returns the quality of the estimate on
.
The goal is to find the weights
that parameterize the function
and minimize a cost function
In the case of additive normal Gaussian error, the maximum-likelihood estimator is the quadratic loss function of equation (4.6):
| (4.28) |
In practical applications, it is almost never possible to obtain the minimum of the function in closed form. It is therefore necessary to use suitable iterative methods which, starting from an initial state and moving along appropriate directions
, gradually approach the minimum of the objective function.