se.lth.cs.nlp.nlputils.ml
Class ClasswiseClassifier<T>

java.lang.Object
  extended by se.lth.cs.nlp.nlputils.ml.Classifier<T>
      extended by se.lth.cs.nlp.nlputils.ml.ClasswiseClassifier<T>
All Implemented Interfaces:
Serializable

public class ClasswiseClassifier<T>
extends Classifier<T>

Multiclass classifier by applying a binary classifier for each class.

Author:
Richard Johansson (richard@cs.lth.se)
See Also:
Serialized Form

Field Summary
 
Fields inherited from class se.lth.cs.nlp.nlputils.ml.Classifier
extractor, list
 
Constructor Summary
ClasswiseClassifier()
           
 
Method Summary
 Object classify(FeatureList features)
          Performs a classification given a feature list.
 
Methods inherited from class se.lth.cs.nlp.nlputils.ml.Classifier
classify, classifyRestricted, setFeatureExtractor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClasswiseClassifier

public ClasswiseClassifier()
Method Detail

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.