TMVA::IPruneTool Class Reference

#include <IPruneTool.h>

Inheritance diagram for TMVA::IPruneTool:

TMVA::CostComplexityPruneTool TMVA::CostComplexityPruneTool TMVA::ExpectedErrorPruneTool TMVA::ExpectedErrorPruneTool List of all members.

Public Types

typedef std::vector< Event * > EventSample
typedef std::vector< Event * > EventSample

Public Member Functions

 IPruneTool ()
virtual ~IPruneTool ()
virtual PruningInfoCalculatePruningInfo (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 PruningInfoCalculatePruningInfo (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

Detailed Description

Definition at line 72 of file IPruneTool.h.


Member Typedef Documentation

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.


Constructor & Destructor Documentation

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]


Member Function Documentation

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]

Definition at line 90 of file IPruneTool.h.

References fPruneStrength.

Double_t TMVA::IPruneTool::GetPruneStrength (  )  const [inline]

Definition at line 92 of file IPruneTool.h.

References fPruneStrength.

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]

Definition at line 90 of file IPruneTool.h.

References fPruneStrength.

Double_t TMVA::IPruneTool::GetPruneStrength (  )  const [inline]

Definition at line 92 of file IPruneTool.h.

References fPruneStrength.

void TMVA::IPruneTool::SetAutomatic (  )  [inline]

Definition at line 96 of file IPruneTool.h.

References fPruneStrength.

Bool_t TMVA::IPruneTool::IsAutomatic (  )  const [inline]

Definition at line 97 of file IPruneTool.h.

References fPruneStrength.


Member Data Documentation

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]

regularization parameter in pruning

Definition at line 106 of file IPruneTool.h.

Double_t TMVA::IPruneTool::B [protected]

Definition at line 106 of file IPruneTool.h.


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