public class L_BFGS
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
L_BFGS.GradientInfo |
static class |
L_BFGS.GradientSolver
To be overriden to provide gradient computation specific for given problem.
|
static class |
L_BFGS.History
Keeps L-BFGS history ie curvature information recorded over the last m steps.
|
static class |
L_BFGS.L_BFGS_Params
Internal parameters affecting behavior of L-BFGS solver.
|
static class |
L_BFGS.Result |
| Modifier and Type | Field and Description |
|---|---|
static double |
c1 |
| Constructor and Description |
|---|
L_BFGS() |
| Modifier and Type | Method and Description |
|---|---|
static L_BFGS.Result |
solve(int n,
L_BFGS.GradientSolver gslvr,
L_BFGS.L_BFGS_Params params)
Solve the optimization problem defined by the user-supplied gradient function using L-BFGS algorithm.
|
static L_BFGS.Result |
solve(L_BFGS.GradientSolver gslvr,
L_BFGS.L_BFGS_Params params,
L_BFGS.History hist,
double[] coefs)
Solve the optimization problem defined by the user-supplied gradient function using L-BFGS algorithm.
|
public static final double c1
public static final L_BFGS.Result solve(int n, L_BFGS.GradientSolver gslvr, L_BFGS.L_BFGS_Params params)
n - - number of coefficientsgslvr - - user gradient functionparams - - internal L-BFGS parameters.public static final L_BFGS.Result solve(L_BFGS.GradientSolver gslvr, L_BFGS.L_BFGS_Params params, L_BFGS.History hist, double[] coefs)
gslvr - - user gradient functionhist - - history of computationcoefs - - starting solution