edu.cmu.minorthird.classify
Class StackedClassifierTeacher

java.lang.Object
  extended by edu.cmu.minorthird.classify.ClassifierTeacher
      extended by edu.cmu.minorthird.classify.StackedClassifierTeacher
Direct Known Subclasses:
StackedDatasetClassifierTeacher

public abstract class StackedClassifierTeacher
extends ClassifierTeacher

Implements the teacher's side of the learner-teacher protocol for SGM.

Author:
Zhenzhen Kou

Constructor Summary
StackedClassifierTeacher()
           
 
Method Summary
protected abstract  java.util.Map<java.lang.String,java.util.Set<java.lang.String>> getAggregators()
          The Aggregators for stacked graphical learning
protected abstract  java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.util.Set<java.lang.String>>> getLinksMap()
          The linkMaps for stacked graphical learning
 Classifier trainStacked(StackedBatchClassifierLearner learner)
          Train a StackedGraphicalLearner and return the learned Classifier, using some unspecified source of information to get labels.
 
Methods inherited from class edu.cmu.minorthird.classify.ClassifierTeacher
examplePool, hasAnswers, instancePool, labelInstance, schema, train
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StackedClassifierTeacher

public StackedClassifierTeacher()
Method Detail

trainStacked

public final Classifier trainStacked(StackedBatchClassifierLearner learner)
Train a StackedGraphicalLearner and return the learned Classifier, using some unspecified source of information to get labels.


getLinksMap

protected abstract java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.util.Set<java.lang.String>>> getLinksMap()
The linkMaps for stacked graphical learning


getAggregators

protected abstract java.util.Map<java.lang.String,java.util.Set<java.lang.String>> getAggregators()
The Aggregators for stacked graphical learning