edu.cmu.minorthird.classify.sequential
Class GenericCollinsLearnerV1.MultiClassClassifier

java.lang.Object
  extended by edu.cmu.minorthird.classify.sequential.GenericCollinsLearnerV1.MultiClassClassifier
All Implemented Interfaces:
Classifier, Visible, java.io.Serializable
Enclosing class:
GenericCollinsLearnerV1

public static class GenericCollinsLearnerV1.MultiClassClassifier
extends java.lang.Object
implements Classifier, Visible, java.io.Serializable

See Also:
Serialized Form

Constructor Summary
GenericCollinsLearnerV1.MultiClassClassifier(ExampleSchema schema, BinaryClassifier[] learners)
           
GenericCollinsLearnerV1.MultiClassClassifier(ExampleSchema schema, OnlineBinaryClassifierLearner[] innerLearner)
           
 
Method Summary
 ClassLabel classification(Instance instance)
          Return a predicted type for the span, as a class label.
 java.lang.String explain(Instance instance)
          Return some string that 'explains' the classification
 Explanation getExplanation(Instance instance)
          Return an Explanation for the classification
 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

GenericCollinsLearnerV1.MultiClassClassifier

public GenericCollinsLearnerV1.MultiClassClassifier(ExampleSchema schema,
                                                    BinaryClassifier[] learners)

GenericCollinsLearnerV1.MultiClassClassifier

public GenericCollinsLearnerV1.MultiClassClassifier(ExampleSchema schema,
                                                    OnlineBinaryClassifierLearner[] innerLearner)
Method Detail

classification

public ClassLabel classification(Instance instance)
Description copied from interface: Classifier
Return a predicted type for the span, as a class label.

Specified by:
classification in interface Classifier

explain

public java.lang.String explain(Instance instance)
Description copied from interface: Classifier
Return some string that 'explains' the classification

Specified by:
explain in interface Classifier

getExplanation

public Explanation getExplanation(Instance instance)
Description copied from interface: Classifier
Return an Explanation for the classification

Specified by:
getExplanation in interface Classifier

toGUI

public Viewer toGUI()
Description copied from interface: Visible
Create a view of this object

Specified by:
toGUI in interface Visible