A++ » TMVA » TMVA::CCTreeWrapper

class TMVA::CCTreeWrapper

CCTreeNode - a light wrapper of a decision tree node


Function Members (Methods)

public:
~CCTreeWrapper()
TMVA::CCTreeWrapperCCTreeWrapper(const TMVA::CCTreeWrapper&)
TMVA::CCTreeWrapperCCTreeWrapper(TMVA::DecisionTree* T, TMVA::SeparationBase* qualityIndex)
Double_tCheckEvent(const TMVA::Event& e, Bool_t useYesNoLeaf = false)
TMVA::CCTreeWrapper::CCTreeNode*GetRoot()
voidInitTree(TMVA::CCTreeWrapper::CCTreeNode* t)
TMVA::CCTreeWrapper&operator=(const TMVA::CCTreeWrapper&)
voidPruneNode(TMVA::CCTreeWrapper::CCTreeNode* t)
Double_tTestTreeQuality(const TMVA::CCTreeWrapper::EventList* validationSample)
Double_tTestTreeQuality(const TMVA::DataSet* validationSample)

Data Members

private:
TMVA::DecisionTree*fDTParent! pointer to underlying DecisionTree
TMVA::SeparationBase*fQualityIndex! pointer to the used quality index calculator
TMVA::CCTreeWrapper::CCTreeNode*fRoot! the root node of the (wrapped) decision Tree

Class Charts

Inheritance Chart:
TMVA::CCTreeWrapper

Function documentation

CCTreeWrapper(TMVA::DecisionTree* T, TMVA::SeparationBase* qualityIndex)
~CCTreeWrapper()
Double_t CheckEvent(const TMVA::Event& e, Bool_t useYesNoLeaf = false)
 return the decision tree output for an event
Double_t TestTreeQuality( const EventList* validationSample )
 return the misclassification rate of a pruned tree for a validation event sample
Double_t TestTreeQuality( const DataSet* validationSample )
void PruneNode(TMVA::CCTreeWrapper::CCTreeNode* t)
 remove the branch rooted at node t
void InitTree(TMVA::CCTreeWrapper::CCTreeNode* t)
 initialize the node t and all its descendants
CCTreeNode* GetRoot()
 return the root node for this tree
{ return fRoot; }