LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
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 |
Referenced by lar_content::AdaBoostDecisionTree::WeakClassifier::EvaluateNode().
lar_content::AdaBoostDecisionTree::StrongClassifier::StrongClassifier | ( | const StrongClassifier & | rhs | ) |
Copy constructor.
rhs | the strong classifier to copy |
Definition at line 382 of file LArAdaBoostDecisionTree.cc.
References m_weakClassifiers, and lar_content::AdaBoostDecisionTree::WeakClassifier::WeakClassifier().
lar_content::AdaBoostDecisionTree::StrongClassifier::~StrongClassifier | ( | ) |
Destructor.
Definition at line 403 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 390 of file LArAdaBoostDecisionTree.cc.
References m_weakClassifiers, and lar_content::AdaBoostDecisionTree::WeakClassifier::WeakClassifier().
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 411 of file LArAdaBoostDecisionTree.cc.
Referenced by lar_content::AdaBoostDecisionTree::CalculateScore().
|
private |
Read xml element and if weak classifier add to member variables.
Definition at line 443 of file LArAdaBoostDecisionTree.cc.
References lar_content::AdaBoostDecisionTree::WeakClassifier::WeakClassifier().
|
private |
Vector of weak classifers.
Definition at line 313 of file LArAdaBoostDecisionTree.h.
Referenced by operator=(), and StrongClassifier().