edu.cmu.minorthird.classify.multi
Class MultiClassifier

java.lang.Object
  extended by edu.cmu.minorthird.classify.multi.MultiClassifier
All Implemented Interfaces:
Classifier, Visible, java.io.Serializable
Direct Known Subclasses:
TransformingMultiClassifier

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

Interface for a multi label classifier.

Author:
Cameron Williams
See Also:
Serialized Form

Field Summary
 Classifier[] classifiers
           
 
Constructor Summary
MultiClassifier(Classifier[] classifiers)
           
 
Method Summary
 ClassLabel classification(Instance instance)
          Give you the class label for the first dimension
 java.lang.String explain(Instance instance)
          Return some string that 'explains' the classification
 Classifier[] getClassifiers()
           
 Explanation getExplanation(Instance instance)
          Return an Explanation for the classification
 int getNumDim()
           
 MultiClassLabel multiLabelClassification(Instance instance)
          Returqn a predicted type for each element of the sequence.
 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
 

Field Detail

classifiers

public Classifier[] classifiers
Constructor Detail

MultiClassifier

public MultiClassifier(Classifier[] classifiers)
Method Detail

multiLabelClassification

public MultiClassLabel multiLabelClassification(Instance instance)
Returqn a predicted type for each element of the sequence.


getNumDim

public int getNumDim()

classification

public ClassLabel classification(Instance instance)
Give you the class label for the first dimension

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

getClassifiers

public Classifier[] getClassifiers()

toString

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

toGUI

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

Specified by:
toGUI in interface Visible