# Package org.apache.commons.math3.fitting.leastsquares

This package provides algorithms that minimize the residuals between observations and model values.

See: Description

Interface Summary Interface Description WithConvergenceChecker<PAIR,T> Interface for "fluent-API" that advertizes a capability of the optimizer.WithMaxEvaluations<T> Interface for "fluent-API" that advertizes a capability of the optimizer.WithMaxIterations<T> Interface for "fluent-API" that advertizes a capability of the optimizer.WithModelAndJacobian<T> Interface for "fluent-API" that advertizes a capability of the optimizer.WithStartPoint<T> Interface for "fluent-API" that advertizes a capability of the optimizer.WithTarget<T> Interface for "fluent-API" that advertizes a capability of the optimizer.WithWeight<T> Interface for "fluent-API" that advertizes a capability of the optimizer.Class Summary Class Description AbstractLeastSquaresOptimizer<OPTIM extends AbstractLeastSquaresOptimizer<OPTIM>> Base class for implementing least-squares optimizers.GaussNewtonOptimizer Gauss-Newton least-squares solver.LevenbergMarquardtOptimizer This class solves a least-squares problem using the Levenberg-Marquardt algorithm.

## Package org.apache.commons.math3.fitting.leastsquares Description

This package provides algorithms that minimize the residuals between observations and model values. The

Algorithms in this category need access to a

The algorithms implemented in this package also require that the user specifies the Jacobian matrix of the model (represented by a

`non-linear least-squares optimizers`

minimize the distance (called *cost*or*χ*) between model and observations.^{2}Algorithms in this category need access to a

*model function*(represented by a`MultivariateVectorFunction`

). Such a model predicts a set of values which the algorithm tries to match with a set of given set of `observed values`

. The algorithms implemented in this package also require that the user specifies the Jacobian matrix of the model (represented by a

`MultivariateMatrixFunction`

).**SCaVis 1.8 © jWork.org**