Interface definition of the LVQ classifier.
More...
#include <PndLVQClassify.h>
Interface definition of the LVQ classifier.
Definition at line 21 of file PndLVQClassify.h.
◆ PndLVQClassify()
PndLVQClassify::PndLVQClassify |
( |
std::string const & |
inputFile, |
|
|
std::vector< std::string > const & |
classNames, |
|
|
std::vector< std::string > const & |
varNames |
|
) |
| |
|
explicit |
Constructor:
- Parameters
-
inputFile | Input file name (Weights). |
classNames | class names. |
varNames | variable names of the features. |
◆ ~PndLVQClassify()
virtual PndLVQClassify::~PndLVQClassify |
( |
| ) |
|
|
virtual |
◆ Classify()
std::string* PndLVQClassify::Classify |
( |
std::vector< float > |
EvtData | ) |
|
|
virtual |
Given a feature vector describing the pattern. Classifies the pattern.
- Parameters
-
EvtData | Input vector describing the pattern. |
- Returns
- The name of the class to which the current pattern is assigned.
Implements PndMvaClassifier.
◆ GetMvaValues()
void PndLVQClassify::GetMvaValues |
( |
std::vector< float > |
eventData, |
|
|
std::map< std::string, float > & |
result |
|
) |
| |
|
virtual |
- Parameters
-
eventData | Event data to be classified. |
result | Classification results. Currently the shortest distance for each class is stored in result. |
Implements PndMvaClassifier.
The documentation for this class was generated from the following file: