#include <PndPrzWindowClassify.h>
Definition at line 22 of file PndPrzWindowClassify.h.
PndPrzWindowClassify::PndPrzWindowClassify |
( |
std::string const & |
inputFile, |
|
|
std::vector< std::string > const & |
classNames, |
|
|
std::vector< std::string > const & |
varNames |
|
) |
| |
|
explicit |
virtual PndPrzWindowClassify::~PndPrzWindowClassify |
( |
| ) |
|
|
virtual |
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.
float PndPrzWindowClassify::CompHyperCubeVolume |
( |
| ) |
|
|
private |
std::vector< PndMvaClass > const & PndMvaClassifier::GetClasses |
( |
| ) |
const |
|
inlineinherited |
float PndPrzWindowClassify::GetHyperCubeVolume |
( |
| ) |
const |
|
inline |
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.
std::vector< PndMvaVariable > const & PndMvaClassifier::GetVariables |
( |
| ) |
const |
|
inlineinherited |
std::map< std::string, float > const & PndPrzWindowClassify::GetWindowSize |
( |
| ) |
const |
|
inline |
float PndPrzWindowClassify::histKernel |
( |
std::vector< float > const & |
evtDat, |
|
|
std::vector< float > const & |
trSample |
|
) |
| |
|
private |
virtual void PndMvaClassifier::Initialize |
( |
| ) |
|
|
virtualinherited |
virtual void PndMvaClassifier::NormalizeEvent |
( |
std::vector< float > & |
EvtVector | ) |
const |
|
protectedvirtualinherited |
Normalize the given event vector.
void PndMvaClassifier::SetAppType |
( |
AppType |
t | ) |
|
|
inlineprotectedinherited |
void PndPrzWindowClassify::setWindowSize |
( |
float |
wsize | ) |
|
Set the window size. Equal size in every dimension.
- Parameters
-
wsize | Window (Bin) size for all dimensions. |
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 103 of file PndPrzWindowClassify.h.
References CompHyperCubeVolume(), m_volumeN, and m_Wsize.
105 m_Wsize = std::map<std::string, float>(wsize);
std::map< std::string, float > m_Wsize
float CompHyperCubeVolume()
float PndPrzWindowClassify::m_volumeN |
|
private |
std::map<std::string, float> PndPrzWindowClassify::m_Wsize |
|
private |
The documentation for this class was generated from the following file: