edu.cmu.minorthird.classify
Class OnlineBinaryClassifierLearner

java.lang.Object
  extended by edu.cmu.minorthird.classify.OnlineClassifierLearner
      extended by edu.cmu.minorthird.classify.OnlineBinaryClassifierLearner
All Implemented Interfaces:
BinaryClassifierLearner, ClassifierLearner, java.lang.Cloneable
Direct Known Subclasses:
BalancedWinnow, BBMira, KernelVotedPerceptron, MarginPerceptron, NaiveBayes, PassiveAggressiveLearner, RegretWinnow, ROMMALearner, VitorBalancedWinnow, VotedPerceptron, Winnow

public abstract class OnlineBinaryClassifierLearner
extends OnlineClassifierLearner
implements BinaryClassifierLearner

Abstract class which implements the 'getBinaryClassifier' method of BinaryClassifierLearner's.

Author:
William Cohen

Constructor Summary
OnlineBinaryClassifierLearner()
           
 
Method Summary
 BinaryClassifier getBinaryClassifier()
           
 ExampleSchema getSchema()
          Returns the ExampleSchema - constraints on what the Examples will be.
 void setSchema(ExampleSchema schema)
          Accept an ExampleSchema - constraints on what the Examples will be.
 
Methods inherited from class edu.cmu.minorthird.classify.OnlineClassifierLearner
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

OnlineBinaryClassifierLearner

public OnlineBinaryClassifierLearner()
Method Detail

setSchema

public final void setSchema(ExampleSchema schema)
Description copied from interface: ClassifierLearner
Accept an ExampleSchema - constraints on what the Examples will be.

Specified by:
setSchema in interface ClassifierLearner

getSchema

public final ExampleSchema getSchema()
Description copied from interface: ClassifierLearner
Returns the ExampleSchema - constraints on what the Examples will be.

Specified by:
getSchema in interface ClassifierLearner

getBinaryClassifier

public final BinaryClassifier getBinaryClassifier()
Specified by:
getBinaryClassifier in interface BinaryClassifierLearner