#include <DecisionTreeNode.h>
Inheritance diagram for TMVA::DecisionTreeNode:
Definition at line 114 of file DecisionTreeNode.h.
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] |
TMVA::DecisionTreeNode::DecisionTreeNode | ( | ) |
TMVA::DecisionTreeNode::DecisionTreeNode | ( | Node * | p, | |
char | pos | |||
) |
TMVA::DecisionTreeNode::DecisionTreeNode | ( | const DecisionTreeNode & | n, | |
DecisionTreeNode * | parent = NULL | |||
) |
virtual TMVA::DecisionTreeNode::~DecisionTreeNode | ( | ) | [virtual] |
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().
Definition at line 493 of file DecisionTreeNode.cxx.
References fFisherCoeff.
Referenced by ReadAttributes().
Definition at line 136 of file DecisionTreeNode.h.
References fFisherCoeff.
Referenced by GoesRight().
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().
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] |
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] |
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] |
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().
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 |
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().
Definition at line 396 of file DecisionTreeNode.cxx.
References Endl, fgLogger, TMVA::DTNodeTrainingInfo::fSampleMin, fTrainInfo, and TMVA::kFATAL.
Definition at line 406 of file DecisionTreeNode.cxx.
References Endl, fgLogger, TMVA::DTNodeTrainingInfo::fSampleMax, fTrainInfo, and TMVA::kFATAL.
Definition at line 416 of file DecisionTreeNode.cxx.
References TMVA::DTNodeTrainingInfo::fSampleMin, and fTrainInfo.
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] |
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] |
UInt_t TMVA::DecisionTreeNode::GetNFisherCoeff | ( | ) | const [inline] |
Implements TMVA::Node.
Implements TMVA::Node.
void TMVA::DecisionTreeNode::SetSelector | ( | Short_t | i | ) | [inline] |
Short_t TMVA::DecisionTreeNode::GetSelector | ( | ) | const [inline] |
void TMVA::DecisionTreeNode::SetCutValue | ( | Float_t | c | ) | [inline] |
Float_t TMVA::DecisionTreeNode::GetCutValue | ( | void | ) | const [inline] |
void TMVA::DecisionTreeNode::SetCutType | ( | Bool_t | t | ) | [inline] |
Bool_t TMVA::DecisionTreeNode::GetCutType | ( | void | ) | const [inline] |
void TMVA::DecisionTreeNode::SetNodeType | ( | Int_t | t | ) | [inline] |
Int_t TMVA::DecisionTreeNode::GetNodeType | ( | void | ) | const [inline] |
Float_t TMVA::DecisionTreeNode::GetPurity | ( | void | ) | const [inline] |
void TMVA::DecisionTreeNode::SetPurity | ( | void | ) |
void TMVA::DecisionTreeNode::SetResponse | ( | Float_t | r | ) | [inline] |
Float_t TMVA::DecisionTreeNode::GetResponse | ( | void | ) | const [inline] |
void TMVA::DecisionTreeNode::SetRMS | ( | Float_t | r | ) | [inline] |
Float_t TMVA::DecisionTreeNode::GetRMS | ( | void | ) | const [inline] |
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] |
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.
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.
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] |
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.