edu.cmu.minorthird.classify
Class StackedClassifierTeacher
java.lang.Object
edu.cmu.minorthird.classify.ClassifierTeacher
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
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StackedClassifierTeacher
public StackedClassifierTeacher()
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