#include <PndPrzWindowClassify.h>
Definition at line 22 of file PndPrzWindowClassify.h.
◆ PndPrzWindowClassify()
PndPrzWindowClassify::PndPrzWindowClassify |
( |
std::string const & |
inputFile, |
|
|
std::vector< std::string > const & |
classNames, |
|
|
std::vector< std::string > const & |
varNames |
|
) |
| |
|
explicit |
◆ ~PndPrzWindowClassify()
virtual PndPrzWindowClassify::~PndPrzWindowClassify |
( |
| ) |
|
|
virtual |
◆ Classify()
std::string* PndPrzWindowClassify::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.
◆ GetHyperCubeVolume()
float PndPrzWindowClassify::GetHyperCubeVolume |
( |
| ) |
const |
|
inline |
◆ GetMvaValues()
void PndPrzWindowClassify::GetMvaValues |
( |
std::vector< float > |
eventData, |
|
|
std::map< std::string, float > & |
result |
|
) |
| |
|
virtual |
Classification function.
- Parameters
-
EvtData | Feature vector of the current event which we want to classify. |
result | Holds the normalized results of classification for every class of events. Note: this parameter will be cleaned and modified. |
Implements PndMvaClassifier.
◆ GetWindowSize()
std::map< std::string, float > const & PndPrzWindowClassify::GetWindowSize |
( |
| ) |
const |
|
inline |
◆ setWindowSize() [1/2]
void PndPrzWindowClassify::setWindowSize |
( |
float |
wsize | ) |
|
Set the window size. Equal size in every dimension.
- Parameters
-
wsize | Window (Bin) size for all dimensions. |
◆ setWindowSize() [2/2]
void PndPrzWindowClassify::setWindowSize |
( |
std::map< std::string, float > const & |
wsize | ) |
|
|
inline |
Set the window size. Specify the size for every dimension.
- Parameters
-
wsize | Window (Bin) size for each dimensions.<dim name, size> |
Definition at line 99 of file PndPrzWindowClassify.h.
101 m_Wsize = std::map<std::string, float>(wsize);
103 m_volumeN = CompHyperCubeVolume();
The documentation for this class was generated from the following file: