Class LBFGSArray
Implements the LBFGS compact Quasi-Newton solver on an array of Vectors (which may be sparse)
Assembly: Microsoft.ML.Probabilistic.dll
Syntax
public class LBFGSArray : LBFGS
Constructors
LBFGSArray(Int32)
Declaration
public LBFGSArray(int approxDim)
Parameters
Type |
Name |
Description |
Int32 |
approxDim |
Rank of the hessian approximation
|
Fields
currentDeriv
Declaration
protected Vector[] currentDeriv
Field Value
currentX
Declaration
protected Vector[] currentX
Field Value
ess
Declaration
protected List<Vector[]> ess
Field Value
feval
Declaration
protected LBFGSArray.FunctionEvalArray feval
Field Value
searchDir
Declaration
protected Vector[] searchDir
Field Value
wye
Declaration
protected List<Vector[]> wye
Field Value
Methods
LSEval(Double, Boolean, out Double)
Declaration
protected override double LSEval(double step, bool calcDeriv, out double deriv)
Parameters
Returns
Overrides
Run(Vector[], Double, LBFGSArray.FunctionEvalArray)
Run an unconstrained minimization using LBFGS
Declaration
public Vector[] Run(Vector[] x0, double normOfFirstStep, LBFGSArray.FunctionEvalArray func)
Parameters
Returns
Type |
Description |
Vector[] |
The local minimum point
|