|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.cmu.minorthird.classify.multi.MultiClassifierTeacher edu.cmu.minorthird.classify.multi.MultiDatasetClassifierTeacher
public class MultiDatasetClassifierTeacher
Trains a MultiClassifierLearner using the information in a labeled Dataset.
Constructor Summary | |
---|---|
MultiDatasetClassifierTeacher(MultiDataset dataset)
|
Method Summary | |
---|---|
java.util.Iterator<MultiExample> |
examplePool()
Labeled instances that will be sent to the multiLearner via a call to addExample(). |
boolean |
hasAnswers()
Return true if this teacher can answer more queries. |
java.util.Iterator<Instance> |
instancePool()
Unlabeled instances, which will be provided to the multiLearner via setInstancePool(). |
MultiExample |
labelInstance(Instance query)
Label an Instance chosen by the multiLearner. |
MultiExampleSchema |
schema()
The set of classes that will be used. |
Methods inherited from class edu.cmu.minorthird.classify.multi.MultiClassifierTeacher |
---|
train |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MultiDatasetClassifierTeacher(MultiDataset dataset)
Method Detail |
---|
public MultiExampleSchema schema()
MultiClassifierTeacher
schema
in class MultiClassifierTeacher
public java.util.Iterator<MultiExample> examplePool()
MultiClassifierTeacher
examplePool
in class MultiClassifierTeacher
public java.util.Iterator<Instance> instancePool()
MultiClassifierTeacher
instancePool
in class MultiClassifierTeacher
public MultiExample labelInstance(Instance query)
MultiClassifierTeacher
labelInstance
in class MultiClassifierTeacher
public boolean hasAnswers()
MultiClassifierTeacher
hasAnswers
in class MultiClassifierTeacher
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |