Package cc.mallet.classify
Class BaggingClassifier
- java.lang.Object
-
- cc.mallet.classify.Classifier
-
- cc.mallet.classify.BaggingClassifier
-
- All Implemented Interfaces:
AlphabetCarrying
,java.io.Serializable
public class BaggingClassifier extends Classifier
- Author:
- Andrew McCallum mccallum@cs.umass.edu
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class cc.mallet.classify.Classifier
instancePipe
-
-
Constructor Summary
Constructors Constructor Description BaggingClassifier(Pipe instancePipe, Classifier[] baggedClassifiers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Classification
classify(Instance inst)
-
Methods inherited from class cc.mallet.classify.Classifier
alphabetsMatch, classify, classify, classify, getAccuracy, getAlphabet, getAlphabets, getAverageRank, getF1, getF1, getF1, getFeatureSelection, getInstancePipe, getLabelAlphabet, getPerClassFeatureSelection, getPrecision, getPrecision, getPrecision, getRecall, getRecall, getRecall, print, print
-
-
-
-
Constructor Detail
-
BaggingClassifier
public BaggingClassifier(Pipe instancePipe, Classifier[] baggedClassifiers)
-
-
Method Detail
-
classify
public Classification classify(Instance inst)
- Specified by:
classify
in classClassifier
-
-