edu.cmu.minorthird.classify.algorithms.linear
Class MaxEntLearner.MyClassifier

java.lang.Object
  extended by edu.cmu.minorthird.classify.algorithms.linear.MaxEntLearner.MyClassifier
All Implemented Interfaces:
Classifier, Visible, java.io.Serializable
Enclosing class:
MaxEntLearner

public static class MaxEntLearner.MyClassifier
extends java.lang.Object
implements Classifier, java.io.Serializable, Visible

See Also:
Serialized Form

Constructor Summary
MaxEntLearner.MyClassifier(Classifier c, ExampleSchema schema, boolean scaleScores)
           
 
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
 Classifier getRawClassifier()
           
 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

MaxEntLearner.MyClassifier

public MaxEntLearner.MyClassifier(Classifier c,
                                  ExampleSchema schema,
                                  boolean scaleScores)
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

getRawClassifier

public Classifier getRawClassifier()

toGUI

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

Specified by:
toGUI in interface Visible