edu.cmu.minorthird.ui
Class Recommended.TweakedLearner

java.lang.Object
  extended by edu.cmu.minorthird.classify.BatchClassifierLearner
      extended by edu.cmu.minorthird.classify.BatchBinaryClassifierLearner
          extended by edu.cmu.minorthird.classify.TweakedLearner
              extended by edu.cmu.minorthird.ui.Recommended.TweakedLearner
All Implemented Interfaces:
BinaryClassifierLearner, ClassifierLearner, java.lang.Cloneable
Enclosing class:
Recommended

public static class Recommended.TweakedLearner
extends TweakedLearner

A Tweaked Learner, with an optimization of the precision vs. recall

Author:
Giora Unger A learner whose score was optimized according to an F_beta() function, for a given beta. This optimization is used to fine-tune the precision vs. recall for the underlying classification algorithm. Values of beta<1.0 favor precision over recall, while values of beta>1.0 favor recall over precision. beta=1.0 grants equal weight to both precision and recall. Note: - Currently, in a hard-coded manner, the leaner takes a NaiveBayse class as its inner learner and a value of beta=1.0

Reference: Jason D. M. Rennie, Derivation of the F-Measure, http://people.csail.mit.edu/jrennie/writing/fmeasure.pdf


Nested Class Summary
 
Nested classes/interfaces inherited from class edu.cmu.minorthird.classify.TweakedLearner
TweakedLearner.TweakedClassifier
 
Field Summary
 
Fields inherited from class edu.cmu.minorthird.classify.BatchClassifierLearner
classifier, dataset
 
Constructor Summary
Recommended.TweakedLearner()
           
 
Method Summary
 
Methods inherited from class edu.cmu.minorthird.classify.TweakedLearner
batchTrain, getBeta, getInnerLearner, main, setBeta, setInnerLearner
 
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

Recommended.TweakedLearner

public Recommended.TweakedLearner()