Package | Description |
---|---|
opennlp.tools.ml.maxent.quasinewton |
Modifier and Type | Class and Description |
---|---|
class |
NegLogLikelihood
Evaluate negative log-likelihood and its gradient from DataIndexer.
|
class |
ParallelNegLogLikelihood
Evaluate negative log-likelihood and its gradient in parallel
|
static class |
QNMinimizer.L2RegFunction
L2-regularized objective function
|
Modifier and Type | Method and Description |
---|---|
static void |
LineSearch.doConstrainedLineSearch(Function function,
double[] direction,
LineSearch.LineSearchResult lsr,
double l1Cost,
double initialStepSize)
Constrained line search (see section 3.2 in the paper "Scalable Training
of L1-Regularized Log-Linear Models", Andrew et al.
|
static void |
LineSearch.doLineSearch(Function function,
double[] direction,
LineSearch.LineSearchResult lsr,
double initialStepSize)
Backtracking line search (see Nocedal & Wright 2006, Numerical Optimization, p.
|
double[] |
QNMinimizer.minimize(Function function)
Find the parameters that minimize the objective function
|
Constructor and Description |
---|
L2RegFunction(Function f,
double l2Cost) |
Copyright © 2017 The Apache Software Foundation. All rights reserved.