ROOT logo
ROOT » TMVA » TMVA::CCTreeWrapper

class TMVA::CCTreeWrapper

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 Inherited Members Includes Libraries
Class Charts

Function documentation

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