TMVA::DecisionTreeNode Class Reference

#include <DecisionTreeNode.h>

Inheritance diagram for TMVA::DecisionTreeNode:

TMVA::Node TMVA::Node List of all members.

Public Member Functions

 DecisionTreeNode ()
 DecisionTreeNode (Node *p, char pos)
 DecisionTreeNode (const DecisionTreeNode &n, DecisionTreeNode *parent=NULL)
virtual ~DecisionTreeNode ()
virtual NodeCreateNode () const
void SetNFisherCoeff (Int_t nvars)
UInt_t GetNFisherCoeff () const
void SetFisherCoeff (Int_t ivar, Double_t coeff)
Double_t GetFisherCoeff (Int_t ivar) const
virtual Bool_t GoesRight (const Event &) const
virtual Bool_t GoesLeft (const Event &) const
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)
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 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
void SetSeparationIndex (Float_t sep)
Float_t GetSeparationIndex (void) const
void SetSeparationGain (Float_t sep)
Float_t GetSeparationGain (void) const
virtual void Print (ostream &os) const
virtual void PrintRec (ostream &os) const
virtual void AddAttributesToNode (void *node) const
virtual void AddContentToNode (std::stringstream &s) const
void ClearNodeAndAllDaughters ()
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 ()
Bool_t IsTerminal () const
void SetTerminal (Bool_t s=kTRUE)
void PrintPrune (ostream &os) const
void PrintRecPrune (ostream &os) const
void SetCC (Double_t cc)
Double_t GetCC () const
Float_t GetSampleMin (UInt_t ivar) const
Float_t GetSampleMax (UInt_t ivar) const
void SetSampleMin (UInt_t ivar, Float_t xmin)
void SetSampleMax (UInt_t ivar, Float_t xmax)
 DecisionTreeNode ()
 DecisionTreeNode (Node *p, char pos)
 DecisionTreeNode (const DecisionTreeNode &n, DecisionTreeNode *parent=NULL)
virtual ~DecisionTreeNode ()
virtual NodeCreateNode () const
void SetNFisherCoeff (Int_t nvars)
UInt_t GetNFisherCoeff () const
void SetFisherCoeff (Int_t ivar, Double_t coeff)
Double_t GetFisherCoeff (Int_t ivar) const
virtual Bool_t GoesRight (const Event &) const
virtual Bool_t GoesLeft (const Event &) const
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)
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 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
void SetSeparationIndex (Float_t sep)
Float_t GetSeparationIndex (void) const
void SetSeparationGain (Float_t sep)
Float_t GetSeparationGain (void) const
virtual void Print (ostream &os) const
virtual void PrintRec (ostream &os) const
virtual void AddAttributesToNode (void *node) const
virtual void AddContentToNode (std::stringstream &s) const
void ClearNodeAndAllDaughters ()
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 ()
Bool_t IsTerminal () const
void SetTerminal (Bool_t s=kTRUE)
void PrintPrune (ostream &os) const
void PrintRecPrune (ostream &os) const
void SetCC (Double_t cc)
Double_t GetCC () const
Float_t GetSampleMin (UInt_t ivar) const
Float_t GetSampleMax (UInt_t ivar) const
void SetSampleMin (UInt_t ivar, Float_t xmin)
void SetSampleMax (UInt_t ivar, Float_t xmax)

Static Public Attributes

static bool fgIsTraining

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)
std::vector< Double_tfFisherCoeff
DTNodeTrainingInfofTrainInfo
 flag to set node as terminal (i.e., without deleting its descendants)

Static Protected Attributes

static MsgLoggerfgLogger
static MsgLoggerfgLogger

Private Member Functions

virtual void ReadAttributes (void *node, UInt_t tmva_Version_Code=TMVA_VERSION_CODE)
virtual Bool_t ReadDataRecord (istream &is, UInt_t tmva_Version_Code=TMVA_VERSION_CODE)
virtual void ReadContent (std::stringstream &s)
virtual void ReadAttributes (void *node, UInt_t tmva_Version_Code=TMVA_VERSION_CODE)
virtual Bool_t ReadDataRecord (istream &is, UInt_t tmva_Version_Code=TMVA_VERSION_CODE)
virtual void ReadContent (std::stringstream &s)

Detailed Description

Definition at line 114 of file DecisionTreeNode.h.


Constructor & Destructor Documentation

TMVA::DecisionTreeNode::DecisionTreeNode (  ) 

