public abstract class AbstractSequenceTrainer extends AbstractTrainer implements SequenceTrainer
ALGORITHM_PARAM, CUTOFF_DEFAULT, CUTOFF_PARAM, ITERATIONS_DEFAULT, ITERATIONS_PARAM, TRAINER_TYPE_PARAM, VERBOSE_DEFAULT, VERBOSE_PARAM
SEQUENCE_VALUE
Constructor and Description |
---|
AbstractSequenceTrainer() |
Modifier and Type | Method and Description |
---|---|
abstract SequenceClassificationModel<String> |
doTrain(SequenceStream events) |
SequenceClassificationModel<String> |
train(SequenceStream events) |
getAlgorithm, getCutoff, getIterations, init, init, isValid, validate
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
init, init
public abstract SequenceClassificationModel<String> doTrain(SequenceStream events) throws IOException
IOException
public final SequenceClassificationModel<String> train(SequenceStream events) throws IOException
train
in interface SequenceTrainer
IOException
Copyright © 2017 The Apache Software Foundation. All rights reserved.