se.lth.cs.nlp.nlputils.ml
Class PairwiseClassifier<T>
java.lang.Object
se.lth.cs.nlp.nlputils.ml.Classifier<T>
se.lth.cs.nlp.nlputils.ml.PairwiseClassifier<T>
- All Implemented Interfaces:
- Serializable
public class PairwiseClassifier<T>
- extends Classifier<T>
Multiclass classifier by applying a binary classifier for each pair of
classes.
- Author:
- Richard Johansson (richard@cs.lth.se)
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PairwiseClassifier
public PairwiseClassifier()
classify
public Object classify(FeatureList features)
- Description copied from class:
Classifier
- Performs a classification given a feature list.
- Specified by:
classify
in class Classifier<T>
- Parameters:
features
- the feature list.
- Returns:
- the result of the classification.