edu.cmu.minorthird.classify.sequential
Class MultiClassHMMClassifier
java.lang.Object
edu.cmu.minorthird.classify.sequential.MultiClassHMMClassifier
- All Implemented Interfaces:
- SequenceClassifier, SequenceConstants, Visible, java.io.Serializable
public class MultiClassHMMClassifier
- extends java.lang.Object
- implements SequenceClassifier, SequenceConstants, Visible, java.io.Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
hmmModel
public HMM hmmModel
MultiClassHMMClassifier
public MultiClassHMMClassifier(SequenceDataset dataset)
baumwelch
public void baumwelch(double threshold)
classification
public ClassLabel[] classification(Instance[] sequence)
- Description copied from interface:
SequenceClassifier
- Return a predicted type for each element of the sequence.
- Specified by:
classification
in interface SequenceClassifier
explain
public java.lang.String explain(Instance[] instance)
- Return some string that 'explains' the classification,
this function is also required to be re-written
- Specified by:
explain
in interface SequenceClassifier
getExplanation
public Explanation getExplanation(Instance[] instance)
- Description copied from interface:
SequenceClassifier
- Return and explanation for a classification
- Specified by:
getExplanation
in interface SequenceClassifier
toGUI
public Viewer toGUI()
- Description copied from interface:
Visible
- Create a view of this object
- Specified by:
toGUI
in interface Visible
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object