Definition at line 56 of file DecisionTreeNode.cxx.

Referenced by CreateNode(), and DecisionTreeNode().

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

Definition at line 81 of file DecisionTreeNode.cxx.

References fgIsTraining, fgLogger, and fTrainInfo.

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

Definition at line 106 of file DecisionTreeNode.cxx.

References DecisionTreeNode(), fgIsTraining, fgLogger, fTrainInfo, n, NULL, SetLeft(), SetParent(), and SetRight().

TMVA::DecisionTreeNode::~DecisionTreeNode (  )  [virtual]

Definition at line 140 of file DecisionTreeNode.cxx.

References fTrainInfo.

TMVA::DecisionTreeNode::DecisionTreeNode (  ) 

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

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

virtual TMVA::DecisionTreeNode::~DecisionTreeNode (  )  [virtual]


Member Function Documentation

virtual Node* TMVA::DecisionTreeNode::CreateNode (  )  const [inline, virtual]

Implements TMVA::Node.

Definition at line 129 of file DecisionTreeNode.h.

References DecisionTreeNode().

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

Definition at line 131 of file DecisionTreeNode.h.

References fFisherCoeff.

Referenced by ReadAttributes().

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

Definition at line 132 of file DecisionTreeNode.h.

References fFisherCoeff.

Referenced by AddAttributesToNode(), GoesRight(), Print(), and PrintRec().

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

Definition at line 493 of file DecisionTreeNode.cxx.

References fFisherCoeff.

Referenced by ReadAttributes().

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

Definition at line 136 of file DecisionTreeNode.h.

References fFisherCoeff.

Referenced by GoesRight().

Bool_t TMVA::DecisionTreeNode::GoesRight ( const Event  )  const [virtual]

Implements TMVA::Node.

Definition at line 147 of file DecisionTreeNode.cxx.

References fCutType, fFisherCoeff, GetCutValue(), GetFisherCoeff(), GetNFisherCoeff(), TMVA::Event::GetValue(), kTRUE, and result().

Referenced by TMVA::CCTreeWrapper::CheckEvent(), TMVA::DecisionTree::CheckEvent(), TMVA::DecisionTree::CheckEventWithPrunedTree(), TMVA::DecisionTree::FillEvent(), and TMVA::DecisionTree::GetEventNode().

Bool_t TMVA::DecisionTreeNode::GoesLeft ( const Event  )  const [virtual]

Implements TMVA::Node.

Definition at line 170 of file DecisionTreeNode.cxx.

References kFALSE, and kTRUE.

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

Definition at line 145 of file DecisionTreeNode.h.

References fSelector.

Referenced by TMVA::DecisionTree::PruneNode(), and ReadDataRecord().

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

Definition at line 147 of file DecisionTreeNode.h.

References fSelector.

Referenced by AddAttributesToNode(), TMVA::RuleEnsemble::MakeTheRule(), Print(), and PrintRec().

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

Definition at line 150 of file DecisionTreeNode.h.

References fCutValue.

Referenced by ReadDataRecord().

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

Definition at line 152 of file DecisionTreeNode.h.

References fCutValue.

Referenced by AddAttributesToNode(), GoesRight(), Print(), and PrintRec().

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

Definition at line 155 of file DecisionTreeNode.h.

References fCutType.

Referenced by ReadDataRecord().

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

Definition at line 157 of file DecisionTreeNode.h.

References fCutType.

Referenced by AddAttributesToNode(), Print(), and PrintRec().

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

Definition at line 160 of file DecisionTreeNode.h.

References fNodeType.

Referenced by TMVA::DecisionTree::PruneNode(), and ReadDataRecord().

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

Definition at line 162 of file DecisionTreeNode.h.

References fNodeType.

Referenced by AddAttributesToNode(), TMVA::DecisionTree::CheckEvent(), TMVA::DecisionTree::CleanTree(), TMVA::DecisionTree::FillEvent(), TMVA::ExpectedErrorPruneTool::FindListOfNodes(), TMVA::DecisionTree::GetEventNode(), TMVA::ExpectedErrorPruneTool::GetSubTreeError(), Print(), and PrintRec().

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

Definition at line 165 of file DecisionTreeNode.h.

References fPurity.

Referenced by AddAttributesToNode(), TMVA::CCTreeWrapper::CheckEvent(), TMVA::DecisionTree::CheckEvent(), TMVA::ExpectedErrorPruneTool::GetNodeError(), and TMVA::DecisionTree::PruneNode().

void TMVA::DecisionTreeNode::SetPurity ( void   ) 

Definition at line 179 of file DecisionTreeNode.cxx.

References Endl, fgLogger, fPurity, GetNBkgEvents(), GetNSigEvents(), TMVA::kINFO, and Print().

Referenced by ClearNodeAndAllDaughters(), and ReadDataRecord().

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

Definition at line 170 of file DecisionTreeNode.h.

References fResponse.

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

Definition at line 173 of file DecisionTreeNode.h.

References fResponse.

Referenced by AddAttributesToNode(), TMVA::DecisionTree::CheckEvent(), and PrintRec().

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

Definition at line 176 of file DecisionTreeNode.h.

References fRMS.

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

Definition at line 179 of file DecisionTreeNode.h.

References fRMS.

Referenced by AddAttributesToNode(), and PrintRec().

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

Definition at line 182 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fNSigEvents, and fTrainInfo.

Referenced by ClearNodeAndAllDaughters(), and ReadDataRecord().

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

Definition at line 185 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fNBkgEvents, and fTrainInfo.

Referenced by ClearNodeAndAllDaughters(), and ReadDataRecord().

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

Definition at line 188 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fNEvents, and fTrainInfo.

Referenced by ClearNodeAndAllDaughters(), and ReadDataRecord().

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

Definition at line 191 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fNSigEvents_unweighted, and fTrainInfo.

Referenced by ClearNodeAndAllDaughters(), and ReadDataRecord().

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

Definition at line 194 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fNBkgEvents_unweighted, and fTrainInfo.

Referenced by ClearNodeAndAllDaughters(), and ReadDataRecord().

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

Definition at line 197 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fNEvents_unweighted, and fTrainInfo.

Referenced by ClearNodeAndAllDaughters(), and ReadDataRecord().

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

Definition at line 200 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fNSigEvents, and fTrainInfo.

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

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

Definition at line 203 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fNBkgEvents, and fTrainInfo.

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

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

Definition at line 206 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fNEvents, and fTrainInfo.

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

void TMVA::DecisionTreeNode::IncrementNSigEvents_unweighted (  )  [inline]

Definition at line 209 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fNSigEvents_unweighted, and fTrainInfo.

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

void TMVA::DecisionTreeNode::IncrementNBkgEvents_unweighted (  )  [inline]

Definition at line 212 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fNBkgEvents_unweighted, and fTrainInfo.

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

void TMVA::DecisionTreeNode::IncrementNEvents_unweighted (  )  [inline]

Definition at line 215 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fNEvents_unweighted, and fTrainInfo.

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

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

Definition at line 218 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fNSigEvents, and fTrainInfo.

Referenced by TMVA::DecisionTree::FillEvent(), Print(), PrintRec(), and SetPurity().

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

Definition at line 221 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fNBkgEvents, and fTrainInfo.

Referenced by TMVA::DecisionTree::FillEvent(), Print(), PrintRec(), and SetPurity().

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

Definition at line 224 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fNEvents, and fTrainInfo.

Referenced by TMVA::ExpectedErrorPruneTool::GetNodeError(), TMVA::ExpectedErrorPruneTool::GetSubTreeError(), Print(), and PrintRec().

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

Definition at line 227 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fNSigEvents_unweighted, and fTrainInfo.

Referenced by Print(), and PrintRec().

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

Definition at line 230 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fNBkgEvents_unweighted, and fTrainInfo.

Referenced by Print(), and PrintRec().

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

Definition at line 233 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fNEvents_unweighted, and fTrainInfo.

Referenced by Print(), and PrintRec().

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

Definition at line 237 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fSeparationIndex, and fTrainInfo.

Referenced by ClearNodeAndAllDaughters(), TMVA::DecisionTree::FillEvent(), and ReadDataRecord().

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

Definition at line 239 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fSeparationIndex, and fTrainInfo.

Referenced by Print(), and PrintRec().

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

Definition at line 242 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fSeparationGain, and fTrainInfo.

Referenced by ClearNodeAndAllDaughters(), TMVA::DecisionTree::PruneNode(), and ReadDataRecord().

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

Definition at line 244 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fSeparationGain, and fTrainInfo.

Referenced by Print(), and PrintRec().

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

Definition at line 198 of file DecisionTreeNode.cxx.

References GetCutType(), GetCutValue(), TMVA::Node::GetDepth(), GetNBkgEvents(), GetNBkgEvents_unweighted(), GetNEvents(), GetNEvents_unweighted(), GetNFisherCoeff(), GetNodeType(), GetNSigEvents(), GetNSigEvents_unweighted(), GetSelector(), GetSeparationGain(), GetSeparationIndex(), i, long, and NULL.

Referenced by SetPurity().

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

Definition at line 229 of file DecisionTreeNode.cxx.

References GetCC(), GetCutType(), GetCutValue(), TMVA::Node::GetDepth(), GetNBkgEvents(), GetNBkgEvents_unweighted(), GetNEvents(), GetNEvents_unweighted(), GetNFisherCoeff(), GetNodeType(), GetNSigEvents(), GetNSigEvents_unweighted(), TMVA::Node::GetPos(), GetResponse(), GetRMS(), GetSelector(), GetSeparationGain(), GetSeparationIndex(), i, and NULL.

void TMVA::DecisionTreeNode::AddAttributesToNode ( void *  node  )  const [virtual]

Implements TMVA::Node.

Definition at line 471 of file DecisionTreeNode.cxx.

References TMVA::Tools::AddAttr(), Form(), GetCutType(), GetCutValue(), GetNFisherCoeff(), GetNodeType(), GetPurity(), GetResponse(), GetRMS(), GetSelector(), TMVA::gTools(), and i.

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

Implements TMVA::Node.

Definition at line 501 of file DecisionTreeNode.cxx.

void TMVA::DecisionTreeNode::ClearNodeAndAllDaughters (  ) 

Definition at line 333 of file DecisionTreeNode.cxx.

References NULL, SetNBkgEvents(), SetNBkgEvents_unweighted(), SetNEvents(), SetNEvents_unweighted(), SetNSigEvents(), SetNSigEvents_unweighted(), SetPurity(), SetSeparationGain(), and SetSeparationIndex().

virtual DecisionTreeNode* TMVA::DecisionTreeNode::GetLeft (  )  const [inline, virtual]

Reimplemented from TMVA::Node.

Definition at line 261 of file DecisionTreeNode.h.

References TMVA::Node::fLeft.

Referenced by TMVA::DecisionTree::CheckEvent(), TMVA::DecisionTree::CheckEventWithPrunedTree(), TMVA::DecisionTree::CleanTree(), TMVA::ExpectedErrorPruneTool::CountNodes(), TMVA::DecisionTree::FillEvent(), TMVA::ExpectedErrorPruneTool::FindListOfNodes(), TMVA::DecisionTree::GetEventNode(), TMVA::ExpectedErrorPruneTool::GetSubTreeError(), TMVA::DecisionTree::PruneNode(), and ResetValidationData().

virtual DecisionTreeNode* TMVA::DecisionTreeNode::GetRight (  )  const [inline, virtual]

Reimplemented from TMVA::Node.

Definition at line 262 of file DecisionTreeNode.h.

References TMVA::Node::fRight.

Referenced by TMVA::DecisionTree::CheckEvent(), TMVA::DecisionTree::CheckEventWithPrunedTree(), TMVA::DecisionTree::CleanTree(), TMVA::ExpectedErrorPruneTool::CountNodes(), TMVA::DecisionTree::FillEvent(), TMVA::ExpectedErrorPruneTool::FindListOfNodes(), TMVA::DecisionTree::GetEventNode(), TMVA::ExpectedErrorPruneTool::GetSubTreeError(), PrintRecPrune(), TMVA::DecisionTree::PruneNode(), and ResetValidationData().

virtual DecisionTreeNode* TMVA::DecisionTreeNode::GetParent (  )  const [inline, virtual]

Reimplemented from TMVA::Node.

Definition at line 263 of file DecisionTreeNode.h.

References TMVA::Node::fParent.

virtual void TMVA::DecisionTreeNode::SetLeft ( Node l  )  [inline, virtual]

Reimplemented from TMVA::Node.

Definition at line 266 of file DecisionTreeNode.h.

References TMVA::Node::fLeft, and l.

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

virtual void TMVA::DecisionTreeNode::SetRight ( Node r  )  [inline, virtual]

Reimplemented from TMVA::Node.

Definition at line 267 of file DecisionTreeNode.h.

References TMVA::Node::fRight.

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

virtual void TMVA::DecisionTreeNode::SetParent ( Node p  )  [inline, virtual]

Reimplemented from TMVA::Node.

Definition at line 268 of file DecisionTreeNode.h.

References TMVA::Node::fParent, and p.

Referenced by DecisionTreeNode().

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

Definition at line 274 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fNodeR, and fTrainInfo.

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

Definition at line 275 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fNodeR, and fTrainInfo.

Referenced by PrintPrune(), and TMVA::DecisionTree::PruneNodeInPlace().

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

Definition at line 278 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fSubTreeR, and fTrainInfo.

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

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

Definition at line 279 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fSubTreeR, and fTrainInfo.

Referenced by PrintPrune().

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

Definition at line 284 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fAlpha, and fTrainInfo.

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

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

Definition at line 285 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fAlpha, and fTrainInfo.

Referenced by PrintPrune().

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

Definition at line 288 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fG, and fTrainInfo.

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

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

Definition at line 289 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fG, and fTrainInfo.

Referenced by PrintPrune().

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

Definition at line 292 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fNTerminal, and fTrainInfo.

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

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

Definition at line 293 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fNTerminal, and fTrainInfo.

Referenced by PrintPrune().

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

Definition at line 296 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fNB, and fTrainInfo.

Referenced by TMVA::DecisionTree::CheckEventWithPrunedTree(), and ResetValidationData().

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

Definition at line 297 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fNS, and fTrainInfo.

Referenced by TMVA::DecisionTree::CheckEventWithPrunedTree(), and ResetValidationData().

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

Definition at line 298 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fNB, and fTrainInfo.

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

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

Definition at line 299 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fNS, and fTrainInfo.

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

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

Definition at line 302 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fSumTarget, and fTrainInfo.

Referenced by ResetValidationData().

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

Definition at line 303 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fSumTarget2, and fTrainInfo.

Referenced by ResetValidationData().

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

Definition at line 305 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fSumTarget, and fTrainInfo.

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

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

Definition at line 306 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fSumTarget2, and fTrainInfo.

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

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

Definition at line 308 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fSumTarget, and fTrainInfo.

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

Definition at line 309 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fSumTarget2, and fTrainInfo.

void TMVA::DecisionTreeNode::ResetValidationData (  ) 

Definition at line 351 of file DecisionTreeNode.cxx.

References GetLeft(), GetRight(), NULL, ResetValidationData(), SetNBValidation(), SetNSValidation(), SetSumTarget(), and SetSumTarget2().

Referenced by TMVA::DecisionTree::ApplyValidationSample(), and ResetValidationData().

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

Definition at line 316 of file DecisionTreeNode.h.

References fIsTerminalNode.

Referenced by TMVA::ExpectedErrorPruneTool::CountNodes(), TMVA::ExpectedErrorPruneTool::FindListOfNodes(), and TMVA::ExpectedErrorPruneTool::GetSubTreeError().

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

Definition at line 317 of file DecisionTreeNode.h.

References fIsTerminalNode, and s.

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

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

Definition at line 366 of file DecisionTreeNode.cxx.

References GetAlpha(), GetAlphaMinSubtree(), GetNodeR(), GetNTerminal(), and GetSubTreeR().

Referenced by PrintRecPrune().

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

Definition at line 378 of file DecisionTreeNode.cxx.

References GetRight(), NULL, and PrintPrune().

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

Definition at line 389 of file DecisionTreeNode.cxx.

References Endl, TMVA::DTNodeTrainingInfo::fCC, fgLogger, fTrainInfo, and TMVA::kFATAL.

Referenced by ReadDataRecord().

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

Definition at line 322 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fCC, and fTrainInfo.

Referenced by PrintRec().

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

Definition at line 396 of file DecisionTreeNode.cxx.

References Endl, fgLogger, TMVA::DTNodeTrainingInfo::fSampleMin, fTrainInfo, and TMVA::kFATAL.

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

Definition at line 406 of file DecisionTreeNode.cxx.

References Endl, fgLogger, TMVA::DTNodeTrainingInfo::fSampleMax, fTrainInfo, and TMVA::kFATAL.

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

Definition at line 416 of file DecisionTreeNode.cxx.

References TMVA::DTNodeTrainingInfo::fSampleMin, and fTrainInfo.

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

Definition at line 426 of file DecisionTreeNode.cxx.

References TMVA::DTNodeTrainingInfo::fSampleMax, and fTrainInfo.

void TMVA::DecisionTreeNode::ReadAttributes ( void *  node,
UInt_t  tmva_Version_Code = TMVA_VERSION_CODE 
) [private, virtual]

Implements TMVA::Node.

Definition at line 436 of file DecisionTreeNode.cxx.

References fCutType, fCutValue, fNodeType, Form(), fPurity, fResponse, fRMS, fSelector, TMVA::gTools(), i, TMVA::Tools::ReadAttr(), SetFisherCoeff(), and SetNFisherCoeff().

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

Definition at line 260 of file DecisionTreeNode.cxx.

References depth, fTrainInfo, kFALSE, kTRUE, SetCC(), SetCutType(), SetCutValue(), TMVA::Node::SetDepth(), SetNBkgEvents(), SetNBkgEvents_unweighted(), SetNEvents(), SetNEvents_unweighted(), SetNodeType(), SetNSigEvents(), SetNSigEvents_unweighted(), TMVA::Node::SetPos(), SetPurity(), SetSelector(), SetSeparationGain(), SetSeparationIndex(), and TMVA_VERSION.

void TMVA::DecisionTreeNode::ReadContent ( std::stringstream &  s  )  [private, virtual]

Implements TMVA::Node.

Definition at line 509 of file DecisionTreeNode.cxx.

virtual Node* TMVA::DecisionTreeNode::CreateNode (  )  const [inline, virtual]

Implements TMVA::Node.

Definition at line 129 of file DecisionTreeNode.h.

References DecisionTreeNode().

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

Definition at line 131 of file DecisionTreeNode.h.

References fFisherCoeff.

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

Definition at line 132 of file DecisionTreeNode.h.

References fFisherCoeff.

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

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

Definition at line 136 of file DecisionTreeNode.h.

References fFisherCoeff.

virtual Bool_t TMVA::DecisionTreeNode::GoesRight ( const Event  )  const [virtual]

Implements TMVA::Node.

virtual Bool_t TMVA::DecisionTreeNode::GoesLeft ( const Event  )  const [virtual]

Implements TMVA::Node.

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

Definition at line 145 of file DecisionTreeNode.h.

References fSelector.

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

Definition at line 147 of file DecisionTreeNode.h.

References fSelector.

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

Definition at line 150 of file DecisionTreeNode.h.

References fCutValue.

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

Definition at line 152 of file DecisionTreeNode.h.

References fCutValue.

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

Definition at line 155 of file DecisionTreeNode.h.

References fCutType.

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

Definition at line 157 of file DecisionTreeNode.h.

References fCutType.

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

Definition at line 160 of file DecisionTreeNode.h.

References fNodeType.

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

Definition at line 162 of file DecisionTreeNode.h.

References fNodeType.

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

Definition at line 165 of file DecisionTreeNode.h.

References fPurity.

void TMVA::DecisionTreeNode::SetPurity ( void   ) 

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

Definition at line 170 of file DecisionTreeNode.h.

References fResponse.

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

Definition at line 173 of file DecisionTreeNode.h.

References fResponse.

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

Definition at line 176 of file DecisionTreeNode.h.

References fRMS.

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

Definition at line 179 of file DecisionTreeNode.h.

References fRMS.

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

Definition at line 182 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fNSigEvents, and fTrainInfo.

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

Definition at line 185 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fNBkgEvents, and fTrainInfo.

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

Definition at line 188 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fNEvents, and fTrainInfo.

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

Definition at line 191 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fNSigEvents_unweighted, and fTrainInfo.

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

Definition at line 194 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fNBkgEvents_unweighted, and fTrainInfo.

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

Definition at line 197 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fNEvents_unweighted, and fTrainInfo.

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

Definition at line 200 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fNSigEvents, and fTrainInfo.

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

Definition at line 203 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fNBkgEvents, and fTrainInfo.

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

Definition at line 206 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fNEvents, and fTrainInfo.

void TMVA::DecisionTreeNode::IncrementNSigEvents_unweighted (  )  [inline]

Definition at line 209 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fNSigEvents_unweighted, and fTrainInfo.

void TMVA::DecisionTreeNode::IncrementNBkgEvents_unweighted (  )  [inline]

Definition at line 212 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fNBkgEvents_unweighted, and fTrainInfo.

void TMVA::DecisionTreeNode::IncrementNEvents_unweighted (  )  [inline]

Definition at line 215 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fNEvents_unweighted, and fTrainInfo.

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

Definition at line 218 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fNSigEvents, and fTrainInfo.

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

Definition at line 221 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fNBkgEvents, and fTrainInfo.

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

Definition at line 224 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fNEvents, and fTrainInfo.

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

Definition at line 227 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fNSigEvents_unweighted, and fTrainInfo.

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

Definition at line 230 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fNBkgEvents_unweighted, and fTrainInfo.

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

Definition at line 233 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fNEvents_unweighted, and fTrainInfo.

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

Definition at line 237 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fSeparationIndex, and fTrainInfo.

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

Definition at line 239 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fSeparationIndex, and fTrainInfo.

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

Definition at line 242 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fSeparationGain, and fTrainInfo.

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

Definition at line 244 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fSeparationGain, and fTrainInfo.

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

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

virtual void TMVA::DecisionTreeNode::AddAttributesToNode ( void *  node  )  const [virtual]

Implements TMVA::Node.

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

Implements TMVA::Node.

void TMVA::DecisionTreeNode::ClearNodeAndAllDaughters (  ) 

virtual DecisionTreeNode* TMVA::DecisionTreeNode::GetLeft (  )  const [inline, virtual]

Reimplemented from TMVA::Node.

Definition at line 261 of file DecisionTreeNode.h.

References TMVA::Node::fLeft.

virtual DecisionTreeNode* TMVA::DecisionTreeNode::GetRight (  )  const [inline, virtual]

Reimplemented from TMVA::Node.

Definition at line 262 of file DecisionTreeNode.h.

References TMVA::Node::fRight.

virtual DecisionTreeNode* TMVA::DecisionTreeNode::GetParent (  )  const [inline, virtual]

Reimplemented from TMVA::Node.

Definition at line 263 of file DecisionTreeNode.h.

References TMVA::Node::fParent.

virtual void TMVA::DecisionTreeNode::SetLeft ( Node l  )  [inline, virtual]

Reimplemented from TMVA::Node.

Definition at line 266 of file DecisionTreeNode.h.

References TMVA::Node::fLeft, and l.

virtual void TMVA::DecisionTreeNode::SetRight ( Node r  )  [inline, virtual]

Reimplemented from TMVA::Node.

Definition at line 267 of file DecisionTreeNode.h.

References TMVA::Node::fRight.

virtual void TMVA::DecisionTreeNode::SetParent ( Node p  )  [inline, virtual]

Reimplemented from TMVA::Node.

Definition at line 268 of file DecisionTreeNode.h.

References TMVA::Node::fParent, and p.

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

Definition at line 274 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fNodeR, and fTrainInfo.

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

Definition at line 275 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fNodeR, and fTrainInfo.

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

Definition at line 278 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fSubTreeR, and fTrainInfo.

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

Definition at line 279 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fSubTreeR, and fTrainInfo.

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

Definition at line 284 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fAlpha, and fTrainInfo.

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

Definition at line 285 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fAlpha, and fTrainInfo.

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

Definition at line 288 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fG, and fTrainInfo.

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

Definition at line 289 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fG, and fTrainInfo.

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

Definition at line 292 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fNTerminal, and fTrainInfo.

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

Definition at line 293 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fNTerminal, and fTrainInfo.

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

Definition at line 296 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fNB, and fTrainInfo.

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

Definition at line 297 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fNS, and fTrainInfo.

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

Definition at line 298 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fNB, and fTrainInfo.

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

Definition at line 299 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fNS, and fTrainInfo.

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

Definition at line 302 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fSumTarget, and fTrainInfo.

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

Definition at line 303 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fSumTarget2, and fTrainInfo.

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

Definition at line 305 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fSumTarget, and fTrainInfo.

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

Definition at line 306 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fSumTarget2, and fTrainInfo.

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

Definition at line 308 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fSumTarget, and fTrainInfo.

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

Definition at line 309 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fSumTarget2, and fTrainInfo.

void TMVA::DecisionTreeNode::ResetValidationData (  ) 

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

Definition at line 316 of file DecisionTreeNode.h.

References fIsTerminalNode.

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

Definition at line 317 of file DecisionTreeNode.h.

References fIsTerminalNode, and s.

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

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

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

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

Definition at line 322 of file DecisionTreeNode.h.

References TMVA::DTNodeTrainingInfo::fCC, and fTrainInfo.

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

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

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

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

virtual void TMVA::DecisionTreeNode::ReadAttributes ( void *  node,
UInt_t  tmva_Version_Code = TMVA_VERSION_CODE 
) [private, virtual]

Implements TMVA::Node.

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

virtual void TMVA::DecisionTreeNode::ReadContent ( std::stringstream &  s  )  [private, virtual]

Implements TMVA::Node.


Member Data Documentation

