ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Attributes | Static Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
TMVA::DecisionTreeNode Class Reference

Definition at line 120 of file DecisionTreeNode.h.

Public Member Functions

 DecisionTreeNode ()
 constructor of an essentially "empty" node floating in space More...
 
 DecisionTreeNode (Node *p, char pos)
 constructor of a daughter node as a daughter of 'p' More...
 
 DecisionTreeNode (const DecisionTreeNode &n, DecisionTreeNode *parent=NULL)
 copy constructor of a node. More...
 
virtual ~DecisionTreeNode ()
 destructor More...
 
virtual NodeCreateNode () const
 
void SetNFisherCoeff (Int_t nvars)
 
UInt_t GetNFisherCoeff () const
 
void SetFisherCoeff (Int_t ivar, Double_t coeff)
 set fisher coefficients More...
 
Double_t GetFisherCoeff (Int_t ivar) const
 
virtual Bool_t GoesRight (const Event &) const
 test event if it decends the tree at this node to the right More...
 
virtual Bool_t GoesLeft (const Event &) const
 test event if it decends the tree at this node to the left More...
 
void SetSelector (Short_t i)
 
Short_t GetSelector () const
 
void SetCutValue (Float_t c)
 
Float_t GetCutValue (void) const
 
void SetCutType (Bool_t t)
 
Bool_t GetCutType (void) const
 
void SetNodeType (Int_t t)
 
Int_t GetNodeType (void) const
 
Float_t GetPurity (void) const
 
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)
 
Float_t GetResponse (void) const
 
void SetRMS (Float_t r)
 
Float_t GetRMS (void) const
 
void SetNSigEvents (Float_t s)
 
void SetNBkgEvents (Float_t b)
 
void SetNEvents (Float_t nev)
 
void SetNSigEvents_unweighted (Float_t s)
 
void SetNBkgEvents_unweighted (Float_t b)
 
void SetNEvents_unweighted (Float_t nev)
 
void SetNSigEvents_unboosted (Float_t s)
 
void SetNBkgEvents_unboosted (Float_t b)
 
void SetNEvents_unboosted (Float_t nev)
 
void IncrementNSigEvents (Float_t s)
 
void IncrementNBkgEvents (Float_t b)
 
void IncrementNEvents (Float_t nev)
 
void IncrementNSigEvents_unweighted ()
 
void IncrementNBkgEvents_unweighted ()
 
void IncrementNEvents_unweighted ()
 
Float_t GetNSigEvents (void) const
 
Float_t GetNBkgEvents (void) const
 
Float_t GetNEvents (void) const
 
Float_t GetNSigEvents_unweighted (void) const
 
Float_t GetNBkgEvents_unweighted (void) const
 
Float_t GetNEvents_unweighted (void) const
 
Float_t GetNSigEvents_unboosted (void) const
 
Float_t GetNBkgEvents_unboosted (void) const
 
Float_t GetNEvents_unboosted (void) const
 
void SetSeparationIndex (Float_t sep)
 
Float_t GetSeparationIndex (void) const
 
void SetSeparationGain (Float_t sep)
 
Float_t GetSeparationGain (void) const
 
virtual void Print (std::ostream &os) const
 print the node More...
 
virtual void PrintRec (std::ostream &os) const
 recursively print the node and its daughters (–> print the 'tree') 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 ClearNodeAndAllDaughters ()
 clear the nodes (their S/N, Nevents etc), just keep the structure of the tree More...
 
virtual DecisionTreeNodeGetLeft () const
 
virtual DecisionTreeNodeGetRight () const
 
virtual DecisionTreeNodeGetParent () const
 
virtual void SetLeft (Node *l)
 
virtual void SetRight (Node *r)
 
virtual void SetParent (Node *p)
 
void SetNodeR (Double_t r)
 
Double_t GetNodeR () const
 
void SetSubTreeR (Double_t r)
 
Double_t GetSubTreeR () const
 
void SetAlpha (Double_t alpha)
 
Double_t GetAlpha () const
 
void SetAlphaMinSubtree (Double_t g)
 
Double_t GetAlphaMinSubtree () const
 
void SetNTerminal (Int_t n)
 
