public abstract class AbstractSequenceTrainer extends AbstractTrainer implements SequenceTrainer
ALGORITHM_PARAM, CUTOFF_DEFAULT, CUTOFF_PARAM, ITERATIONS_DEFAULT, ITERATIONS_PARAM, TRAINER_TYPE_PARAMSEQUENCE_VALUE| Constructor and Description |
|---|
AbstractSequenceTrainer() |
| Modifier and Type | Method and Description |
|---|---|
abstract SequenceClassificationModel |
doTrain(SequenceStream events) |
SequenceClassificationModel |
train(SequenceStream events) |
getAlgorithm, getCutoff, getIterations, init, isValidequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitpublic abstract SequenceClassificationModel doTrain(SequenceStream events) throws IOException
IOExceptionpublic final SequenceClassificationModel train(SequenceStream events) throws IOException
train in interface SequenceTrainerIOExceptionCopyright © 2015 The Apache Software Foundation. All rights reserved.