24#ifndef ROOT_TMVA_CCTreeWrapper 
   25#define ROOT_TMVA_CCTreeWrapper 
  102         virtual void Print( std::ostream& os ) 
const;
 
  105         virtual void PrintRec ( std::ostream& os ) 
const;
 
 
 
#define R(a, b, c, d, e, f, g, h, i)
 
#define TMVA_VERSION_CODE
 
Double_t fMinAlphaC
critical point, g(t) = alpha_c(t)
 
Int_t GetNLeafDaughters() const
 
void SetNLeafDaughters(Int_t N)
 
virtual void ReadAttributes(void *node, UInt_t tmva_Version_Code=262657)
 
Double_t GetMinAlphaC() const
 
Double_t GetNodeResubstitutionEstimate() const
 
virtual void ReadContent(std::stringstream &s)
 
Double_t fNodeResubstitutionEstimate
number of terminal descendants
 
virtual void AddAttributesToNode(void *node) const
 
void SetMinAlphaC(Double_t alpha)
 
DecisionTreeNode * GetDTNode() const
 
void SetResubstitutionEstimate(Double_t R)
 
CCTreeNode * GetLeftDaughter()
 
Double_t fAlphaC
R(T_t) = sum[t' in ~T_t]{ R(t) }.
 
virtual Bool_t GoesRight(const Event &e) const
 
Double_t GetResubstitutionEstimate() const
 
virtual Bool_t ReadDataRecord(std::istream &in, UInt_t tmva_Version_Code=262657)
initialize a node from a data record
 
virtual void PrintRec(std::ostream &os) const
recursive printout of the node and its daughters
 
Double_t fResubstitutionEstimate
R(t) = misclassification rate for node t.
 
virtual Bool_t GoesLeft(const Event &e) const
 
DecisionTreeNode * fDTNode
G(t), minimum critical point of t and its descendants.
 
virtual void AddContentToNode(std::stringstream &s) const
 
CCTreeNode(DecisionTreeNode *n=nullptr)
constructor of the CCTreeNode
 
Double_t GetAlphaC() const
 
void SetAlphaC(Double_t alpha)
 
void SetNodeResubstitutionEstimate(Double_t R)
 
CCTreeNode * GetRightDaughter()
 
virtual ~CCTreeNode()
destructor of a CCTreeNode
 
virtual Node * CreateNode() const
 
virtual void Print(std::ostream &os) const
printout of the node (can be read in with ReadDataRecord)
 
SeparationBase * fQualityIndex
! pointer to the used quality index calculator
 
std::vector< Event * > EventList
 
DecisionTree * fDTParent
! pointer to underlying DecisionTree
 
CCTreeNode * fRoot
! the root node of the (wrapped) decision Tree
 
Double_t TestTreeQuality(const EventList *validationSample)
return the misclassification rate of a pruned tree for a validation event sample using an EventList
 
~CCTreeWrapper()
destructor
 
void InitTree(CCTreeNode *t)
initialize the node t and all its descendants
 
void PruneNode(CCTreeNode *t)
remove the branch rooted at node t
 
CCTreeWrapper(DecisionTree *T, SeparationBase *qualityIndex)
constructor
 
Double_t CheckEvent(const TMVA::Event &e, Bool_t useYesNoLeaf=false)
return the decision tree output for an event
 
Class that contains all the data information.
 
virtual Bool_t GoesLeft(const Event &) const
test event if it descends the tree at this node to the left
 
virtual Bool_t GoesRight(const Event &) const
test event if it descends the tree at this node to the right
 
Implementation of a Decision Tree.
 
Node for the BinarySearch or Decision Trees.
 
virtual Node * GetLeft() const
 
virtual Node * GetParent() const
 
virtual Node * GetRight() const
 
An interface to calculate the "SeparationGain" for different separation criteria used in various trai...
 
create variable transformations