edu.cmu.minorthird.classify
Interface Classifier

All Known Implementing Classes:
BalancedWinnow.MyClassifier, BinaryClassifier, CollinsPerceptronLearner.MultiClassVPClassifier, GenericCollinsLearnerV1.MultiClassClassifier, Hyperplane, KernelVotedPerceptron.MyClassifier, MaxEntLearner.MyClassifier, MultiClassifier, MultinomialClassifier, MultinomialClassifier, NegativeBinomialClassifier, OneVsAllClassifier, PositiveScoresTransformClassifier, RandomForests.VotingClassifier, RegretWinnow.MyClassifier, SequenceUtils.MultiClassClassifier, StackedGraphicalLearner.StackedGraphicalClassifier, SVMClassifier, TransformingClassifier, TransformingMultiClassifier, TweakedLearner.TweakedClassifier, VitorBalancedWinnow.MyClassifier, Winnow.MyClassifier

public interface Classifier

Interface for a classifier. This is specialized to BinaryClassifier and KWayClassifier.

Author:
William Cohen

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
 

Method Detail

classification

ClassLabel classification(Instance instance)
Return a predicted type for the span, as a class label.


explain

java.lang.String explain(Instance instance)
Return some string that 'explains' the classification


getExplanation

Explanation getExplanation(Instance instance)
Return an Explanation for the classification