StrongClassifier class used in application of adaptive boost decision tree. More...
Public Member Functions | |
StrongClassifier (const pandora::TiXmlHandle *const pXmlHandle) | |
Constructor using xml handle to set member variables. More... | |
StrongClassifier (const StrongClassifier &rhs) | |
Copy constructor. More... | |
StrongClassifier & | operator= (const StrongClassifier &rhs) |
Assignment operator. More... | |
~StrongClassifier () | |
Destructor. More... | |
double | Predict (const LArMvaHelper::MvaFeatureVector &features) const |
Predict signal or background based on trained data. More... | |
Private Member Functions | |
pandora::StatusCode | ReadComponent (pandora::TiXmlElement *pCurrentXmlElement) |
Read xml element and if weak classifier add to member variables. More... | |
Private Attributes | |
WeakClassifiers | m_weakClassifiers |
Vector of weak classifers. More... | |
StrongClassifier class used in application of adaptive boost decision tree.
Definition at line 269 of file LArAdaBoostDecisionTree.h.
lar_content::AdaBoostDecisionTree::StrongClassifier::StrongClassifier | ( | const pandora::TiXmlHandle *const | pXmlHandle | ) |
Constructor using xml handle to set member variables.
pXmlHandle | xml handle to use when setting member variables |
lar_content::AdaBoostDecisionTree::StrongClassifier::StrongClassifier | ( | const StrongClassifier & | rhs | ) |
Copy constructor.
rhs | the strong classifier to copy |
Definition at line 379 of file LArAdaBoostDecisionTree.cc.
lar_content::AdaBoostDecisionTree::StrongClassifier::~StrongClassifier | ( | ) |
Destructor.
Definition at line 400 of file LArAdaBoostDecisionTree.cc.
AdaBoostDecisionTree::StrongClassifier & lar_content::AdaBoostDecisionTree::StrongClassifier::operator= | ( | const StrongClassifier & | rhs | ) |
Assignment operator.
rhs | the strong classifier to assign |
Definition at line 387 of file LArAdaBoostDecisionTree.cc.
double lar_content::AdaBoostDecisionTree::StrongClassifier::Predict | ( | const LArMvaHelper::MvaFeatureVector & | features | ) | const |
Predict signal or background based on trained data.
features | the input features |
Definition at line 408 of file LArAdaBoostDecisionTree.cc.
|
private |
Read xml element and if weak classifier add to member variables.
Definition at line 440 of file LArAdaBoostDecisionTree.cc.
|
private |
Vector of weak classifers.
Definition at line 313 of file LArAdaBoostDecisionTree.h.