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

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

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

See Also:
Serialized Form

Constructor Summary
VitorBalancedWinnow.MyClassifier(Hyperplane pos_h, Hyperplane neg_h, double atheta)
           
 
Method Summary
 ClassLabel classification(Instance instance1)
          Return a predicted type for the span, as a class label.
 java.lang.String explain(Instance instance)
          Return some string that 'explains' the classification
 Example filterFeat(Example ex)
           
 Explanation getExplanation(Instance instance)
          Return an Explanation for the classification
 Viewer toGUI()
          Create a view of this object
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VitorBalancedWinnow.MyClassifier

public VitorBalancedWinnow.MyClassifier(Hyperplane pos_h,
                                        Hyperplane neg_h,
                                        double atheta)
Method Detail

classification

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

Specified by:
classification in interface Classifier

filterFeat

public Example filterFeat(Example ex)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

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