Documentation of 'org.ddogleg.optimization.FactoryOptimization' Java class
FactoryOptimization
org.ddogleg.optimization

Class FactoryOptimization



  • public class FactoryOptimization
    extends java.lang.Object
    Creates optimization algorithms using easy to use interfaces. These implementations/interfaces are designed to be easy to use and effective for most tasks. If more control is needed then create an implementation directly.
    • Constructor Detail

      • FactoryOptimization

        public FactoryOptimization()
    • Method Detail

      • unconstrained

        public static UnconstrainedMinimization unconstrained()

        Creates a solver for the unconstrained minimization problem. Here a function has N parameters and a single output. The goal is the minimize the output given the function and its derivative.

        Returns:
        UnconstrainedMinimization
      • leastSquaresLM

        public static UnconstrainedLeastSquares leastSquaresLM(double dampInit,
                                                               boolean robust)

        Unconstrained least squares Levenberg-Marquardt (LM) optimizer for dense problems. There are many different variants of LM and this function provides an easy to use interface for selecting and configuring them. Scaling of function parameters and output might be needed to ensure good results.

        Parameters:
        dampInit - Initial value of dampening parameter. Tune. Start at around 1e-3.
        robust - If true a slower, more robust algorithm that can handle more degenerate cases will be used.
        Returns:
        UnconstrainedLeastSquares
      • leastSquareLevenberg

        public static UnconstrainedLeastSquares leastSquareLevenberg(double dampInit)

        Unconstrained least squares Levenberg optimizer for dense problems.

        Parameters:
        dampInit - Initial value of dampening parameter. Tune. Start at around 1e-3.
        Returns:
        UnconstrainedLeastSquares
      • leastSquaresTrustRegion

        public static UnconstrainedLeastSquares leastSquaresTrustRegion(double regionSize,
                                                                        RegionStepType type,
                                                                        boolean robustSolver)
        Creates a trust region based optimization algorithm for least squares problem.
        Parameters:
        regionSize - Maximum radius of the trust region.
        type - The type of trust region
        robustSolver - If true then a lower but more robust solver which can handle singularities, otherwise a much faster one if used.
        Returns:
        UnconstrainedLeastSquares
        See Also:
        TrustRegionLeastSquares

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.