Package cc.mallet.classify
Class ClassifierEnsembleTrainer
- java.lang.Object
-
- cc.mallet.classify.ClassifierTrainer<ClassifierEnsemble>
-
- cc.mallet.classify.ClassifierEnsembleTrainer
-
public class ClassifierEnsembleTrainer extends ClassifierTrainer<ClassifierEnsemble>
- Author:
- Andrew McCallum
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class cc.mallet.classify.ClassifierTrainer
ClassifierTrainer.ByActiveLearning<C extends Classifier>, ClassifierTrainer.ByIncrements<C extends Classifier>, ClassifierTrainer.ByInstanceIncrements<C extends Classifier>, ClassifierTrainer.ByOptimization<C extends Classifier>, ClassifierTrainer.Factory<CT extends ClassifierTrainer<? extends Classifier>>
-
-
Field Summary
-
Fields inherited from class cc.mallet.classify.ClassifierTrainer
finishedTraining, validationSet
-
-
Constructor Summary
Constructors Constructor Description ClassifierEnsembleTrainer(Classifier[] classifiers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClassifierEnsemble
getClassifier()
ClassifierEnsemble
train(InstanceList trainingSet)
-
Methods inherited from class cc.mallet.classify.ClassifierTrainer
getValidationInstances, isFinishedTraining, setValidationInstances
-
-
-
-
Constructor Detail
-
ClassifierEnsembleTrainer
public ClassifierEnsembleTrainer(Classifier[] classifiers)
-
-
Method Detail
-
getClassifier
public ClassifierEnsemble getClassifier()
- Specified by:
getClassifier
in classClassifierTrainer<ClassifierEnsemble>
-
train
public ClassifierEnsemble train(InstanceList trainingSet)
- Specified by:
train
in classClassifierTrainer<ClassifierEnsemble>
-
-