LevenbergMarquardtMinimizerMinimum Method |
Non-linear least square fitting by the Levenberg-Marduardt algorithm.
Namespace: Altaxo.Calc.OptimizationAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic NonlinearMinimizationResult Minimum(
IObjectiveModel objective,
Vector<double> initialGuess,
Vector<double> lowerBound = null,
Vector<double> upperBound = null,
Vector<double> scales = null,
List<bool> isFixed = null,
double initialMu = 0,001,
double gradientTolerance = 1E-15,
double stepTolerance = 1E-15,
double functionTolerance = 1E-15,
int maximumIterations = -1
)
Parameters
- objective IObjectiveModel
- The objective function, including model, observations, and parameter bounds.
- initialGuess VectorDouble
- The initial guess values.
- lowerBound VectorDouble (Optional)
- The optional lower bounds for the parameters.
- upperBound VectorDouble (Optional)
- The optional upper bounds for the parameters.
- scales VectorDouble (Optional)
- The optional parameter scaling factors.
- isFixed ListBoolean (Optional)
- Optional flags indicating which parameters are fixed.
- initialMu Double (Optional)
- The initial damping parameter of mu.
- gradientTolerance Double (Optional)
- The stopping threshold for infinity norm of the gradient vector.
- stepTolerance Double (Optional)
- The stopping threshold for L2 norm of the change of parameters.
- functionTolerance Double (Optional)
- The stopping threshold for L2 norm of the residuals.
- maximumIterations Int32 (Optional)
- The max iterations.
Return Value
NonlinearMinimizationResultThe result of the Levenberg-Marquardt minimization
See Also