Definition at line 38 of file CCTreeWrapper.h.
Classes | |
class | CCTreeNode |
Public Types | |
typedef std::vector< Event * > | EventList |
Public Member Functions | |
CCTreeWrapper (DecisionTree *T, SeparationBase *qualityIndex) | |
constructor | |
~CCTreeWrapper () | |
destructor | |
Double_t | CheckEvent (const TMVA::Event &e, Bool_t useYesNoLeaf=false) |
return the decision tree output for an event | |
CCTreeNode * | GetRoot () |
void | InitTree (CCTreeNode *t) |
initialize the node t and all its descendants | |
void | PruneNode (CCTreeNode *t) |
remove the branch rooted at node t | |
Double_t | TestTreeQuality (const DataSet *validationSample) |
return the misclassification rate of a pruned tree for a validation event sample using the DataSet | |
Double_t | TestTreeQuality (const EventList *validationSample) |
return the misclassification rate of a pruned tree for a validation event sample using an EventList | |
Private Attributes | |
DecisionTree * | fDTParent |
pointer to the used quality index calculator | |
SeparationBase * | fQualityIndex |
CCTreeNode * | fRoot |
pointer to underlying DecisionTree | |
#include <TMVA/CCTreeWrapper.h>
typedef std::vector<Event*> TMVA::CCTreeWrapper::EventList |
Definition at line 42 of file CCTreeWrapper.h.
TMVA::CCTreeWrapper::CCTreeWrapper | ( | DecisionTree * | T, |
SeparationBase * | qualityIndex | ||
) |
constructor
Definition at line 104 of file CCTreeWrapper.cxx.
TMVA::CCTreeWrapper::~CCTreeWrapper | ( | ) |
destructor
Definition at line 116 of file CCTreeWrapper.cxx.
Double_t TMVA::CCTreeWrapper::CheckEvent | ( | const TMVA::Event & | e, |
Bool_t | useYesNoLeaf = false |
||
) |
return the decision tree output for an event
Definition at line 226 of file CCTreeWrapper.cxx.
|
inline |
Definition at line 148 of file CCTreeWrapper.h.
void TMVA::CCTreeWrapper::InitTree | ( | CCTreeNode * | t | ) |
initialize the node t and all its descendants
Definition at line 123 of file CCTreeWrapper.cxx.
void TMVA::CCTreeWrapper::PruneNode | ( | CCTreeNode * | t | ) |
remove the branch rooted at node t
Definition at line 160 of file CCTreeWrapper.cxx.
return the misclassification rate of a pruned tree for a validation event sample using the DataSet
Definition at line 203 of file CCTreeWrapper.cxx.
return the misclassification rate of a pruned tree for a validation event sample using an EventList
Definition at line 183 of file CCTreeWrapper.cxx.
|
private |
pointer to the used quality index calculator
Definition at line 151 of file CCTreeWrapper.h.
|
private |
Definition at line 150 of file CCTreeWrapper.h.
|
private |
pointer to underlying DecisionTree
Definition at line 152 of file CCTreeWrapper.h.