AdaBoostDecisionTree class. More...
#include <LArAdaBoostDecisionTree.h>
Classes | |
| class | Node |
| Node class used for representing a decision tree. More... | |
| class | StrongClassifier |
| StrongClassifier class used in application of adaptive boost decision tree. More... | |
| class | WeakClassifier |
| WeakClassifier class containing a decision tree and a weight. More... | |
Public Member Functions | |
| AdaBoostDecisionTree () | |
| Constructor. More... | |
| AdaBoostDecisionTree (const AdaBoostDecisionTree &rhs) | |
| Copy constructor. More... | |
| AdaBoostDecisionTree & | operator= (const AdaBoostDecisionTree &rhs) |
| Assignment operator. More... | |
| ~AdaBoostDecisionTree () | |
| Destructor. More... | |
| pandora::StatusCode | Initialize (const std::string ¶meterLocation, const std::string &bdtName) |
| Initialize the bdt model. More... | |
| bool | Classify (const LArMvaHelper::MvaFeatureVector &features) const |
| Classify the set of input features based on the trained model. More... | |
| double | CalculateClassificationScore (const LArMvaHelper::MvaFeatureVector &features) const |
| Calculate the classification score for a set of input features, based on the trained model. More... | |
| double | CalculateProbability (const LArMvaHelper::MvaFeatureVector &features) const |
| Calculate the classification probability for a set of input features, based on the trained model. More... | |
Public Member Functions inherited from lar_content::MvaInterface | |
| virtual | ~MvaInterface ()=default |
| Destructor. More... | |
Private Types | |
| typedef std::map< int, const Node * > | IdToNodeMap |
| typedef std::vector< const WeakClassifier * > | WeakClassifiers |
Private Member Functions | |
| double | CalculateScore (const LArMvaHelper::MvaFeatureVector &features) const |
| Calculate score for input features using strong classifier. More... | |
Private Attributes | |
| StrongClassifier * | m_pStrongClassifier |
| Strong adaptive boost tree classifier. More... | |
AdaBoostDecisionTree class.
Definition at line 27 of file LArAdaBoostDecisionTree.h.
|
private |
Definition at line 191 of file LArAdaBoostDecisionTree.h.
|
private |
Definition at line 264 of file LArAdaBoostDecisionTree.h.
| lar_content::AdaBoostDecisionTree::AdaBoostDecisionTree | ( | ) |
Constructor.
Definition at line 18 of file LArAdaBoostDecisionTree.cc.
| lar_content::AdaBoostDecisionTree::AdaBoostDecisionTree | ( | const AdaBoostDecisionTree & | rhs | ) |
Copy constructor.
| rhs | the AdaBoostDecisionTree to copy |
Definition at line 24 of file LArAdaBoostDecisionTree.cc.
| lar_content::AdaBoostDecisionTree::~AdaBoostDecisionTree | ( | ) |
Destructor.
Definition at line 41 of file LArAdaBoostDecisionTree.cc.
|
virtual |
Calculate the classification score for a set of input features, based on the trained model.
| features | the input features |
Implements lar_content::MvaInterface.
Definition at line 126 of file LArAdaBoostDecisionTree.cc.
|
virtual |
Calculate the classification probability for a set of input features, based on the trained model.
| features | the input features |
Implements lar_content::MvaInterface.
Definition at line 133 of file LArAdaBoostDecisionTree.cc.
|
private |
Calculate score for input features using strong classifier.
| features | the input features |
Definition at line 142 of file LArAdaBoostDecisionTree.cc.
|
virtual |
Classify the set of input features based on the trained model.
| features | the input features |
Implements lar_content::MvaInterface.
Definition at line 119 of file LArAdaBoostDecisionTree.cc.
| StatusCode lar_content::AdaBoostDecisionTree::Initialize | ( | const std::string & | parameterLocation, |
| const std::string & | bdtName | ||
| ) |
Initialize the bdt model.
| parameterLocation | the location of the model |
| bdtName | the name of the model |
Definition at line 48 of file LArAdaBoostDecisionTree.cc.
| AdaBoostDecisionTree & lar_content::AdaBoostDecisionTree::operator= | ( | const AdaBoostDecisionTree & | rhs | ) |
Assignment operator.
| rhs | the AdaBoostDecisionTree to assign |
Definition at line 31 of file LArAdaBoostDecisionTree.cc.
|
private |
Strong adaptive boost tree classifier.
Definition at line 325 of file LArAdaBoostDecisionTree.h.
1.8.5