public class LBFGSSegmentTrainer extends LBFGSBasicTrainer
LBFGS segment trainer
Copyright: Copyright (c) 2005
Company: IST, Drexel University
epsForConvergence, invSigmaSquare, mForHessiandoScaling, maxIteration, xtoledgeGen, featureGenerator, lambda, model| Constructor and Description |
|---|
LBFGSSegmentTrainer(ModelGraph model,
FeatureGenerator featureGenerator,
int maxSegmentLength) |
| Modifier and Type | Method and Description |
|---|---|
protected double |
computeFunctionGradient(Dataset diter,
double[] lambda,
double[] grad) |
protected double |
computeFunctionGradientLL(Dataset diter,
double[] lambda,
double[] grad) |
norm, setAccuracy, setGradientHistory, setInvSigmaSquare, traingenStateVector, genStateVectorLog, getMaxIteration, needScaling, setMaxIteration, setScalingOptioncomputeTransMatrix, computeTransMatrix, getFeatureGenerator, getModelGraph, getModelParameter, readModelParameter, saveModelParameterclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFeatureGenerator, getModelGraph, getModelParameter, saveModelParameterpublic LBFGSSegmentTrainer(ModelGraph model, FeatureGenerator featureGenerator, int maxSegmentLength)
protected double computeFunctionGradient(Dataset diter, double[] lambda, double[] grad)
computeFunctionGradient in class LBFGSBasicTrainerprotected double computeFunctionGradientLL(Dataset diter, double[] lambda, double[] grad)
Copyright © 2018 JULIE Lab, Germany. All rights reserved.