|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.cmu.minorthird.classify.multi.MultiClassifierTeacher
public abstract class MultiClassifierTeacher
Interface for something that trains multi label classifiers.
Constructor Summary | |
---|---|
MultiClassifierTeacher()
|
Method Summary | |
---|---|
protected abstract java.util.Iterator<MultiExample> |
examplePool()
Labeled instances that will be sent to the multiLearner via a call to addExample(). |
protected abstract boolean |
hasAnswers()
Return true if this teacher can answer more queries. |
protected abstract java.util.Iterator<Instance> |
instancePool()
Unlabeled instances, which will be provided to the multiLearner via setInstancePool(). |
protected abstract MultiExample |
labelInstance(Instance query)
Label an Instance chosen by the multiLearner. |
protected abstract MultiExampleSchema |
schema()
The set of classes that will be used. |
MultiClassifier |
train(ClassifierLearner learner)
Train a ClassifierLearner 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 |
Constructor Detail |
---|
public MultiClassifierTeacher()
Method Detail |
---|
public final MultiClassifier train(ClassifierLearner learner)
protected abstract MultiExampleSchema schema()
protected abstract java.util.Iterator<MultiExample> examplePool()
protected abstract java.util.Iterator<Instance> instancePool()
protected abstract MultiExample labelInstance(Instance query)
protected abstract boolean hasAnswers()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |