edu.cmu.minorthird.classify.algorithms.trees
Class AdaBoost.L

java.lang.Object
  extended by edu.cmu.minorthird.classify.BatchClassifierLearner
      extended by edu.cmu.minorthird.classify.BatchBinaryClassifierLearner
          extended by edu.cmu.minorthird.classify.algorithms.trees.AdaBoost
              extended by edu.cmu.minorthird.classify.algorithms.trees.AdaBoost.L
All Implemented Interfaces:
BinaryClassifierLearner, ClassifierLearner, java.lang.Cloneable
Enclosing class:
AdaBoost

public static class AdaBoost.L
extends AdaBoost

AdaBoost.L is a logistic-regression version of AdaBoost.


Nested Class Summary
 
Nested classes/interfaces inherited from class edu.cmu.minorthird.classify.algorithms.trees.AdaBoost
AdaBoost.L
 
Field Summary
 
Fields inherited from class edu.cmu.minorthird.classify.BatchClassifierLearner
classifier, dataset
 
Constructor Summary
AdaBoost.L()
           
AdaBoost.L(BatchClassifierLearner baseLearner, int maxRounds)
           
 
Method Summary
protected  double discountFactor(double y, double yhat)
           
 
Methods inherited from class edu.cmu.minorthird.classify.algorithms.trees.AdaBoost
batchTrain, getBaseLearner, getMaxRounds, setBaseLearner, setMaxRounds
 
Methods inherited from class edu.cmu.minorthird.classify.BatchBinaryClassifierLearner
batchTrainBinary, getBinaryClassifier, getSchema, setSchema
 
Methods inherited from class edu.cmu.minorthird.classify.BatchClassifierLearner
addExample, completeTraining, copy, getClassifier, hasNextQuery, nextQuery, reset, setInstancePool
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface edu.cmu.minorthird.classify.ClassifierLearner
addExample, completeTraining, copy, getClassifier, hasNextQuery, nextQuery, reset, setInstancePool
 

Constructor Detail

AdaBoost.L

public AdaBoost.L()

AdaBoost.L

public AdaBoost.L(BatchClassifierLearner baseLearner,
                  int maxRounds)
Method Detail

discountFactor

protected double discountFactor(double y,
                                double yhat)
Overrides:
discountFactor in class AdaBoost