cc.mallet.classify
Interface ClassifierTrainer.ByInstanceIncrements<C extends Classifier>

All Superinterfaces:
ClassifierTrainer.ByIncrements<C>
All Known Implementing Classes:
NaiveBayesTrainer
Enclosing class:
ClassifierTrainer<C extends Classifier>

public static interface ClassifierTrainer.ByInstanceIncrements<C extends Classifier>
extends ClassifierTrainer.ByIncrements<C>

For online learning that can operate on one instance at a time. For example, Perceptron.


Method Summary
 C trainIncremental(Instance instanceToAdd)
           
 
Methods inherited from interface cc.mallet.classify.ClassifierTrainer.ByIncrements
trainIncremental
 

Method Detail

trainIncremental

C trainIncremental(Instance instanceToAdd)