|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cc.mallet.classify.ClassifierTrainer cc.mallet.classify.FeatureSelectingClassifierTrainer
public class FeatureSelectingClassifierTrainer
Adaptor for adding feature selection to a classifier 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 | |
---|---|
FeatureSelectingClassifierTrainer(ClassifierTrainer underlyingTrainer,
FeatureSelector featureSelector)
|
Method Summary | |
---|---|
Classifier |
getClassifier()
|
Classifier |
train(InstanceList trainingSet)
|
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 FeatureSelectingClassifierTrainer(ClassifierTrainer underlyingTrainer, FeatureSelector featureSelector)
Method Detail |
---|
public Classifier getClassifier()
getClassifier
in class ClassifierTrainer
public Classifier train(InstanceList trainingSet)
train
in class ClassifierTrainer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |