Class QNMinimizer.L2RegFunction
java.lang.Object
opennlp.tools.ml.maxent.quasinewton.QNMinimizer.L2RegFunction
- All Implemented Interfaces:
Function
- Enclosing class:
- QNMinimizer
L2-regularized objective
Function
.-
Constructor Summary
-
Method Summary
-
Constructor Details
-
L2RegFunction
-
-
Method Details
-
getDimension
public int getDimension()- Specified by:
getDimension
in interfaceFunction
-
valueAt
public double valueAt(double[] x) -
gradientAt
public double[] gradientAt(double[] x) - Specified by:
gradientAt
in interfaceFunction
-