Class ConfigGaussNewton
java.lang.Object
org.ddogleg.optimization.ConfigGaussNewton
- Direct Known Subclasses:
ConfigLevenbergMarquardt, ConfigTrustRegion
Configuration for
GaussNewtonBase_F64.-
Field Summary
FieldsModifier and TypeFieldDescriptiondoubletolerance for termination, change in function value.doubletolerance for termination.booleanOptional scaling of Jacobian to make the Hessian matrix better suited for decomposition by improving the matrice's condition scaling = sqrt(diag(B)) where B is the Hessian matrix.Which linear solver should it use internally. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidChecks to see if the config is valid and throws an excepton if notstatic voidcheckFtol(double ftol) voidreset()setTo(ConfigGaussNewton config)
-
Field Details
-
gtol
public double gtoltolerance for termination. magnitude of gradient. absolute -
ftol
public double ftoltolerance for termination, change in function value. relative -
hessianScaling
public boolean hessianScalingOptional scaling of Jacobian to make the Hessian matrix better suited for decomposition by improving the matrice's condition scaling = sqrt(diag(B)) where B is the Hessian matrix. For Least-Squares B = J'*J -
solverType
Which linear solver should it use internally. Default will be what most people will use, but other choices could be faster or more stable. If the specific implementation does not use a linear solver this must be default.
-
-
Constructor Details
-
ConfigGaussNewton
public ConfigGaussNewton()
-
-
Method Details
-
checkConfig
public void checkConfig()Checks to see if the config is valid and throws an excepton if not -
checkFtol
public static void checkFtol(double ftol) -
setTo
-
reset
public void reset()
-