|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cc.mallet.classify.ClassifierTrainer<BaggingClassifier> cc.mallet.classify.BaggingTrainer
public class BaggingTrainer
Bagging Trainer.
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 | |
---|---|
BaggingTrainer(ClassifierTrainer.Factory underlyingTrainerFactory)
|
|
BaggingTrainer(ClassifierTrainer.Factory underlyingTrainerFactory,
int numBags)
|
Method Summary | |
---|---|
BaggingClassifier |
getClassifier()
|
BaggingClassifier |
train(InstanceList trainingList)
|
Methods inherited from class cc.mallet.classify.ClassifierTrainer |
---|
getValidationInstances, isFinishedTraining, setValidationInstances |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BaggingTrainer(ClassifierTrainer.Factory underlyingTrainerFactory, int numBags)
public BaggingTrainer(ClassifierTrainer.Factory underlyingTrainerFactory)
Method Detail |
---|
public BaggingClassifier getClassifier()
getClassifier
in class ClassifierTrainer<BaggingClassifier>
public BaggingClassifier train(InstanceList trainingList)
train
in class ClassifierTrainer<BaggingClassifier>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |