public abstract class AbstractEventModelSequenceTrainer extends AbstractTrainer implements EventModelSequenceTrainer
ALGORITHM_PARAM, CUTOFF_DEFAULT, CUTOFF_PARAM, ITERATIONS_DEFAULT, ITERATIONS_PARAM, TRAINER_TYPE_PARAM
SEQUENCE_VALUE
Constructor and Description |
---|
AbstractEventModelSequenceTrainer() |
Modifier and Type | Method and Description |
---|---|
abstract MaxentModel |
doTrain(SequenceStream events) |
MaxentModel |
train(SequenceStream events) |
getAlgorithm, getCutoff, getIterations, init, isValid
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
init
public abstract MaxentModel doTrain(SequenceStream events) throws java.io.IOException
java.io.IOException
public final MaxentModel train(SequenceStream events) throws java.io.IOException
train
in interface EventModelSequenceTrainer
java.io.IOException
Copyright © 2010 - 2020 Adobe. All Rights Reserved