static bool TMVA::DecisionTreeNode::fgIsTraining [static]

Definition at line 329 of file DecisionTreeNode.h.

Referenced by DecisionTreeNode(), G__setup_memvarTMVAcLcLDecisionTreeNode(), StatDialogBDT::StatDialogBDT(), TMVA::MethodBDT::Train(), TMVA::MethodRuleFit::Train(), TMVA::MethodDT::Train(), and StatDialogBDT::~StatDialogBDT().

MsgLogger* TMVA::DecisionTreeNode::fgLogger [static, protected]

Definition at line 333 of file DecisionTreeNode.h.

Referenced by DecisionTreeNode(), GetSampleMax(), GetSampleMin(), SetCC(), and SetPurity().

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

Definition at line 335 of file DecisionTreeNode.h.

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

Float_t TMVA::DecisionTreeNode::fCutValue [protected]

Definition at line 337 of file DecisionTreeNode.h.

Referenced by GetCutValue(), ReadAttributes(), and SetCutValue().

Bool_t TMVA::DecisionTreeNode::fCutType [protected]

Definition at line 338 of file DecisionTreeNode.h.

Referenced by GetCutType(), GoesRight(), ReadAttributes(), and SetCutType().

Short_t TMVA::DecisionTreeNode::fSelector [protected]

Definition at line 339 of file DecisionTreeNode.h.

Referenced by GetSelector(), ReadAttributes(), and SetSelector().

Float_t TMVA::DecisionTreeNode::fResponse [protected]

Definition at line 341 of file DecisionTreeNode.h.

Referenced by GetResponse(), ReadAttributes(), and SetResponse().

Float_t TMVA::DecisionTreeNode::fRMS [protected]

Definition at line 342 of file DecisionTreeNode.h.

Referenced by GetRMS(), ReadAttributes(), and SetRMS().

Int_t TMVA::DecisionTreeNode::fNodeType [protected]

Definition at line 343 of file DecisionTreeNode.h.

Referenced by GetNodeType(), ReadAttributes(), and SetNodeType().

Float_t TMVA::DecisionTreeNode::fPurity [protected]

Definition at line 344 of file DecisionTreeNode.h.

Referenced by GetPurity(), ReadAttributes(), and SetPurity().

Bool_t TMVA::DecisionTreeNode::fIsTerminalNode [protected]

Definition at line 346 of file DecisionTreeNode.h.

Referenced by IsTerminal(), and SetTerminal().

DTNodeTrainingInfo* TMVA::DecisionTreeNode::fTrainInfo [mutable, protected]

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

Definition at line 348 of file DecisionTreeNode.h.

Referenced by AddToSumTarget(), AddToSumTarget2(), DecisionTreeNode(), GetAlpha(), GetAlphaMinSubtree(), GetCC(), GetNBkgEvents(), GetNBkgEvents_unweighted(), GetNBValidation(), GetNEvents(), GetNEvents_unweighted(), GetNodeR(), GetNSigEvents(), GetNSigEvents_unweighted(), GetNSValidation(), GetNTerminal(), GetSampleMax(), GetSampleMin(), GetSeparationGain(), GetSeparationIndex(), GetSubTreeR(), GetSumTarget(), GetSumTarget2(), IncrementNBkgEvents(), IncrementNBkgEvents_unweighted(), IncrementNEvents(), IncrementNEvents_unweighted(), IncrementNSigEvents(), IncrementNSigEvents_unweighted(), ReadDataRecord(), SetAlpha(), SetAlphaMinSubtree(), SetCC(), SetNBkgEvents(), SetNBkgEvents_unweighted(), SetNBValidation(), SetNEvents(), SetNEvents_unweighted(), SetNodeR(), SetNSigEvents(), SetNSigEvents_unweighted(), SetNSValidation(), SetNTerminal(), SetSampleMax(), SetSampleMin(), SetSeparationGain(), SetSeparationIndex(), SetSubTreeR(), SetSumTarget(), SetSumTarget2(), and ~DecisionTreeNode().

MsgLogger* TMVA::DecisionTreeNode::fgLogger [static, protected]

Definition at line 333 of file DecisionTreeNode.h.

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

Definition at line 335 of file DecisionTreeNode.h.

DTNodeTrainingInfo* TMVA::DecisionTreeNode::fTrainInfo [mutable, protected]

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

Definition at line 348 of file DecisionTreeNode.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 17:01:24 2011 for ROOT_528-00b_version by  doxygen 1.5.1