Definition at line 49 of file CCTreeWrapper.h.
Public Member Functions | |
CCTreeNode (DecisionTreeNode *n=NULL) | |
constructor of the CCTreeNode | |
virtual | ~CCTreeNode () |
destructor of a CCTreeNode | |
virtual void | AddAttributesToNode (void *node) const |
virtual void | AddContentToNode (std::stringstream &s) const |
virtual Node * | CreateNode () const |
Double_t | GetAlphaC () const |
DecisionTreeNode * | GetDTNode () const |
CCTreeNode * | GetLeftDaughter () |
Double_t | GetMinAlphaC () const |
CCTreeNode * | GetMother () |
Int_t | GetNLeafDaughters () const |
Double_t | GetNodeResubstitutionEstimate () const |
Double_t | GetResubstitutionEstimate () const |
CCTreeNode * | GetRightDaughter () |
virtual Bool_t | GoesLeft (const Event &e) const |
virtual Bool_t | GoesRight (const Event &e) const |
virtual void | Print (std::ostream &os) const |
printout of the node (can be read in with ReadDataRecord) | |
virtual void | PrintRec (std::ostream &os) const |
recursive printout of the node and its daughters | |
virtual void | ReadAttributes (void *node, UInt_t tmva_Version_Code=TMVA_VERSION_CODE) |
virtual void | ReadContent (std::stringstream &s) |
virtual Bool_t | ReadDataRecord (std::istream &in, UInt_t tmva_Version_Code=TMVA_VERSION_CODE) |
initialize a node from a data record | |
void | SetAlphaC (Double_t alpha) |
void | SetMinAlphaC (Double_t alpha) |
void | SetNLeafDaughters (Int_t N) |
void | SetNodeResubstitutionEstimate (Double_t R) |
void | SetResubstitutionEstimate (Double_t R) |
Public Member Functions inherited from TMVA::Node | |
Node () | |
Node (const Node &n) | |
copy constructor, make sure you don't just copy the pointer to the node, but that the parents/daughters are initialized to 0 (and set by the copy constructors of the derived classes | |
Node (Node *p, char pos) | |
constructor of a daughter node as a daughter of 'p' | |
virtual | ~Node () |
node destructor | |
void * | AddXMLTo (void *parent) const |
add attributes to XML | |
Int_t | CountMeAndAllDaughters () const |
recursively go through the part of the tree below this node and count all daughters | |
int | GetCount () |
returns the global number of instantiated nodes | |
UInt_t | GetDepth () const |
virtual Node * | GetLeft () const |
virtual Node * | GetParent () const |
virtual TMVA::BinaryTree * | GetParentTree () const |
char | GetPos () const |
virtual Node * | GetRight () const |
void | ReadXML (void *node, UInt_t tmva_Version_Code=TMVA_VERSION_CODE) |
read attributes from XML | |
void | SetDepth (UInt_t d) |
virtual void | SetLeft (Node *l) |
virtual void | SetParent (Node *p) |
virtual void | SetParentTree (TMVA::BinaryTree *t) |
void | SetPos (char s) |
virtual void | SetRight (Node *r) |
Private Attributes | |
Double_t | fAlphaC |
R(T_t) = sum[t' in ~T_t]{ R(t) }. | |
DecisionTreeNode * | fDTNode |
G(t), minimum critical point of t and its descendants. | |
Double_t | fMinAlphaC |
critical point, g(t) = alpha_c(t) | |
Int_t | fNLeafDaughters |
Double_t | fNodeResubstitutionEstimate |
number of terminal descendants | |
Double_t | fResubstitutionEstimate |
R(t) = misclassification rate for node t. | |
Additional Inherited Members | |
Protected Attributes inherited from TMVA::Node | |
UInt_t | fDepth |
Node * | fLeft |
Node * | fParent |
BinaryTree * | fParentTree |
char | fPos |
Node * | fRight |
#include <TMVA/CCTreeWrapper.h>
TMVA::CCTreeWrapper::CCTreeNode::CCTreeNode | ( | DecisionTreeNode * | n = NULL | ) |
constructor of the CCTreeNode
Definition at line 39 of file CCTreeWrapper.cxx.
|
virtual |
destructor of a CCTreeNode
Definition at line 59 of file CCTreeWrapper.cxx.
Implements TMVA::Node.
Definition at line 252 of file CCTreeWrapper.cxx.
|
virtual |
Implements TMVA::Node.
Definition at line 257 of file CCTreeWrapper.cxx.
|
inlinevirtual |
Implements TMVA::Node.
Definition at line 56 of file CCTreeWrapper.h.
|
inline |
Definition at line 85 of file CCTreeWrapper.h.
|
inline |
Definition at line 94 of file CCTreeWrapper.h.
|
inline |
Definition at line 97 of file CCTreeWrapper.h.
|
inline |
Definition at line 91 of file CCTreeWrapper.h.
|
inline |
Definition at line 99 of file CCTreeWrapper.h.
|
inline |
Definition at line 62 of file CCTreeWrapper.h.
|
inline |
Definition at line 68 of file CCTreeWrapper.h.
|
inline |
Definition at line 75 of file CCTreeWrapper.h.
|
inline |
Definition at line 98 of file CCTreeWrapper.h.
Implements TMVA::Node.
Definition at line 116 of file CCTreeWrapper.h.
Implements TMVA::Node.
Definition at line 112 of file CCTreeWrapper.h.
|
virtual |
printout of the node (can be read in with ReadDataRecord)
Implements TMVA::Node.
Definition at line 81 of file CCTreeWrapper.cxx.
|
virtual |
recursive printout of the node and its daughters
Implements TMVA::Node.
Definition at line 93 of file CCTreeWrapper.cxx.
|
virtual |
Implements TMVA::Node.
Definition at line 262 of file CCTreeWrapper.cxx.
|
virtual |
Implements TMVA::Node.
Definition at line 267 of file CCTreeWrapper.cxx.
|
virtual |
initialize a node from a data record
Implements TMVA::Node.
Definition at line 67 of file CCTreeWrapper.cxx.
Definition at line 82 of file CCTreeWrapper.h.
Definition at line 88 of file CCTreeWrapper.h.
Definition at line 59 of file CCTreeWrapper.h.
Definition at line 65 of file CCTreeWrapper.h.
Definition at line 72 of file CCTreeWrapper.h.
|
private |
R(T_t) = sum[t' in ~T_t]{ R(t) }.
Definition at line 128 of file CCTreeWrapper.h.
|
private |
G(t), minimum critical point of t and its descendants.
Definition at line 130 of file CCTreeWrapper.h.
|
private |
critical point, g(t) = alpha_c(t)
Definition at line 129 of file CCTreeWrapper.h.
|
private |
Definition at line 125 of file CCTreeWrapper.h.
|
private |
number of terminal descendants
Definition at line 126 of file CCTreeWrapper.h.
|
private |
R(t) = misclassification rate for node t.
Definition at line 127 of file CCTreeWrapper.h.