Int_t GetNTerminal () const
 
void SetNBValidation (Double_t b)
 
void SetNSValidation (Double_t s)
 
Double_t GetNBValidation () const
 
Double_t GetNSValidation () const
 
void SetSumTarget (Float_t t)
 
void SetSumTarget2 (Float_t t2)
 
void AddToSumTarget (Float_t t)
 
void AddToSumTarget2 (Float_t t2)
 
Float_t GetSumTarget () const
 
Float_t GetSumTarget2 () const
 
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...
 
Bool_t IsTerminal () const
 
void SetTerminal (Bool_t s=kTRUE)
 
void PrintPrune (std::ostream &os) const
 printout of the node (can be read in with ReadDataRecord) More...
 
void PrintRecPrune (std::ostream &os) const
 recursive printout of the node and its daughters More...
 
void SetCC (Double_t cc)
 
Double_t GetCC () const
 
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...
 
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...
 
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 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...
 
- Public Member Functions inherited from TMVA::Node
 Node ()
 
 Node (Node *p, char pos)
 constructor of a daughter node as a daughter of 'p' More...
 
 Node (const Node &n)
 copy constructor, make sure you don't just copy the poiter to the node, but that the parents/daugthers are initialized to 0 (and set by the copy constructors of the derived classes More...
 
virtual ~Node ()
 node destructor More...
 
Int_t CountMeAndAllDaughters () const
 recursively go through the part of the tree below this node and count all daughters More...
 
voidAddXMLTo (void *parent) const
 add attributes to XML More...
 
void ReadXML (void *node, UInt_t tmva_Version_Code=TMVA_VERSION_CODE)
 read attributes from XML More...
 
void SetDepth (UInt_t d)
 
UInt_t GetDepth () const
 
void SetPos (char s)
 
char GetPos () const
 
virtual TMVA::BinaryTreeGetParentTree () const
 
virtual void SetParentTree (TMVA::BinaryTree *t)
 
int GetCount ()
 retuns the global number of instantiated nodes More...
 

Static Public Attributes

static bool fgIsTraining
 
static UInt_t fgTmva_Version_Code
 

Static Protected Member Functions

static MsgLoggerLog ()
 

Protected Attributes

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

Private Member Functions

virtual void ReadAttributes (void *node, UInt_t tmva_Version_Code=TMVA_VERSION_CODE)
 
virtual Bool_t ReadDataRecord (std::istream &is, UInt_t tmva_Version_Code=TMVA_VERSION_CODE)
 Read the data block. More...
 
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...
 

#include <TMVA/DecisionTreeNode.h>

Inheritance diagram for TMVA::DecisionTreeNode:
[legend]

Constructor & Destructor Documentation

TMVA::DecisionTreeNode::DecisionTreeNode ( )

constructor of an essentially "empty" node floating in space

Definition at line 59 of file DecisionTreeNode.cxx.

Referenced by CreateNode(), and DecisionTreeNode().

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

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

Definition at line 83 of file DecisionTreeNode.cxx.

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 108 of file DecisionTreeNode.cxx.

TMVA::DecisionTreeNode::~DecisionTreeNode ( )
virtual

destructor

Definition at line 140 of file DecisionTreeNode.cxx.

Member Function Documentation

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

add attribute to xml

Implements TMVA::Node.

Definition at line 484 of file DecisionTreeNode.cxx.

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 518 of file DecisionTreeNode.cxx.

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

Definition at line 329 of file DecisionTreeNode.h.

Referenced by TMVA::DecisionTree::CheckEventWithPrunedTree().

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

Definition at line 330 of file DecisionTreeNode.h.

Referenced by TMVA::DecisionTree::CheckEventWithPrunedTree().

void TMVA::DecisionTreeNode::ClearNodeAndAllDaughters ( )

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

Definition at line 338 of file DecisionTreeNode.cxx.

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

Implements TMVA::Node.

Definition at line 135 of file DecisionTreeNode.h.

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

Definition at line 346 of file DecisionTreeNode.h.

