de.fu_berlin.ties.classify
Interface Classifier
- All Known Implementing Classes:
- ExternalClassifier, MetaClassifier, MultiBinaryClassifier, OneAgainstTheRestClassifier, TrainableClassifier, UltraconservativeWinnow, Winnow
public interface Classifier
Classes implementing this interface must be able to classify items
represented by feature vectors.
- Version:
- $Revision: 1.6 $, $Date: 2004/04/14 08:45:30 $, $Author: siefkes $
- Author:
- Christian Siefkes
CONFIG_CLASSIFIER
static final String CONFIG_CLASSIFIER
- Base configuration key for classifiers.
- See Also:
- Constant Field Values
classify
PredictionDistribution classify(FeatureVector features,
Set candidateClasses)
throws ProcessingException
- Classifies an item that is represented by a feature vector by choosing
the most probable class among a set of candidate classes.
- Parameters:
features
- the feature vector to considercandidateClasses
- an set of classes that are allowed for this item
- Returns:
- the result of the classification; you can call
PredictionDistribution.best()
to get the most probably class
- Throws:
ProcessingException
- if an error occurs during classification
Copyright © 2003-2004 Christian Siefkes. All Rights Reserved.