public class GaussNewtonOptimizer extends AbstractLeastSquaresOptimizer
This class solve a least-square problem by solving the normal equations of the linearized problem at each iteration. Either LU decomposition or QR decomposition can be used to solve the normal equations. LU decomposition is faster but QR decomposition is more robust for difficult problems.
DEFAULT_MAX_ITERATIONS
Constructor and Description |
---|
GaussNewtonOptimizer(boolean useLU)
Simple constructor with default settings.
|
Modifier and Type | Method and Description |
---|---|
VectorialPointValuePair |
doOptimize()
Perform the bulk of optimization algorithm.
|
getChiSquare, getConvergenceChecker, getCovariances, getEvaluations, getIterations, getJacobianEvaluations, getMaxEvaluations, getMaxIterations, getRMS, guessParametersErrors, optimize, setConvergenceChecker, setMaxEvaluations, setMaxIterations
public GaussNewtonOptimizer(boolean useLU)
The convergence check is set to a SimpleVectorialValueChecker
and the maximal number of evaluation is set to
AbstractLeastSquaresOptimizer.DEFAULT_MAX_ITERATIONS
.
useLU
- if true, the normal equations will be solved using LU
decomposition, otherwise they will be solved using QR decompositionpublic VectorialPointValuePair doOptimize() throws FunctionEvaluationException, OptimizationException, java.lang.IllegalArgumentException
FunctionEvaluationException
- if the objective function throws one during
the searchOptimizationException
- if the algorithm failed to convergejava.lang.IllegalArgumentException
- if the start point dimension is wrongCopyright © 2010 - 2020 Adobe. All Rights Reserved