public abstract class AbstractEventModelSequenceTrainer extends AbstractTrainer implements EventModelSequenceTrainer
ALGORITHM_PARAM, CUTOFF_DEFAULT, CUTOFF_PARAM, ITERATIONS_DEFAULT, ITERATIONS_PARAM, TRAINER_TYPE_PARAM, VERBOSE_DEFAULT, VERBOSE_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, init, isValid, validate
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
init, init
public abstract MaxentModel doTrain(SequenceStream events) throws IOException
IOException
public final MaxentModel train(SequenceStream events) throws IOException
train
in interface EventModelSequenceTrainer
IOException
Copyright © 2021 The Apache Software Foundation. All rights reserved.