Logo ROOT  
Reference Guide
TMVA::DecisionTreeNode Class Reference

Definition at line 116 of file DecisionTreeNode.h.

Public Member Functions

 DecisionTreeNode ()
 constructor of an essentially "empty" node floating in space More...
 
 DecisionTreeNode (const DecisionTreeNode &n, DecisionTreeNode *parent=NULL)
 copy constructor of a node. More...
 
 DecisionTreeNode (Node *p, char pos)
 constructor of a daughter node as a daughter of 'p' More...
 
virtual ~DecisionTreeNode ()
 destructor More...
 
virtual void AddAttributesToNode (void *node) const
 add attribute to xml More...
 
virtual void AddContentToNode (std::stringstream &s) const
 adding attributes to tree node (well, was used in BinarySearchTree, and somehow I guess someone programmed it such that we need this in this tree too, although we don't..) More...
 
void AddToSumTarget (Float_t t)
 
void AddToSumTarget2 (Float_t t2)
 
void ClearNodeAndAllDaughters ()
 clear the nodes (their S/N, Nevents etc), just keep the structure of the tree More...
 
virtual NodeCreateNode () const
 
Double_t GetAlpha () const
 
Double_t GetAlphaMinSubtree () const
 
Double_t GetCC () const
 
Bool_t GetCutType (void) const
 
Float_t GetCutValue (void) const
 
Double_t GetFisherCoeff (Int_t ivar) const
 
virtual DecisionTreeNodeGetLeft () const
 
Float_t GetNBkgEvents (void) const
 
Float_t GetNBkgEvents_unboosted (void) const
 
Float_t GetNBkgEvents_unweighted (void) const
 
Double_t GetNBValidation () const
 
Float_t GetNEvents (void) const
 
Float_t GetNEvents_unboosted (void) const
 
Float_t GetNEvents_unweighted (void) const
 
UInt_t GetNFisherCoeff () const
 
Double_t GetNodeR () const
 
Int_t GetNodeType (void) const
 
Float_t GetNSigEvents (void) const
 
Float_t GetNSigEvents_unboosted (void) const
 
Float_t GetNSigEvents_unweighted (void) const
 
Double_t GetNSValidation () const
 
Int_t GetNTerminal () const
 
virtual DecisionTreeNodeGetParent () const
 
Float_t GetPurity (void) const
 
Float_t GetResponse (void) const
 
virtual DecisionTreeNodeGetRight () const
 
Float_t GetRMS (void) const
 
Float_t GetSampleMax (UInt_t ivar) const
 return the maximum of variable ivar from the training sample that pass/end up in this node More...
 
Float_t GetSampleMin (UInt_t ivar) const
 return the minimum of variable ivar from the training sample that pass/end up in this node More...
 
Short_t GetSelector () const
 
Float_t GetSeparationGain (void) const
 
Float_t GetSeparationIndex (void) const
 
Double_t GetSubTreeR () const
 
Float_t GetSumTarget () const
 
Float_t GetSumTarget2 () const
 
virtual Bool_t GoesLeft (const Event &) const
 test event if it descends the tree at this node to the left More...
 
virtual Bool_t GoesRight (const Event &) const
 test event if it descends the tree at this node to the right More...
 
void IncrementNBkgEvents (Float_t b)
 
void IncrementNBkgEvents_unweighted ()
 
void IncrementNEvents (Float_t nev)
 
void IncrementNEvents_unweighted ()
 
void IncrementNSigEvents (Float_t s)
 
void IncrementNSigEvents_unweighted ()
 
Bool_t IsTerminal () const
 
virtual void Print (std::ostream &os) const
 print the node More...
 
void PrintPrune (std::ostream &os) const
 printout of the node (can be read in with ReadDataRecord) More...
 
virtual void PrintRec (std::ostream &os) const
 recursively print the node and its daughters (--> print the 'tree') More...
 
void PrintRecPrune (std::ostream &os) const
 recursive printout of the node and its daughters More...
 
virtual void ReadAttributes (void *node, UInt_t tmva_Version_Code=TMVA_VERSION_CODE)
 
virtual void ReadContent (std::stringstream &s)
 reading attributes from tree node (well, was used in BinarySearchTree, and somehow I guess someone programmed it such that we need this in this tree too, although we don't..) More...
 
virtual Bool_t ReadDataRecord (std::istream &is, UInt_t tmva_Version_Code=TMVA_VERSION_CODE)
 Read the data block. More...
 
void ResetValidationData ()
 temporary stored node values (number of events, etc.) that originate not from the training but from the validation data (used in pruning) More...
 
void SetAlpha (Double_t alpha)
 
void SetAlphaMinSubtree (Double_t g)
 
void SetCC (Double_t cc)
 
void SetCutType (Bool_t t)
 
void SetCutValue (Float_t c)
 
void SetFisherCoeff (Int_t ivar, Double_t coeff)
 set fisher coefficients More...
 
virtual void SetLeft (Node *l)
 
void SetNBkgEvents (Float_t b)
 
void SetNBkgEvents_unboosted (Float_t b)
 
void SetNBkgEvents_unweighted (Float_t b)
 
void SetNBValidation (Double_t b)
 
void SetNEvents (Float_t nev)
 
void SetNEvents_unboosted (Float_t nev)
 
void SetNEvents_unweighted (Float_t nev)
 
void SetNFisherCoeff (Int_t nvars)
 
void SetNodeR (Double_t r)
 
void SetNodeType (Int_t t)
 
void SetNSigEvents (Float_t s)
 
void SetNSigEvents_unboosted (Float_t s)
 
void SetNSigEvents_unweighted (Float_t s)
 
void SetNSValidation (Double_t s)
 
void SetNTerminal (Int_t n)
 
virtual void SetParent (Node *p)
 
void SetPurity (void)
 return the S/(S+B) (purity) for the node REM: even if nodes with purity 0.01 are very PURE background nodes, they still get a small value of the purity. More...
 
void SetResponse (Float_t r)
 
virtual void SetRight (Node *r)
 
void SetRMS (Float_t r)
 
void SetSampleMax (UInt_t ivar, Float_t xmax)
 set the maximum of variable ivar from the training sample that pass/end up in this node More...
 
void SetSampleMin (UInt_t ivar, Float_t xmin)
 set the minimum of variable ivar from the training sample that pass/end up in this node More...
 
void SetSelector (Short_t i)
 
void SetSeparationGain (Float_t sep)
 
void SetSeparationIndex (Float_t sep)
 
void SetSubTreeR (Double_t r)
 
void SetSumTarget (Float_t t)
 
void SetSumTarget2 (Float_t t2)
 
void SetTerminal (Bool_t s=kTRUE)
 
- 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 More...
 
 Node (Node *p, char pos)
 constructor of a daughter node as a daughter of 'p' More...
 
virtual ~Node ()
 node destructor More...
 
virtual void AddAttributesToNode (void *node) const =0
 
virtual void AddContentToNode (std::stringstream &s) const =0
 
voidAddXMLTo (void *parent) const
 add attributes to XML More...
 
Int_t CountMeAndAllDaughters () const
 recursively go through the part of the tree below this node and count all daughters More...
 
virtual NodeCreateNode () const =0
 
int GetCount ()
 returns the global number of instantiated nodes More...
 
UInt_t GetDepth () const
 
virtual NodeGetLeft () const
 
virtual NodeGetParent () const
 
virtual TMVA::BinaryTreeGetParentTree () const
 
char GetPos () const
 
virtual NodeGetRight () const
 
virtual Bool_t GoesLeft (const Event &) const =0
 
virtual Bool_t GoesRight (const Event &) const =0
 
virtual void Print (std::ostream &os) const =0
 
virtual void PrintRec (std::ostream &os) const =0
 
virtual void ReadAttributes (void *node, UInt_t tmva_Version_Code=TMVA_VERSION_CODE)=0
 
virtual void ReadContent (std::stringstream &s)=0
 
virtual Bool_t ReadDataRecord (std::istream &, UInt_t tmva_Version_Code=TMVA_VERSION_CODE)=0
 
void ReadXML (void *node, UInt_t tmva_Version_Code=TMVA_VERSION_CODE)
 read attributes from XML More...
 
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)
 

Static Public Attributes

static bool fgIsTraining = false
 
static UInt_t fgTmva_Version_Code = 0
 

Static Protected Member Functions

static MsgLoggerLog ()
 

Protected Attributes

Bool_t fCutType
 
Float_t fCutValue
 
std::vector< Double_tfFisherCoeff
 
Bool_t fIsTerminalNode
 
Int_t fNodeType
 
Float_t fPurity
 
Float_t fResponse
 
Float_t fRMS
 
Short_t fSelector
 
DTNodeTrainingInfofTrainInfo
 flag to set node as terminal (i.e., without deleting its descendants) More...
 
- Protected Attributes inherited from TMVA::Node
UInt_t fDepth
 
NodefLeft
 
NodefParent
 
BinaryTreefParentTree
 
char fPos
 
NodefRight
 

#include <TMVA/DecisionTreeNode.h>

Inheritance diagram for TMVA::DecisionTreeNode:
[legend]

Constructor & Destructor Documentation

◆ DecisionTreeNode() [1/3]

TMVA::DecisionTreeNode::DecisionTreeNode ( )

constructor of an essentially "empty" node floating in space

Definition at line 67 of file DecisionTreeNode.cxx.

◆ DecisionTreeNode() [2/3]

TMVA::DecisionTreeNode::DecisionTreeNode ( TMVA::Node p,
char  pos 
)

constructor of a daughter node as a daughter of 'p'

Definition at line 91 of file DecisionTreeNode.cxx.

◆ DecisionTreeNode() [3/3]

TMVA::DecisionTreeNode::DecisionTreeNode ( const DecisionTreeNode n,
DecisionTreeNode parent = NULL 
)

copy constructor of a node.

It will result in an explicit copy of the node and recursively all it's daughters

Definition at line 116 of file DecisionTreeNode.cxx.

◆ ~DecisionTreeNode()

TMVA::DecisionTreeNode::~DecisionTreeNode ( )
virtual

destructor

Definition at line 148 of file DecisionTreeNode.cxx.

Member Function Documentation

◆ AddAttributesToNode()

void TMVA::DecisionTreeNode::AddAttributesToNode ( void node) const
virtual

add attribute to xml

Implements TMVA::Node.

Definition at line 492 of file DecisionTreeNode.cxx.

◆ AddContentToNode()

void TMVA::DecisionTreeNode::AddContentToNode ( std::stringstream &  s) const
virtual

adding attributes to tree node (well, was used in BinarySearchTree, and somehow I guess someone programmed it such that we need this in this tree too, although we don't..)

Implements TMVA::Node.

Definition at line 526 of file DecisionTreeNode.cxx.

◆ AddToSumTarget()

void TMVA::DecisionTreeNode::AddToSumTarget ( Float_t  t)
inline

Definition at line 325 of file DecisionTreeNode.h.

◆ AddToSumTarget2()

void TMVA::DecisionTreeNode::AddToSumTarget2 ( Float_t  t2)
inline

Definition at line 326 of file DecisionTreeNode.h.

◆ ClearNodeAndAllDaughters()

void TMVA::DecisionTreeNode::ClearNodeAndAllDaughters ( )

clear the nodes (their S/N, Nevents etc), just keep the structure of the tree

Definition at line 346 of file DecisionTreeNode.cxx.

◆ CreateNode()

virtual Node * TMVA::DecisionTreeNode::CreateNode ( ) const
inlinevirtual

Implements TMVA::Node.

Definition at line 131 of file DecisionTreeNode.h.

◆ GetAlpha()

Double_t TMVA::DecisionTreeNode::GetAlpha ( ) const
inline

Definition at line 305 of file DecisionTreeNode.h.

◆ GetAlphaMinSubtree()

Double_t TMVA::DecisionTreeNode::GetAlphaMinSubtree ( ) const
inline

Definition at line 309 of file DecisionTreeNode.h.

◆ GetCC()

Double_t TMVA::DecisionTreeNode::GetCC ( ) const
inline

Definition at line 342 of file DecisionTreeNode.h.

◆ GetCutType()

Bool_t TMVA::DecisionTreeNode::GetCutType ( void  ) const
inline

Definition at line 159 of file DecisionTreeNode.h.

◆ GetCutValue()

Float_t TMVA::DecisionTreeNode::GetCutValue ( void  ) const
inline

Definition at line 154 of file DecisionTreeNode.h.

◆ GetFisherCoeff()

Double_t TMVA::DecisionTreeNode::GetFisherCoeff ( Int_t  ivar) const
inline

Definition at line 138 of file DecisionTreeNode.h.

◆ GetLeft()

virtual DecisionTreeNode * TMVA::DecisionTreeNode::GetLeft ( ) const
inlinevirtual

Reimplemented from TMVA::Node.

Definition at line 281 of file DecisionTreeNode.h.

◆ GetNBkgEvents()

Float_t TMVA::DecisionTreeNode::GetNBkgEvents ( void  ) const
inline

Definition at line 232 of file DecisionTreeNode.h.

◆ GetNBkgEvents_unboosted()

Float_t TMVA::DecisionTreeNode::GetNBkgEvents_unboosted ( void  ) const
inline

Definition at line 250 of file DecisionTreeNode.h.

◆ GetNBkgEvents_unweighted()

Float_t TMVA::DecisionTreeNode::GetNBkgEvents_unweighted ( void  ) const
inline

Definition at line 241 of file DecisionTreeNode.h.

◆ GetNBValidation()

Double_t TMVA::DecisionTreeNode::GetNBValidation ( ) const
inline

Definition at line 318 of file DecisionTreeNode.h.

◆ GetNEvents()

Float_t TMVA::DecisionTreeNode::GetNEvents ( void  ) const
inline

Definition at line 235 of file DecisionTreeNode.h.

◆ GetNEvents_unboosted()

Float_t TMVA::DecisionTreeNode::GetNEvents_unboosted ( void  ) const
inline

Definition at line 253 of file DecisionTreeNode.h.

◆ GetNEvents_unweighted()

Float_t TMVA::DecisionTreeNode::GetNEvents_unweighted ( void  ) const
inline

Definition at line 244 of file DecisionTreeNode.h.

◆ GetNFisherCoeff()

UInt_t TMVA::DecisionTreeNode::GetNFisherCoeff ( ) const
inline

Definition at line 134 of file DecisionTreeNode.h.

◆ GetNodeR()

Double_t TMVA::DecisionTreeNode::GetNodeR ( ) const
inline

Definition at line 295 of file DecisionTreeNode.h.

◆ GetNodeType()

Int_t TMVA::DecisionTreeNode::GetNodeType ( void  ) const
inline

Definition at line 164 of file DecisionTreeNode.h.

◆ GetNSigEvents()

Float_t TMVA::DecisionTreeNode::GetNSigEvents ( void  ) const
inline

Definition at line 229 of file DecisionTreeNode.h.

◆ GetNSigEvents_unboosted()

Float_t TMVA::DecisionTreeNode::GetNSigEvents_unboosted ( void  ) const
inline

Definition at line 247 of file DecisionTreeNode.h.

◆ GetNSigEvents_unweighted()

Float_t TMVA::DecisionTreeNode::GetNSigEvents_unweighted ( void  ) const
inline

Definition at line 238 of file DecisionTreeNode.h.

◆ GetNSValidation()

Double_t TMVA::DecisionTreeNode::GetNSValidation ( ) const
inline

Definition at line 319 of file DecisionTreeNode.h.

◆ GetNTerminal()

Int_t TMVA::DecisionTreeNode::GetNTerminal ( ) const
inline

Definition at line 313 of file DecisionTreeNode.h.

◆ GetParent()

virtual DecisionTreeNode * TMVA::DecisionTreeNode::GetParent ( ) const
inlinevirtual

Reimplemented from TMVA::Node.

Definition at line 283 of file DecisionTreeNode.h.

◆ GetPurity()

Float_t TMVA::DecisionTreeNode::GetPurity ( void  ) const
inline

Definition at line 167 of file DecisionTreeNode.h.

◆ GetResponse()

Float_t TMVA::DecisionTreeNode::GetResponse ( void  ) const
inline

Definition at line 175 of file DecisionTreeNode.h.

◆ GetRight()

virtual DecisionTreeNode * TMVA::DecisionTreeNode::GetRight ( ) const
inlinevirtual

Reimplemented from TMVA::Node.

Definition at line 282 of file DecisionTreeNode.h.

◆ GetRMS()

Float_t TMVA::DecisionTreeNode::GetRMS ( void  ) const
inline

Definition at line 181 of file DecisionTreeNode.h.

◆ GetSampleMax()

Float_t TMVA::DecisionTreeNode::GetSampleMax ( UInt_t  ivar) const

return the maximum of variable ivar from the training sample that pass/end up in this node

Definition at line 424 of file DecisionTreeNode.cxx.

◆ GetSampleMin()

Float_t TMVA::DecisionTreeNode::GetSampleMin ( UInt_t  ivar) const

return the minimum of variable ivar from the training sample that pass/end up in this node

Definition at line 413 of file DecisionTreeNode.cxx.

◆ GetSelector()

Short_t TMVA::DecisionTreeNode::GetSelector ( ) const
inline

Definition at line 149 of file DecisionTreeNode.h.

◆ GetSeparationGain()

Float_t TMVA::DecisionTreeNode::GetSeparationGain ( void  ) const
inline

Definition at line 264 of file DecisionTreeNode.h.

◆ GetSeparationIndex()

Float_t TMVA::DecisionTreeNode::GetSeparationIndex ( void  ) const
inline

Definition at line 259 of file DecisionTreeNode.h.

◆ GetSubTreeR()

Double_t TMVA::DecisionTreeNode::GetSubTreeR ( ) const
inline

Definition at line 299 of file DecisionTreeNode.h.

◆ GetSumTarget()

Float_t TMVA::DecisionTreeNode::GetSumTarget ( ) const
inline

Definition at line 328 of file DecisionTreeNode.h.

◆ GetSumTarget2()

Float_t TMVA::DecisionTreeNode::GetSumTarget2 ( ) const
inline

Definition at line 329 of file DecisionTreeNode.h.

◆ GoesLeft()

Bool_t TMVA::DecisionTreeNode::GoesLeft ( const Event e) const
virtual

test event if it descends the tree at this node to the left

Implements TMVA::Node.

Definition at line 179 of file DecisionTreeNode.cxx.

◆ GoesRight()

Bool_t TMVA::DecisionTreeNode::GoesRight ( const Event e) const
virtual

test event if it descends the tree at this node to the right

Implements TMVA::Node.

Definition at line 155 of file DecisionTreeNode.cxx.

◆ IncrementNBkgEvents()

void TMVA::DecisionTreeNode::IncrementNBkgEvents ( Float_t  b)
inline

Definition at line 214 of file DecisionTreeNode.h.

◆ IncrementNBkgEvents_unweighted()

void TMVA::DecisionTreeNode::IncrementNBkgEvents_unweighted ( )
inline

Definition at line 223 of file DecisionTreeNode.h.

◆ IncrementNEvents()

void TMVA::DecisionTreeNode::IncrementNEvents ( Float_t  nev)
inline

Definition at line 217 of file DecisionTreeNode.h.

◆ IncrementNEvents_unweighted()

void TMVA::DecisionTreeNode::IncrementNEvents_unweighted ( )
inline

Definition at line 226 of file DecisionTreeNode.h.

◆ IncrementNSigEvents()

void TMVA::DecisionTreeNode::IncrementNSigEvents ( Float_t  s)
inline

Definition at line 211 of file DecisionTreeNode.h.

◆ IncrementNSigEvents_unweighted()

void TMVA::DecisionTreeNode::IncrementNSigEvents_unweighted ( )
inline

Definition at line 220 of file DecisionTreeNode.h.

◆ IsTerminal()

Bool_t TMVA::DecisionTreeNode::IsTerminal ( ) const
inline

Definition at line 336 of file DecisionTreeNode.h.

◆ Log()

TMVA::MsgLogger & TMVA::DecisionTreeNode::Log ( )
staticprotected

Definition at line 540 of file DecisionTreeNode.cxx.

◆ Print()

void TMVA::DecisionTreeNode::Print ( std::ostream &  os) const
virtual

print the node

Implements TMVA::Node.

Definition at line 209 of file DecisionTreeNode.cxx.

◆ PrintPrune()

void TMVA::DecisionTreeNode::PrintPrune ( std::ostream &  os) const

printout of the node (can be read in with ReadDataRecord)

Definition at line 381 of file DecisionTreeNode.cxx.

◆ PrintRec()

void TMVA::DecisionTreeNode::PrintRec ( std::ostream &  os) const
virtual

recursively print the node and its daughters (--> print the 'tree')

Implements TMVA::Node.

Definition at line 241 of file DecisionTreeNode.cxx.

◆ PrintRecPrune()

void TMVA::DecisionTreeNode::PrintRecPrune ( std::ostream &  os) const

recursive printout of the node and its daughters

Definition at line 393 of file DecisionTreeNode.cxx.

◆ ReadAttributes()

void TMVA::DecisionTreeNode::ReadAttributes ( void node,
UInt_t  tmva_Version_Code = TMVA_VERSION_CODE 
)
virtual

Implements TMVA::Node.

Definition at line 455 of file DecisionTreeNode.cxx.

◆ ReadContent()

void TMVA::DecisionTreeNode::ReadContent ( std::stringstream &  s)
virtual

reading attributes from tree node (well, was used in BinarySearchTree, and somehow I guess someone programmed it such that we need this in this tree too, although we don't..)

Implements TMVA::Node.

Definition at line 535 of file DecisionTreeNode.cxx.

◆ ReadDataRecord()

Bool_t TMVA::DecisionTreeNode::ReadDataRecord ( std::istream &  is,
UInt_t  tmva_Version_Code = TMVA_VERSION_CODE 
)
virtual

Read the data block.

Implements TMVA::Node.

Definition at line 272 of file DecisionTreeNode.cxx.

◆ ResetValidationData()

void TMVA::DecisionTreeNode::ResetValidationData ( )

temporary stored node values (number of events, etc.) that originate not from the training but from the validation data (used in pruning)

Definition at line 366 of file DecisionTreeNode.cxx.

◆ SetAlpha()

void TMVA::DecisionTreeNode::SetAlpha ( Double_t  alpha)
inline

Definition at line 304 of file DecisionTreeNode.h.

◆ SetAlphaMinSubtree()

void TMVA::DecisionTreeNode::SetAlphaMinSubtree ( Double_t  g)
inline

Definition at line 308 of file DecisionTreeNode.h.

◆ SetCC()

void TMVA::DecisionTreeNode::SetCC ( Double_t  cc)

Definition at line 403 of file DecisionTreeNode.cxx.

◆ SetCutType()

void TMVA::DecisionTreeNode::SetCutType ( Bool_t  t)
inline

Definition at line 157 of file DecisionTreeNode.h.

◆ SetCutValue()

void TMVA::DecisionTreeNode::SetCutValue ( Float_t  c)
inline

Definition at line 152 of file DecisionTreeNode.h.

◆ SetFisherCoeff()

void TMVA::DecisionTreeNode::SetFisherCoeff ( Int_t  ivar,
Double_t  coeff 
)

set fisher coefficients

Definition at line 515 of file DecisionTreeNode.cxx.

◆ SetLeft()

virtual void TMVA::DecisionTreeNode::SetLeft ( Node l)
inlinevirtual

Reimplemented from TMVA::Node.

Definition at line 286 of file DecisionTreeNode.h.

◆ SetNBkgEvents()

void TMVA::DecisionTreeNode::SetNBkgEvents ( Float_t  b)
inline

Definition at line 187 of file DecisionTreeNode.h.

◆ SetNBkgEvents_unboosted()

void TMVA::DecisionTreeNode::SetNBkgEvents_unboosted ( Float_t  b)
inline

Definition at line 205 of file DecisionTreeNode.h.

◆ SetNBkgEvents_unweighted()

void TMVA::DecisionTreeNode::SetNBkgEvents_unweighted ( Float_t  b)
inline

Definition at line 196 of file DecisionTreeNode.h.

◆ SetNBValidation()

void TMVA::DecisionTreeNode::SetNBValidation ( Double_t  b)
inline

Definition at line 316 of file DecisionTreeNode.h.

◆ SetNEvents()

void TMVA::DecisionTreeNode::SetNEvents ( Float_t  nev)
inline

Definition at line 190 of file DecisionTreeNode.h.

◆ SetNEvents_unboosted()

void TMVA::DecisionTreeNode::SetNEvents_unboosted ( Float_t  nev)
inline

Definition at line 208 of file DecisionTreeNode.h.

◆ SetNEvents_unweighted()

void TMVA::DecisionTreeNode::SetNEvents_unweighted ( Float_t  nev)
inline

Definition at line 199 of file DecisionTreeNode.h.

◆ SetNFisherCoeff()

void TMVA::DecisionTreeNode::SetNFisherCoeff ( Int_t  nvars)
inline

Definition at line 133 of file DecisionTreeNode.h.

◆ SetNodeR()

void TMVA::DecisionTreeNode::SetNodeR ( Double_t  r)
inline

Definition at line 294 of file DecisionTreeNode.h.

◆ SetNodeType()

void TMVA::DecisionTreeNode::SetNodeType ( Int_t  t)
inline

Definition at line 162 of file DecisionTreeNode.h.

◆ SetNSigEvents()

void TMVA::DecisionTreeNode::SetNSigEvents ( Float_t  s)
inline

Definition at line 184 of file DecisionTreeNode.h.

◆ SetNSigEvents_unboosted()

void TMVA::DecisionTreeNode::SetNSigEvents_unboosted ( Float_t  s)
inline

Definition at line 202 of file DecisionTreeNode.h.

◆ SetNSigEvents_unweighted()

void TMVA::DecisionTreeNode::SetNSigEvents_unweighted ( Float_t  s)
inline

Definition at line 193 of file DecisionTreeNode.h.

◆ SetNSValidation()

void TMVA::DecisionTreeNode::SetNSValidation ( Double_t  s)
inline

Definition at line 317 of file DecisionTreeNode.h.

◆ SetNTerminal()

void TMVA::DecisionTreeNode::SetNTerminal ( Int_t  n)
inline

Definition at line 312 of file DecisionTreeNode.h.

◆ SetParent()

virtual void TMVA::DecisionTreeNode::SetParent ( Node p)
inlinevirtual

Reimplemented from TMVA::Node.

Definition at line 288 of file DecisionTreeNode.h.

◆ SetPurity()

void TMVA::DecisionTreeNode::SetPurity ( void  )

return the S/(S+B) (purity) for the node REM: even if nodes with purity 0.01 are very PURE background nodes, they still get a small value of the purity.

Definition at line 191 of file DecisionTreeNode.cxx.

◆ SetResponse()

void TMVA::DecisionTreeNode::SetResponse ( Float_t  r)
inline

Definition at line 172 of file DecisionTreeNode.h.

◆ SetRight()

virtual void TMVA::DecisionTreeNode::SetRight ( Node r)
inlinevirtual

Reimplemented from TMVA::Node.

Definition at line 287 of file DecisionTreeNode.h.

◆ SetRMS()

void TMVA::DecisionTreeNode::SetRMS ( Float_t  r)
inline

Definition at line 178 of file DecisionTreeNode.h.

◆ SetSampleMax()

void TMVA::DecisionTreeNode::SetSampleMax ( UInt_t  ivar,
Float_t  xmax 
)

set the maximum of variable ivar from the training sample that pass/end up in this node

Definition at line 446 of file DecisionTreeNode.cxx.

◆ SetSampleMin()

void TMVA::DecisionTreeNode::SetSampleMin ( UInt_t  ivar,
Float_t  xmin 
)

set the minimum of variable ivar from the training sample that pass/end up in this node

Definition at line 435 of file DecisionTreeNode.cxx.

◆ SetSelector()

void TMVA::DecisionTreeNode::SetSelector ( Short_t  i)
inline

Definition at line 147 of file DecisionTreeNode.h.

◆ SetSeparationGain()

void TMVA::DecisionTreeNode::SetSeparationGain ( Float_t  sep)
inline

Definition at line 262 of file DecisionTreeNode.h.

◆ SetSeparationIndex()

void TMVA::DecisionTreeNode::SetSeparationIndex ( Float_t  sep)
inline

Definition at line 257 of file DecisionTreeNode.h.

◆ SetSubTreeR()

void TMVA::DecisionTreeNode::SetSubTreeR ( Double_t  r)
inline

Definition at line 298 of file DecisionTreeNode.h.

◆ SetSumTarget()

void TMVA::DecisionTreeNode::SetSumTarget ( Float_t  t)
inline

Definition at line 322 of file DecisionTreeNode.h.

◆ SetSumTarget2()

void TMVA::DecisionTreeNode::SetSumTarget2 ( Float_t  t2)
inline

Definition at line 323 of file DecisionTreeNode.h.

◆ SetTerminal()

void TMVA::DecisionTreeNode::SetTerminal ( Bool_t  s = kTRUE)
inline

Definition at line 337 of file DecisionTreeNode.h.

Member Data Documentation

◆ fCutType

Bool_t TMVA::DecisionTreeNode::fCutType
protected

Definition at line 363 of file DecisionTreeNode.h.

◆ fCutValue

Float_t TMVA::DecisionTreeNode::fCutValue
protected

Definition at line 362 of file DecisionTreeNode.h.

◆ fFisherCoeff

std::vector<Double_t> TMVA::DecisionTreeNode::fFisherCoeff
protected

Definition at line 360 of file DecisionTreeNode.h.

◆ fgIsTraining

bool TMVA::DecisionTreeNode::fgIsTraining = false
static

Definition at line 349 of file DecisionTreeNode.h.

◆ fgTmva_Version_Code

UInt_t TMVA::DecisionTreeNode::fgTmva_Version_Code = 0
static

Definition at line 350 of file DecisionTreeNode.h.

◆ fIsTerminalNode

Bool_t TMVA::DecisionTreeNode::fIsTerminalNode
protected

Definition at line 371 of file DecisionTreeNode.h.

◆ fNodeType

Int_t TMVA::DecisionTreeNode::fNodeType
protected

Definition at line 368 of file DecisionTreeNode.h.

◆ fPurity

Float_t TMVA::DecisionTreeNode::fPurity
protected

Definition at line 369 of file DecisionTreeNode.h.

◆ fResponse

Float_t TMVA::DecisionTreeNode::fResponse
protected

Definition at line 366 of file DecisionTreeNode.h.

◆ fRMS

Float_t TMVA::DecisionTreeNode::fRMS
protected

Definition at line 367 of file DecisionTreeNode.h.

◆ fSelector

Short_t TMVA::DecisionTreeNode::fSelector
protected

Definition at line 364 of file DecisionTreeNode.h.

◆ fTrainInfo

DTNodeTrainingInfo* TMVA::DecisionTreeNode::fTrainInfo
mutableprotected

flag to set node as terminal (i.e., without deleting its descendants)

Definition at line 373 of file DecisionTreeNode.h.

Libraries for TMVA::DecisionTreeNode:
[legend]

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