ROOT  6.06/09
Reference Guide
Classes | Public Types | Public Member Functions | Private Attributes | List of all members
TMVA::CCTreeWrapper Class Reference

Definition at line 46 of file CCTreeWrapper.h.

Classes

class  CCTreeNode
 

Public Types

typedef std::vector< Event * > EventList
 

Public Member Functions

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

Private Attributes

SeparationBasefQualityIndex
 
DecisionTreefDTParent
 pointer to the used quality index calculator More...
 
CCTreeNodefRoot
 pointer to underlying DecisionTree More...
 

#include <TMVA/CCTreeWrapper.h>

+ Collaboration diagram for TMVA::CCTreeWrapper:

Member Typedef Documentation

typedef std::vector<Event*> TMVA::CCTreeWrapper::EventList

Definition at line 50 of file CCTreeWrapper.h.

Constructor & Destructor Documentation

TMVA::CCTreeWrapper::CCTreeWrapper ( DecisionTree T,
SeparationBase qualityIndex 
)

constructor

Definition at line 98 of file CCTreeWrapper.cxx.

TMVA::CCTreeWrapper::~CCTreeWrapper ( )

destructor

Definition at line 110 of file CCTreeWrapper.cxx.

Member Function Documentation

Double_t TMVA::CCTreeWrapper::CheckEvent ( const TMVA::Event e,
Bool_t  useYesNoLeaf = false 
)

return the decision tree output for an event

Definition at line 220 of file CCTreeWrapper.cxx.

CCTreeNode* TMVA::CCTreeWrapper::GetRoot ( )
inline

Definition at line 157 of file CCTreeWrapper.h.

Referenced by TMVA::CCPruner::Optimize().

void TMVA::CCTreeWrapper::InitTree ( CCTreeNode t)

initialize the node t and all its descendants

Definition at line 117 of file CCTreeWrapper.cxx.

Referenced by CCTreeWrapper().

void TMVA::CCTreeWrapper::PruneNode ( CCTreeNode t)

remove the branch rooted at node t

Definition at line 154 of file CCTreeWrapper.cxx.

Referenced by TMVA::CCPruner::Optimize().

Double_t TMVA::CCTreeWrapper::TestTreeQuality ( const EventList validationSample)

return the misclassification rate of a pruned tree for a validation event sample using an EventList

Definition at line 177 of file CCTreeWrapper.cxx.

Referenced by TMVA::CCPruner::Optimize().

Double_t TMVA::CCTreeWrapper::TestTreeQuality ( const DataSet validationSample)

return the misclassification rate of a pruned tree for a validation event sample using the DataSet

Definition at line 197 of file CCTreeWrapper.cxx.

Member Data Documentation

DecisionTree* TMVA::CCTreeWrapper::fDTParent
private

pointer to the used quality index calculator

Definition at line 160 of file CCTreeWrapper.h.

Referenced by CCTreeWrapper().

SeparationBase* TMVA::CCTreeWrapper::fQualityIndex
private

Definition at line 159 of file CCTreeWrapper.h.

Referenced by CCTreeWrapper().

CCTreeNode* TMVA::CCTreeWrapper::fRoot
private

pointer to underlying DecisionTree

Definition at line 161 of file CCTreeWrapper.h.

Referenced by CCTreeWrapper(), and GetRoot().


The documentation for this class was generated from the following files: