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 IOException
IOException
public final MaxentModel train(SequenceStream events) throws IOException
train
in interface EventModelSequenceTrainer
IOException
Copyright © 2015 The Apache Software Foundation. All rights reserved.