com.aliasi.classify
Interface ScoredClassifier<E>

Type Parameters:
E - the type of objects being classified
All Superinterfaces:
BaseClassifier<E>, RankedClassifier<E>
All Known Subinterfaces:
ConditionalClassifier<E>, JointClassifier<E>
All Known Implementing Classes:
BernoulliClassifier, BigVectorClassifier, BinaryLMClassifier, DynamicLMClassifier, KnnClassifier, LMClassifier, LogisticRegressionClassifier, NaiveBayesClassifier, PerceptronClassifier, TradNaiveBayesClassifier

public interface ScoredClassifier<E>
extends RankedClassifier<E>

The ScoredClassifier interface specifies a single method for n-best scored classification.

Since:
LingPipe3.9.1
Version:
3.9.1
Author:
Bob Carpenter

Method Summary
 ScoredClassification classify(E input)
          Returns the n-best scored classification for the specified input.
 

Method Detail

classify

ScoredClassification classify(E input)
Returns the n-best scored classification for the specified input.

Specified by:
classify in interface BaseClassifier<E>
Specified by:
classify in interface RankedClassifier<E>
Parameters:
input - Object to classify.
Returns:
Classification of object.