#include <IPruneTool.h>
Inheritance diagram for TMVA::IPruneTool:
Public Types | |
typedef std::vector< Event * > | EventSample |
typedef std::vector< Event * > | EventSample |
Public Member Functions | |
IPruneTool () | |
virtual | ~IPruneTool () |
virtual PruningInfo * | CalculatePruningInfo (DecisionTree *dt, const EventSample *testEvents=NULL, Bool_t isAutomatic=kFALSE)=0 |
void | SetPruneStrength (Double_t alpha) |
Double_t | GetPruneStrength () const |
void | SetAutomatic () |
Bool_t | IsAutomatic () const |
IPruneTool () | |
virtual | ~IPruneTool () |
virtual PruningInfo * | CalculatePruningInfo (DecisionTree *dt, const EventSample *testEvents=NULL, Bool_t isAutomatic=kFALSE)=0 |
void | SetPruneStrength (Double_t alpha) |
Double_t | GetPruneStrength () const |
void | SetAutomatic () |
Bool_t | IsAutomatic () const |
Protected Attributes | |
Double_t | fPruneStrength |
Double_t | S |
regularization parameter in pruning | |
Double_t | B |
Definition at line 72 of file IPruneTool.h.
typedef std::vector<Event*> TMVA::IPruneTool::EventSample |
Definition at line 76 of file IPruneTool.h.
typedef std::vector<Event*> TMVA::IPruneTool::EventSample |
Definition at line 76 of file IPruneTool.h.
TMVA::IPruneTool::IPruneTool | ( | ) | [inline] |
Definition at line 109 of file IPruneTool.h.
TMVA::IPruneTool::~IPruneTool | ( | ) | [inline, virtual] |
Definition at line 114 of file IPruneTool.h.
TMVA::IPruneTool::IPruneTool | ( | ) |
virtual TMVA::IPruneTool::~IPruneTool | ( | ) | [virtual] |
virtual PruningInfo* TMVA::IPruneTool::CalculatePruningInfo | ( | DecisionTree * | dt, | |
const EventSample * | testEvents = NULL , |
|||
Bool_t | isAutomatic = kFALSE | |||
) | [pure virtual] |
void TMVA::IPruneTool::SetPruneStrength | ( | Double_t | alpha | ) | [inline] |
Double_t TMVA::IPruneTool::GetPruneStrength | ( | ) | const [inline] |
void TMVA::IPruneTool::SetAutomatic | ( | ) | [inline] |
Definition at line 96 of file IPruneTool.h.
References fPruneStrength.
Referenced by TMVA::CostComplexityPruneTool::CalculatePruningInfo().
Bool_t TMVA::IPruneTool::IsAutomatic | ( | ) | const [inline] |
Definition at line 97 of file IPruneTool.h.
References fPruneStrength.
Referenced by TMVA::CostComplexityPruneTool::CalculatePruningInfo(), TMVA::ExpectedErrorPruneTool::CalculatePruningInfo(), and TMVA::CostComplexityPruneTool::Optimize().
virtual PruningInfo* TMVA::IPruneTool::CalculatePruningInfo | ( | DecisionTree * | dt, | |
const EventSample * | testEvents = NULL , |
|||
Bool_t | isAutomatic = kFALSE | |||
) | [pure virtual] |
void TMVA::IPruneTool::SetPruneStrength | ( | Double_t | alpha | ) | [inline] |
Double_t TMVA::IPruneTool::GetPruneStrength | ( | ) | const [inline] |
void TMVA::IPruneTool::SetAutomatic | ( | ) | [inline] |
Bool_t TMVA::IPruneTool::IsAutomatic | ( | ) | const [inline] |
Double_t TMVA::IPruneTool::fPruneStrength [protected] |
Definition at line 103 of file IPruneTool.h.
Referenced by TMVA::CostComplexityPruneTool::CalculatePruningInfo(), TMVA::ExpectedErrorPruneTool::CalculatePruningInfo(), TMVA::ExpectedErrorPruneTool::GetNodeError(), GetPruneStrength(), IsAutomatic(), TMVA::CostComplexityPruneTool::Optimize(), SetAutomatic(), and SetPruneStrength().
Double_t TMVA::IPruneTool::S [protected] |
Double_t TMVA::IPruneTool::B [protected] |
Definition at line 106 of file IPruneTool.h.