Search Results for

    Show / Hide Table of Contents

    Class LBFGS

    Implements the LBFGS compact Quasi-Newton solver.

    Inheritance
    Object
    BFGS
    LBFGS
    LBFGSArray
    Inherited Members
    BFGS.lineSearch
    BFGS.epsilon
    BFGS.iter
    BFGS.stepMax
    BFGS.maxIterations
    BFGS.initialStep
    BFGS.cancel
    BFGS.dimension
    BFGS.currentX
    BFGS.searchDir
    BFGS.currentDeriv
    BFGS.feval
    BFGS.currentObj
    BFGS.debug
    BFGS.linesearchDebug
    BFGS.convergenceCriteria
    BFGS.IterationsPerformed
    BFGS.Epsilon
    BFGS.MaximumStep
    BFGS.InitialStep
    BFGS.MaximumIterations
    BFGS.Cancel
    BFGS.SetWolfeConstants(Double, Double)
    BFGS.LSEval(Double, Boolean, Double)
    BFGS.TryLineSearch(Double, Double, Double)
    BFGS.RaiseIterationEvent(Int32, Double, Double)
    BFGS.OnIteration
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: Microsoft.ML.Probabilistic.Math
    Assembly: Microsoft.ML.Probabilistic.dll
    Syntax
    public class LBFGS : BFGS

    Constructors

    LBFGS(Int32)

    Limited-memory BFGS constructor

    Declaration
    public LBFGS(int approxDim)
    Parameters
    Type Name Description
    Int32 approxDim

    Approximation dimension

    Fields

    approxDim

    Declaration
    protected int approxDim
    Field Value
    Type Description
    Int32

    ess

    Declaration
    protected List<Vector> ess
    Field Value
    Type Description
    List<Vector>

    rho

    Declaration
    protected List<double> rho
    Field Value
    Type Description
    List<Double>

    wye

    Declaration
    protected List<Vector> wye
    Field Value
    Type Description
    List<Vector>

    Properties

    ApproximationDimension

    Number of dimesions to use in the approximation to the inverse Hessian.

    Declaration
    public int ApproximationDimension { get; set; }
    Property Value
    Type Description
    Int32

    Methods

    Run(Vector, Double, FunctionEval)

    Run an unconstrained minimization using BFGS

    Declaration
    public override Vector Run(Vector x0, double normOfFirstStep, FunctionEval func)
    Parameters
    Type Name Description
    Vector x0

    Starting step

    Double normOfFirstStep

    Norm of first step

    FunctionEval func

    Multivariate function and derivative evaluator

    Returns
    Type Description
    Vector

    The local minimum point

    Overrides
    BFGS.Run(Vector, Double, FunctionEval)
    In This Article
    Back to top Copyright © .NET Foundation. All rights reserved.