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

Definition at line 36 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...
 
CCTreeNodeGetRoot ()
 
void InitTree (CCTreeNode *t)
 initialize the node t and all its descendants More...
 
void PruneNode (CCTreeNode *t)
 remove the branch rooted at node t 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...
 

Private Attributes

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

#include <TMVA/CCTreeWrapper.h>

Member Typedef Documentation

◆ EventList

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

Definition at line 40 of file CCTreeWrapper.h.

Constructor & Destructor Documentation

◆ CCTreeWrapper()

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

constructor

Definition at line 104 of file CCTreeWrapper.cxx.

◆ ~CCTreeWrapper()

TMVA::CCTreeWrapper::~CCTreeWrapper ( )

destructor

Definition at line 116 of file CCTreeWrapper.cxx.

Member Function Documentation

◆ CheckEvent()

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.

◆ GetRoot()

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

Definition at line 146 of file CCTreeWrapper.h.

◆ InitTree()

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

initialize the node t and all its descendants

Definition at line 123 of file CCTreeWrapper.cxx.

◆ PruneNode()

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

remove the branch rooted at node t

Definition at line 160 of file CCTreeWrapper.cxx.

◆ TestTreeQuality() [1/2]

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 183 of file CCTreeWrapper.cxx.

◆ TestTreeQuality() [2/2]

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 203 of file CCTreeWrapper.cxx.

Member Data Documentation

◆ fDTParent

DecisionTree* TMVA::CCTreeWrapper::fDTParent
private

pointer to the used quality index calculator

Definition at line 149 of file CCTreeWrapper.h.

◆ fQualityIndex

SeparationBase* TMVA::CCTreeWrapper::fQualityIndex
private

Definition at line 148 of file CCTreeWrapper.h.

◆ fRoot

CCTreeNode* TMVA::CCTreeWrapper::fRoot
private

pointer to underlying DecisionTree

Definition at line 150 of file CCTreeWrapper.h.

Libraries for TMVA::CCTreeWrapper:
[legend]

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