Uses of Interface
opennlp.tools.ml.maxent.quasinewton.Function
-
Packages that use Function Package Description opennlp.tools.ml.maxent.quasinewton Package related to ML by means of the Quasi Newton (QN) algorithm. -
-
Uses of Function in opennlp.tools.ml.maxent.quasinewton
Classes in opennlp.tools.ml.maxent.quasinewton that implement Function Modifier and Type Class Description classNegLogLikelihoodEvaluate negative log-likelihood and its gradient fromDataIndexer.classParallelNegLogLikelihoodEvaluate negative log-likelihood and its gradient in parallelstatic classQNMinimizer.L2RegFunctionL2-regularized objectiveFunction.Methods in opennlp.tools.ml.maxent.quasinewton with parameters of type Function Modifier and Type Method Description static voidLineSearch. doConstrainedLineSearch(Function function, double[] direction, LineSearch.LineSearchResult lsr, double l1Cost, double initialStepSize)Conducts a constrained line search (see section 3.2 in the paper "Scalable Training of L1-Regularized Log-Linear Models", Andrew et al.static voidLineSearch. doLineSearch(Function function, double[] direction, LineSearch.LineSearchResult lsr, double initialStepSize)Conducts a backtracking line search (see Nocedal & Wright 2006, Numerical Optimization, p.double[]QNMinimizer. minimize(Function function)Finds the parameters that minimize the objective function.Constructors in opennlp.tools.ml.maxent.quasinewton with parameters of type Function Constructor Description L2RegFunction(Function f, double l2Cost)
-