|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.cmu.minorthird.classify.relational.StackedGraphicalLearner.StackedGraphicalClassifier
public class StackedGraphicalLearner.StackedGraphicalClassifier
Constructor Summary | |
---|---|
StackedGraphicalLearner.StackedGraphicalClassifier(Classifier[] m,
StackedGraphicalLearner.StackingParams params,
RealRelationalDataset ds)
|
Method Summary | |
---|---|
ClassLabel |
classification(Instance instance)
Return a predicted type for the span, as a class label. |
java.util.Map<java.lang.String,ClassLabel> |
classification(RealRelationalDataset dataset)
|
java.lang.String |
explain(Instance instance)
Return some string that 'explains' the classification |
Explanation |
getExplanation(Instance instance)
Return an Explanation for the classification |
double |
score(Instance instance,
java.lang.String classLabelName)
|
RealRelationalDataset |
stackTestDataset(RealRelationalDataset dataset,
java.util.Map<java.lang.String,ClassLabel> predictions)
|
Viewer |
toGUI()
Create a view of this object |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StackedGraphicalLearner.StackedGraphicalClassifier(Classifier[] m, StackedGraphicalLearner.StackingParams params, RealRelationalDataset ds)
Method Detail |
---|
public ClassLabel classification(Instance instance)
Classifier
classification
in interface Classifier
public java.util.Map<java.lang.String,ClassLabel> classification(RealRelationalDataset dataset)
public RealRelationalDataset stackTestDataset(RealRelationalDataset dataset, java.util.Map<java.lang.String,ClassLabel> predictions)
public double score(Instance instance, java.lang.String classLabelName)
public java.lang.String explain(Instance instance)
Classifier
explain
in interface Classifier
public Explanation getExplanation(Instance instance)
Classifier
getExplanation
in interface Classifier
public Viewer toGUI()
Visible
toGUI
in interface Visible
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |