#include <MahalanobisClassifier.h>
Inheritance diagram for prapi::MahalanobisClassifier< T, I, C >:

Cj-1 is the inverse of the covariance matrix for class j.
Public Methods | |
| MahalanobisClassifier (util::List< Sample< T, I, C > > *trainingSamples, int classCount) | |
| Initialize a MahalanobisClassifier with the given set of training samples and number of classes. | |
| C | getClassification (Sample< T, I, C > &sample) throw (ClassificationException&) |
| Get classification for a sample. | |
| void | setTrainingSamples (util::List< Sample< T, I, C > > *lst) |
| Overridden to calculate covariance matrices from training data. | |
|
||||||||||||||||
|
Initialize a MahalanobisClassifier with the given set of training samples and number of classes. No proximity measure is needed as the Mahalanobis distance is used in any case. |