Bool_t TMVA::DecisionTreeNode::GetCutType ( void  ) const
inline
Float_t TMVA::DecisionTreeNode::GetCutValue ( void  ) const
inline
Double_t TMVA::DecisionTreeNode::GetFisherCoeff ( Int_t  ivar) const
inline

Definition at line 142 of file DecisionTreeNode.h.

Referenced by TMVA::MethodBDT::MakeClassInstantiateNode().

virtual DecisionTreeNode* TMVA::DecisionTreeNode::GetLeft ( ) const
inlinevirtual
Float_t TMVA::DecisionTreeNode::GetNBkgEvents ( void  ) const
inline
Float_t TMVA::DecisionTreeNode::GetNBkgEvents_unboosted ( void  ) const
inline

Definition at line 254 of file DecisionTreeNode.h.

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

Definition at line 245 of file DecisionTreeNode.h.

Double_t TMVA::DecisionTreeNode::GetNBValidation ( ) const
inline
Float_t TMVA::DecisionTreeNode::GetNEvents ( void  ) const
inline
Float_t TMVA::DecisionTreeNode::GetNEvents_unboosted ( void  ) const
inline

Definition at line 257 of file DecisionTreeNode.h.

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

Definition at line 248 of file DecisionTreeNode.h.

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

Definition at line 138 of file DecisionTreeNode.h.

Referenced by TMVA::MethodBDT::MakeClassInstantiateNode().

Double_t TMVA::DecisionTreeNode::GetNodeR ( ) const
inline
Int_t TMVA::DecisionTreeNode::GetNodeType ( void  ) const
inline
Float_t TMVA::DecisionTreeNode::GetNSigEvents ( void  ) const
inline
Float_t TMVA::DecisionTreeNode::GetNSigEvents_unboosted ( void  ) const
inline

Definition at line 251 of file DecisionTreeNode.h.

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

Definition at line 242 of file DecisionTreeNode.h.

Double_t TMVA::DecisionTreeNode::GetNSValidation ( ) const
inline
Int_t TMVA::DecisionTreeNode::GetNTerminal ( ) const
inline
virtual DecisionTreeNode* TMVA::DecisionTreeNode::GetParent ( ) const
inlinevirtual

Reimplemented from TMVA::Node.

Definition at line 287 of file DecisionTreeNode.h.

Referenced by TMVA::CostComplexityPruneTool::Optimize(), and TMVA::DecisionTree::TrainNodeFull().

Float_t TMVA::DecisionTreeNode::GetPurity ( void  ) const
inline
Float_t TMVA::DecisionTreeNode::GetResponse ( void  ) const
inline
virtual DecisionTreeNode* TMVA::DecisionTreeNode::GetRight ( ) const
inlinevirtual
Float_t TMVA::DecisionTreeNode::GetRMS ( void  ) const
inline

Definition at line 185 of file DecisionTreeNode.h.

Referenced by TMVA::StatDialogBDTReg::DrawNode().

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 416 of file DecisionTreeNode.cxx.

Referenced by TMVA::DecisionTree::TrainNodeFast().

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 405 of file DecisionTreeNode.cxx.

Referenced by TMVA::DecisionTree::TrainNodeFast().

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

Definition at line 268 of file DecisionTreeNode.h.

Float_t TMVA::DecisionTreeNode::GetSeparationIndex ( void  ) const
inline
Double_t TMVA::DecisionTreeNode::GetSubTreeR ( ) const
inline
Float_t TMVA::DecisionTreeNode::GetSumTarget ( ) const
inline

Definition at line 332 of file DecisionTreeNode.h.

Referenced by TMVA::DecisionTree::TestPrunedTreeQuality().

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

Definition at line 333 of file DecisionTreeNode.h.

Referenced by TMVA::DecisionTree::TestPrunedTreeQuality().

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

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

Implements TMVA::Node.

Definition at line 172 of file DecisionTreeNode.cxx.

Bool_t TMVA::DecisionTreeNode::GoesRight ( const Event e) const
virtual
void TMVA::DecisionTreeNode::IncrementNBkgEvents ( Float_t  b)
inline

Definition at line 218 of file DecisionTreeNode.h.

Referenced by TMVA::DecisionTree::FillEvent().

void TMVA::DecisionTreeNode::IncrementNBkgEvents_unweighted ( )
inline

Definition at line 227 of file DecisionTreeNode.h.

Referenced by TMVA::DecisionTree::FillEvent().

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

Definition at line 221 of file DecisionTreeNode.h.

Referenced by TMVA::DecisionTree::FillEvent().

void TMVA::DecisionTreeNode::IncrementNEvents_unweighted ( )
inline

Definition at line 230 of file DecisionTreeNode.h.

Referenced by TMVA::DecisionTree::FillEvent().

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

Definition at line 215 of file DecisionTreeNode.h.

Referenced by TMVA::DecisionTree::FillEvent().

void TMVA::DecisionTreeNode::IncrementNSigEvents_unweighted ( )
inline

Definition at line 224 of file DecisionTreeNode.h.

Referenced by TMVA::DecisionTree::FillEvent().

Bool_t TMVA::DecisionTreeNode::IsTerminal ( ) const
inline
TMVA::MsgLogger & TMVA::DecisionTreeNode::Log ( )
staticprotected

Definition at line 532 of file DecisionTreeNode.cxx.

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

print the node

Implements TMVA::Node.

Definition at line 201 of file DecisionTreeNode.cxx.

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

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

Definition at line 373 of file DecisionTreeNode.cxx.

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 233 of file DecisionTreeNode.cxx.

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

recursive printout of the node and its daughters

Definition at line 385 of file DecisionTreeNode.cxx.

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

Implements TMVA::Node.

Definition at line 447 of file DecisionTreeNode.cxx.

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

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 527 of file DecisionTreeNode.cxx.

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

Read the data block.

Implements TMVA::Node.

Definition at line 264 of file DecisionTreeNode.cxx.

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 358 of file DecisionTreeNode.cxx.

void TMVA::DecisionTreeNode::SetAlpha ( Double_t  alpha)
inline
void TMVA::DecisionTreeNode::SetAlphaMinSubtree ( Double_t  g)
inline
void TMVA::DecisionTreeNode::SetCC ( Double_t  cc)
void TMVA::DecisionTreeNode::SetCutType ( Bool_t  t)
inline
void TMVA::DecisionTreeNode::SetCutValue ( Float_t  c)
inline
void TMVA::DecisionTreeNode::SetFisherCoeff ( Int_t  ivar,
Double_t  coeff 
)

set fisher coefficients

Definition at line 507 of file DecisionTreeNode.cxx.

Referenced by TMVA::DecisionTree::TrainNodeFast().

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

Reimplemented from TMVA::Node.

Definition at line 290 of file DecisionTreeNode.h.

Referenced by TMVA::DecisionTree::BuildTree(), DecisionTreeNode(), and TMVA::DecisionTree::PruneNode().

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

Definition at line 191 of file DecisionTreeNode.h.

Referenced by TMVA::DecisionTree::BuildTree().

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

Definition at line 209 of file DecisionTreeNode.h.

Referenced by TMVA::DecisionTree::BuildTree().

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

Definition at line 200 of file DecisionTreeNode.h.

Referenced by TMVA::DecisionTree::BuildTree().

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

Definition at line 320 of file DecisionTreeNode.h.

Referenced by TMVA::DecisionTree::CheckEventWithPrunedTree().

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

Definition at line 194 of file DecisionTreeNode.h.

Referenced by TMVA::DecisionTree::BuildTree().

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

Definition at line 212 of file DecisionTreeNode.h.

Referenced by TMVA::DecisionTree::BuildTree().

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

Definition at line 203 of file DecisionTreeNode.h.

Referenced by TMVA::DecisionTree::BuildTree().

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

Definition at line 137 of file DecisionTreeNode.h.

Referenced by TMVA::DecisionTree::TrainNodeFast().

void TMVA::DecisionTreeNode::SetNodeR ( Double_t  r)
inline
void TMVA::DecisionTreeNode::SetNodeType ( Int_t  t)
inline
void TMVA::DecisionTreeNode::SetNSigEvents ( Float_t  s)
inline

Definition at line 188 of file DecisionTreeNode.h.

Referenced by TMVA::DecisionTree::BuildTree().

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

Definition at line 206 of file DecisionTreeNode.h.

Referenced by TMVA::DecisionTree::BuildTree().

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

Definition at line 197 of file DecisionTreeNode.h.

Referenced by TMVA::DecisionTree::BuildTree().

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

Definition at line 321 of file DecisionTreeNode.h.

Referenced by TMVA::DecisionTree::CheckEventWithPrunedTree().

void TMVA::DecisionTreeNode::SetNTerminal ( Int_t  n)
inline
virtual void TMVA::DecisionTreeNode::SetParent ( Node p)
inlinevirtual

Reimplemented from TMVA::Node.

Definition at line 292 of file DecisionTreeNode.h.

Referenced by DecisionTreeNode().

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 184 of file DecisionTreeNode.cxx.

Referenced by TMVA::DecisionTree::BuildTree().

void TMVA::DecisionTreeNode::SetResponse ( Float_t  r)
inline
virtual void TMVA::DecisionTreeNode::SetRight ( Node r)
inlinevirtual

Reimplemented from TMVA::Node.

Definition at line 291 of file DecisionTreeNode.h.

Referenced by TMVA::DecisionTree::BuildTree(), DecisionTreeNode(), and TMVA::DecisionTree::PruneNode().

void TMVA::DecisionTreeNode::SetRMS ( Float_t  r)
inline
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 438 of file DecisionTreeNode.cxx.

Referenced by TMVA::DecisionTree::BuildTree().

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 427 of file DecisionTreeNode.cxx.

Referenced by TMVA::DecisionTree::BuildTree().

void TMVA::DecisionTreeNode::SetSelector ( Short_t  i)
inline
void TMVA::DecisionTreeNode::SetSeparationGain ( Float_t  sep)
inline
void TMVA::DecisionTreeNode::SetSeparationIndex ( Float_t  sep)
inline
void TMVA::DecisionTreeNode::SetSubTreeR ( Double_t  r)
inline
void TMVA::DecisionTreeNode::SetSumTarget ( Float_t  t)
inline

Definition at line 326 of file DecisionTreeNode.h.

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

Definition at line 327 of file DecisionTreeNode.h.

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

Member Data Documentation

Bool_t TMVA::DecisionTreeNode::fCutType
protected

Definition at line 363 of file DecisionTreeNode.h.

Referenced by GetCutType(), and SetCutType().

Float_t TMVA::DecisionTreeNode::fCutValue
protected

Definition at line 362 of file DecisionTreeNode.h.

Referenced by GetCutValue(), and SetCutValue().

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

Definition at line 360 of file DecisionTreeNode.h.

Referenced by GetFisherCoeff(), GetNFisherCoeff(), and SetNFisherCoeff().

bool TMVA::DecisionTreeNode::fgIsTraining
static
UInt_t TMVA::DecisionTreeNode::fgTmva_Version_Code
static

Definition at line 354 of file DecisionTreeNode.h.

Bool_t TMVA::DecisionTreeNode::fIsTerminalNode
protected

Definition at line 371 of file DecisionTreeNode.h.

Referenced by IsTerminal(), and SetTerminal().

Int_t TMVA::DecisionTreeNode::fNodeType
protected

Definition at line 368 of file DecisionTreeNode.h.

Referenced by GetNodeType(), and SetNodeType().

Float_t TMVA::DecisionTreeNode::fPurity
protected

Definition at line 369 of file DecisionTreeNode.h.

Referenced by GetPurity().

Float_t TMVA::DecisionTreeNode::fResponse
protected

Definition at line 366 of file DecisionTreeNode.h.

Referenced by GetResponse(), and SetResponse().

Float_t TMVA::DecisionTreeNode::fRMS
protected

Definition at line 367 of file DecisionTreeNode.h.

Referenced by GetRMS(), and SetRMS().

Short_t TMVA::DecisionTreeNode::fSelector
protected

Definition at line 364 of file DecisionTreeNode.h.

Referenced by GetSelector(), and SetSelector().

DTNodeTrainingInfo* TMVA::DecisionTreeNode::fTrainInfo
mutableprotected
Collaboration diagram for TMVA::DecisionTreeNode:
[legend]

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