cc.mallet.classify
Class AdaBoostTrainer
java.lang.Object
cc.mallet.classify.ClassifierTrainer<AdaBoost>
cc.mallet.classify.AdaBoostTrainer
public class AdaBoostTrainer
- extends ClassifierTrainer<AdaBoost>
This version of AdaBoost should be used only for binary classification.
Use AdaBoost.M2 for multi-class problems.
Robert E. Schapire.
"A decision-theoretic generalization of on-line learning and
an application to boosting"
In Journal of Computer and System Sciences
http://www.cs.princeton.edu/~schapire/uncompress-papers.cgi/FreundSc95.ps
- Author:
- Andrew McCallum mccallum@cs.umass.edu
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AdaBoostTrainer
public AdaBoostTrainer(ClassifierTrainer weakLearner,
int numRounds)
AdaBoostTrainer
public AdaBoostTrainer(ClassifierTrainer weakLearner)
getClassifier
public AdaBoost getClassifier()
- Specified by:
getClassifier
in class ClassifierTrainer<AdaBoost>
train
public AdaBoost train(InstanceList trainingList)
- Boosting method that resamples instances using their weights
- Specified by:
train
in class ClassifierTrainer<AdaBoost>