edu.stanford.nlp.classify
Interface Classifier

All Superinterfaces:
Serializable
All Known Subinterfaces:
ProbabilisticClassifier
All Known Implementing Classes:
LinearClassifier, LogisticClassifier, NaiveBayesClassifier

public interface Classifier
extends Serializable

A simple interface for classifying and scoring data points, implemented by most of the classifiers in this package.

Author:
Dan Klein

Method Summary
 Object classOf(Datum example)
           
 Collection labels()
           
 Counter scoresOf(Datum example)
           
 

Method Detail

classOf

Object classOf(Datum example)

scoresOf

Counter scoresOf(Datum example)

labels

Collection labels()


Stanford NLP Group