public class LBFGSTrainer extends GISTrainer
| Constructor and Description |
|---|
LBFGSTrainer()
Create LBFGS trainer
|
LBFGSTrainer(double c)
Create LBFGS trainer with regularization parameter c
|
| Modifier and Type | Method and Description |
|---|---|
opennlp.maxent.GISModel |
trainModel(int iterations,
opennlp.model.DataIndexer di,
opennlp.model.Prior modelPrior,
int cutoff)
Train a model using the GIS algorithm.
|
setGaussianSigma, setSmoothing, setSmoothingObservation, trainModel, trainModelpublic LBFGSTrainer()
public LBFGSTrainer(double c)
public opennlp.maxent.GISModel trainModel(int iterations,
opennlp.model.DataIndexer di,
opennlp.model.Prior modelPrior,
int cutoff)
trainModel in class GISTraineriterations - The number of GIS iterations to perform.di - The data indexer used to compress events in memory.modelPrior - The prior distribution used to train this model.Copyright © 2016 New York University. All rights reserved.