edu.cmu.minorthird.classify
Class BinaryBatchVersion

java.lang.Object
  extended by edu.cmu.minorthird.classify.BatchClassifierLearner
      extended by edu.cmu.minorthird.classify.BatchVersion
          extended by edu.cmu.minorthird.classify.BinaryBatchVersion
All Implemented Interfaces:
BinaryClassifierLearner, ClassifierLearner, java.lang.Cloneable

public class BinaryBatchVersion
extends BatchVersion
implements BinaryClassifierLearner

Batch version of an OnlineBinaryClassifierLearner

Author:
William Cohen

Field Summary
 
Fields inherited from class edu.cmu.minorthird.classify.BatchClassifierLearner
classifier, dataset
 
Constructor Summary
BinaryBatchVersion(OnlineBinaryClassifierLearner innerLearner)
           
BinaryBatchVersion(OnlineBinaryClassifierLearner innerLearner, int numberOfEpochs)
           
 
Method Summary
 BinaryClassifier getBinaryClassifier()
           
 
Methods inherited from class edu.cmu.minorthird.classify.BatchVersion
batchTrain, getInnerLearner, getNumberOfEpochs, getSchema, setInnerLearner, setNumberOfEpochs, 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, getSchema, hasNextQuery, nextQuery, reset, setInstancePool, setSchema
 

Constructor Detail

BinaryBatchVersion

public BinaryBatchVersion(OnlineBinaryClassifierLearner innerLearner,
                          int numberOfEpochs)

BinaryBatchVersion

public BinaryBatchVersion(OnlineBinaryClassifierLearner innerLearner)
Method Detail

getBinaryClassifier

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