diva.sketch.classification
Interface Classifier
- All Known Subinterfaces:
- TrainableClassifier
- All Known Implementing Classes:
- AbstractClassifier, BayesClassifier, KNNClassifier, RubineClassifier, WeightedEuclideanClassifier
public interface Classifier
A Classifier performs generic classification on feature sets, the
semantics of which it knows nothing about. It assumes that the
feature set it is given is consistent with the feature sets that it
was trained on, i.e. the same features are in the same places.
- Version:
- $Revision: 1.4 $
- Author:
- Michael Shilman (michaels@eecs.berkeley.edu)
Method Summary |
Classification |
classify(FeatureSet s)
Return a classification for the specified feature set, or throw
a runtime exception if the feature set that is given does not
have the same number of features as the training set that it
was trained on. |
classify
Classification classify(FeatureSet s)
throws ClassifierException
- Return a classification for the specified feature set, or throw
a runtime exception if the feature set that is given does not
have the same number of features as the training set that it
was trained on.
- Throws:
ClassifierException
Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.