TMVA::MethodBoost Class Reference

#include <MethodBoost.h>

Inheritance diagram for TMVA::MethodBoost:

TMVA::MethodCompositeBase TMVA::MethodCompositeBase TMVA::MethodBase TMVA::MethodBase TMVA::MethodBase TMVA::MethodBase TMVA::Configurable TMVA::IMethod TMVA::Configurable TMVA::IMethod TMVA::Configurable TMVA::IMethod TMVA::Configurable TMVA::IMethod TMVA::Configurable TMVA::IMethod TMVA::Configurable TMVA::IMethod TMVA::Configurable TMVA::IMethod TMVA::Configurable TMVA::IMethod List of all members.

Public Member Functions

 MethodBoost (const TString &jobName, const TString &methodTitle, DataSetInfo &theData, const TString &theOption="", TDirectory *theTargetDir=NULL)
 MethodBoost (DataSetInfo &dsi, const TString &theWeightFile, TDirectory *theTargetDir=NULL)
virtual ~MethodBoost (void)
virtual Bool_t HasAnalysisType (Types::EAnalysisType type, UInt_t numberClasses, UInt_t)
void Train (void)
const RankingCreateRanking ()
Bool_t BookMethod (Types::EMVA theMethod, TString methodTitle, TString theOption)
void SetBoostedMethodName (TString methodName)
Int_t GetBoostNum ()
TH1GetMonitoringHist (Int_t histInd)
void AddMonitoringHist (TH1 *hist)
Types::EBoostStage GetBoostStage ()
void CleanBoostOptions ()
Double_t GetMvaValue (Double_t *err=0, Double_t *errUpper=0)
 MethodBoost (const TString &jobName, const TString &methodTitle, DataSetInfo &theData, const TString &theOption="", TDirectory *theTargetDir=NULL)
 MethodBoost (DataSetInfo &dsi, const TString &theWeightFile, TDirectory *theTargetDir=NULL)
virtual ~MethodBoost (void)
virtual Bool_t HasAnalysisType (Types::EAnalysisType type, UInt_t numberClasses, UInt_t)
void Train (void)
const RankingCreateRanking ()
Bool_t BookMethod (Types::EMVA theMethod, TString methodTitle, TString theOption)
void SetBoostedMethodName (TString methodName)
Int_t GetBoostNum ()
TH1GetMonitoringHist (Int_t histInd)
void AddMonitoringHist (TH1 *hist)
Types::EBoostStage GetBoostStage ()
void CleanBoostOptions ()
Double_t GetMvaValue (Double_t *err=0, Double_t *errUpper=0)

Protected Member Functions

void GetHelpMessage () const
void GetHelpMessage () const

Private Member Functions

void ClearAll ()
void PrintResults (const TString &, std::vector< Double_t > &, const Double_t) const
void Init ()
void InitHistos ()
void CheckSetup ()
void DeclareOptions ()
void ProcessOptions ()
MethodBoostSetStage (Types::EBoostStage stage)
void SingleTrain ()
void SingleBoost ()
void CalcMethodWeight ()
Double_t GetBoostROCIntegral (Bool_t, Types::ETreeType, Bool_t CalcOverlapIntergral=kFALSE)
void WriteMonitoringHistosToFile (void) const
virtual void WriteEvaluationHistosToFile (Types::ETreeType treetype)
virtual void TestClassification ()
void FindMVACut ()
void ResetBoostWeights ()
void CreateMVAHistorgrams ()
void CalcMVAValues ()
void ClearAll ()
void PrintResults (const TString &, std::vector< Double_t > &, const Double_t) const
void Init ()
void InitHistos ()
void CheckSetup ()
void DeclareOptions ()
void ProcessOptions ()
MethodBoostSetStage (Types::EBoostStage stage)
void SingleTrain ()
void SingleBoost ()
void CalcMethodWeight ()
Double_t GetBoostROCIntegral (Bool_t, Types::ETreeType, Bool_t CalcOverlapIntergral=kFALSE)
void WriteMonitoringHistosToFile (void) const
virtual void WriteEvaluationHistosToFile (Types::ETreeType treetype)
virtual void TestClassification ()
void FindMVACut ()
void ResetBoostWeights ()
void CreateMVAHistorgrams ()
void CalcMVAValues ()

Private Attributes

Int_t fBoostNum
TString fBoostType
TString fMethodWeightType
Double_t fMethodError
Double_t fOrigMethodError
Double_t fBoostWeight
TString fTransformString
Double_t fADABoostBeta
UInt_t fRandomSeed
TString fBoostedMethodName
TString fBoostedMethodTitle
TString fBoostedMethodOptions
std::vector< TH1 * > * fMonitorHist
Bool_t fMonitorBoostedMethod
std::vector< TH1 * > fTrainSigMVAHist
std::vector< TH1 * > fTrainBgdMVAHist
std::vector< TH1 * > fBTrainSigMVAHist
std::vector< TH1 * > fBTrainBgdMVAHist
std::vector< TH1 * > fTestSigMVAHist
std::vector< TH1 * > fTestBgdMVAHist
TTreefMonitorTree
Types::EBoostStage fBoostStage
Int_t fDefaultHistNum
Bool_t fRecalculateMVACut
Double_t fROC_training
Double_t fOverlap_integral
std::vector< Float_t > * fMVAvalues
DataSetManagerfDataSetManager
std::vector< TH1 * > * fMonitorHist
std::vector< TH1 * > fTrainSigMVAHist
std::vector< TH1 * > fTrainBgdMVAHist
std::vector< TH1 * > fBTrainSigMVAHist
std::vector< TH1 * > fBTrainBgdMVAHist
std::vector< TH1 * > fTestSigMVAHist
std::vector< TH1 * > fTestBgdMVAHist
TTreefMonitorTree
std::vector< Float_t > * fMVAvalues
DataSetManagerfDataSetManager

Friends

class Factory
class Reader

Detailed Description

Definition at line 60 of file MethodBoost.h.


Constructor & Destructor Documentation

TMVA::MethodBoost::MethodBoost ( const TString jobName,
const TString methodTitle,
DataSetInfo theData,
const TString theOption = "",
TDirectory theTargetDir = NULL 
)

TMVA::MethodBoost::MethodBoost ( DataSetInfo dsi,
const TString theWeightFile,
TDirectory theTargetDir = NULL 
)

Definition at line 102 of file MethodBoost.cxx.

References fMVAvalues.

TMVA::MethodBoost::~MethodBoost ( void   )  [virtual]

Definition at line 128 of file MethodBoost.cxx.

References fBTrainBgdMVAHist, fBTrainSigMVAHist, TMVA::MethodCompositeBase::fMethodWeight, fMonitorHist, fMVAvalues, fTestBgdMVAHist, fTestSigMVAHist, fTrainBgdMVAHist, and fTrainSigMVAHist.

TMVA::MethodBoost::MethodBoost ( const TString jobName,
const TString methodTitle,
DataSetInfo theData,
const TString theOption = "",
TDirectory theTargetDir = NULL 
)

TMVA::MethodBoost::MethodBoost ( DataSetInfo dsi,
const TString theWeightFile,
TDirectory theTargetDir = NULL 
)

virtual TMVA::MethodBoost::~MethodBoost ( void   )  [virtual]


Member Function Documentation

Bool_t TMVA::MethodBoost::HasAnalysisType ( Types::EAnalysisType  type,
UInt_t  numberClasses,
UInt_t   
) [virtual]

Implements TMVA::IMethod.

Definition at line 154 of file MethodBoost.cxx.

References TMVA::Types::kClassification, kFALSE, and kTRUE.

void TMVA::MethodBoost::Train ( void   )  [virtual]

Implements TMVA::MethodCompositeBase.

Definition at line 296 of file MethodBoost.cxx.

References TMVA::MethodBase::BaseDir(), CalcMethodWeight(), CalcMVAValues(), TMVA::MethodBase::CheckSetup(), CleanBoostOptions(), TMVA::ClassifierFactory::Create(), CreateMVAHistorgrams(), TMVA::MethodBase::Data(), TMVA::MethodBase::DataInfo(), TMVA::Timer::DrawProgressBar(), TMVA::MsgLogger::EnableOutput(), Endl, fADABoostBeta, fBoostedMethodName, fBoostedMethodOptions, fBoostNum, fBoostType, fBoostWeight, fDataSetManager, fDefaultHistNum, TTree::Fill(), fMethodError, TMVA::MethodCompositeBase::fMethodIndex, TMVA::MethodCompositeBase::fMethods, TMVA::MethodCompositeBase::fMethodWeight, fMethodWeightType, fMonitorBoostedMethod, fMonitorHist, fMonitorTree, fMVAvalues, fOrigMethodError, Form(), fOverlap_integral, fROC_training, TMVA::MethodBase::GetAnalysisType(), GetBoostROCIntegral(), TDirectory::GetDirectory(), TMVA::Timer::GetElapsedTime(), TMVA::MethodBase::GetJobName(), TMVA::MethodBase::GetMethodType(), TMVA::MethodBase::GetName(), i, TMVA::MsgLogger::InhibitOutput(), TMVA::ClassifierFactory::Instance(), TMVA::Types::kAfterBoosting, TMVA::Types::kBeforeBoosting, TMVA::Types::kBeforeTraining, TMVA::Types::kBoostProcBegin, TMVA::Types::kBoostProcEnd, TMVA::Types::kBoostValidation, TMVA::Types::kCategory, TMVA::kDEBUG, kFALSE, TMVA::kFATAL, TMVA::kINFO, TMVA::Types::kTesting, TMVA::Types::kTraining, kTRUE, TMVA::kWARNING, TMVA::Configurable::Log(), m, method, TMVA::MethodBase::MethodBaseDir(), TDirectory::mkdir(), TMVA::MethodBase::MonitorBoost(), TMVA::Configurable::ParseOptions(), TMVA::MethodBase::ProcessSetup(), ResetBoostWeights(), TMVA::MethodBase::SetAnalysisType(), TMVA::DataSet::SetCurrentType(), TMVA::Configurable::SetMsgType(), SetStage(), TMVA::MethodBase::SetupMethod(), SingleBoost(), SingleTrain(), timer, and RooFit::Timer().

const TMVA::Ranking * TMVA::MethodBoost::CreateRanking (  )  [virtual]

Implements TMVA::MethodCompositeBase.

Definition at line 867 of file MethodBoost.cxx.

Bool_t TMVA::MethodBoost::BookMethod ( Types::EMVA  theMethod,
TString  methodTitle,
TString  theOption 
)

Definition at line 205 of file MethodBoost.cxx.

References fBoostedMethodName, fBoostedMethodOptions, fBoostedMethodTitle, TMVA::Types::GetMethodName(), TMVA::Types::Instance(), and kTRUE.

void TMVA::MethodBoost::SetBoostedMethodName ( TString  methodName  )  [inline]

Definition at line 87 of file MethodBoost.h.

References fBoostedMethodName.

Referenced by TMVA::Factory::BookMethod().

Int_t TMVA::MethodBoost::GetBoostNum (  )  [inline]

Definition at line 89 of file MethodBoost.h.

References fBoostNum.

Referenced by TMVA::MethodDT::MonitorBoost().

TH1* TMVA::MethodBoost::GetMonitoringHist ( Int_t  histInd  )  [inline]

Definition at line 93 of file MethodBoost.h.

References fDefaultHistNum, and fMonitorHist.

Referenced by TMVA::MethodDT::MonitorBoost().

void TMVA::MethodBoost::AddMonitoringHist ( TH1 hist  )  [inline]

Definition at line 95 of file MethodBoost.h.

References fMonitorHist, and hist.

Referenced by TMVA::MethodDT::MonitorBoost().

Types::EBoostStage TMVA::MethodBoost::GetBoostStage (  )  [inline]

Definition at line 97 of file MethodBoost.h.

References fBoostStage.

Referenced by TMVA::MethodDT::MonitorBoost().

void TMVA::MethodBoost::CleanBoostOptions (  ) 

Definition at line 454 of file MethodBoost.cxx.

References fBoostedMethodOptions, and TMVA::Configurable::GetOptions().

Referenced by Train().

Double_t TMVA::MethodBoost::GetMvaValue ( Double_t err = 0,
Double_t errUpper = 0 
) [virtual]

Reimplemented from TMVA::MethodCompositeBase.

Definition at line 873 of file MethodBoost.cxx.

References Endl, RootCsg::epsilon, TMath::Exp(), TMVA::MethodCompositeBase::fMethods, TMVA::MethodCompositeBase::fMethodWeight, TMVA::MethodBase::fTmpEvent, fTransformString, i, TMVA::kFATAL, TMath::Log(), TMVA::Configurable::Log(), m, TMVA::MethodBase::NoErrorCalc(), and val.

Referenced by GetBoostROCIntegral(), and TestClassification().

void TMVA::MethodBoost::ClearAll (  )  [private]

void TMVA::MethodBoost::PrintResults ( const TString ,
std::vector< Double_t > &  ,
const   Double_t 
) const [private]

void TMVA::MethodBoost::Init (  )  [private, virtual]

Implements TMVA::MethodBase.

Definition at line 215 of file MethodBoost.cxx.

void TMVA::MethodBoost::InitHistos (  )  [private]

Definition at line 219 of file MethodBoost.cxx.

References TTree::Branch(), fBoostNum, fBoostWeight, fDefaultHistNum, fMethodError, TMVA::MethodCompositeBase::fMethodIndex, fMonitorBoostedMethod, fMonitorHist, fMonitorTree, and kTRUE.

Referenced by CheckSetup().

void TMVA::MethodBoost::CheckSetup (  )  [private, virtual]

Reimplemented from TMVA::MethodBase.

Definition at line 266 of file MethodBoost.cxx.

References Endl, fADABoostBeta, fBoostedMethodName, fBoostedMethodOptions, fBoostedMethodTitle, fBoostNum, fBoostStage, fBoostType, fBoostWeight, fDefaultHistNum, fMethodError, TMVA::MethodCompositeBase::fMethodIndex, TMVA::MethodCompositeBase::fMethods, TMVA::MethodCompositeBase::fMethodWeight, fMethodWeightType, fMonitorBoostedMethod, fMonitorHist, fMonitorTree, fOrigMethodError, fRandomSeed, fRecalculateMVACut, fTestSigMVAHist, fTrainSigMVAHist, InitHistos(), TMVA::kDEBUG, and TMVA::Configurable::Log().

void TMVA::MethodBoost::DeclareOptions (  )  [private, virtual]

Implements TMVA::MethodCompositeBase.

Definition at line 164 of file MethodBoost.cxx.

References TMVA::Configurable::AddPreDefVal(), TMVA::Configurable::DeclareOptionRef(), fADABoostBeta, fBoostNum, fBoostType, TMVA::MethodCompositeBase::fMethods, fMethodWeightType, fMonitorBoostedMethod, fRandomSeed, fRecalculateMVACut, fTransformString, and kTRUE.

void TMVA::MethodBoost::ProcessOptions (  )  [private, virtual]

Implements TMVA::MethodCompositeBase.

Definition at line 582 of file MethodBoost.cxx.

MethodBoost* TMVA::MethodBoost::SetStage ( Types::EBoostStage  stage  )  [inline, private]

Definition at line 119 of file MethodBoost.h.

References fBoostStage.

Referenced by Train().

void TMVA::MethodBoost::SingleTrain (  )  [private]

Definition at line 588 of file MethodBoost.cxx.

References TMVA::MethodBase::Data(), TMVA::MethodCompositeBase::GetLastMethod(), TMVA::Types::kTraining, TMVA::DataSet::SetCurrentType(), and TMVA::MethodBase::TrainMethod().

Referenced by Train().

void TMVA::MethodBoost::SingleBoost (  )  [private]

Definition at line 655 of file MethodBoost.cxx.

References TMVA::MethodBase::Data(), TMVA::MethodBase::DataInfo(), Endl, TMath::Exp(), fADABoostBeta, fBoostType, fBoostWeight, fBTrainBgdMVAHist, fBTrainSigMVAHist, fMethodError, TMVA::MethodCompositeBase::fMethodIndex, TMVA::MethodCompositeBase::fMethods, fMonitorBoostedMethod, fMVAvalues, fOrigMethodError, fRandomSeed, fTrainBgdMVAHist, fTrainSigMVAHist, TMVA::DataSet::GetEvent(), TMVA::DataSet::GetNEvents(), TMVA::Event::GetOriginalWeight(), TMVA::Event::GetWeight(), TMVA::DataSetInfo::IsSignal(), TMVA::kDEBUG, kFALSE, TMVA::kFATAL, kTRUE, TMath::Log(), TMVA::Configurable::Log(), Long64_t, method, pow(), TMath::Power(), TRandom3::Rndm(), TMVA::Event::ScaleBoostWeight(), TMVA::Event::SetBoostWeight(), and w.

Referenced by Train().

void TMVA::MethodBoost::CalcMethodWeight (  )  [private]

Definition at line 775 of file MethodBoost.cxx.

References TMVA::MethodBase::Data(), TMVA::MethodBase::DataInfo(), Endl, fADABoostBeta, fBoostWeight, FindMVACut(), fMethodError, TMVA::MethodCompositeBase::fMethods, TMVA::MethodCompositeBase::fMethodWeight, fMethodWeightType, fMVAvalues, fOverlap_integral, fROC_training, TMVA::DataSet::GetEvent(), TMVA::DataSet::GetNEvents(), TMVA::Event::GetWeight(), TMVA::kFATAL, TMath::Log(), TMVA::Configurable::Log(), Long64_t, method, TMath::Power(), and w.

Referenced by Train().

Double_t TMVA::MethodBoost::GetBoostROCIntegral ( Bool_t  ,
Types::ETreeType  ,
Bool_t  CalcOverlapIntergral = kFALSE 
) [private]

Definition at line 909 of file MethodBoost.cxx.

References TMVA::Tools::ComputeStat(), TMVA::MethodBase::Data(), TMVA::MethodBase::DataInfo(), Endl, TH1::Fill(), TMVA::MethodCompositeBase::fMethodIndex, TMVA::MethodCompositeBase::fMethods, TMVA::MethodCompositeBase::fMethodWeight, fMethodWeightType, fMVAvalues, TMVA::MethodBase::fNbins, TMVA::Config::VariablePlotting::fNbinsXOfROCCurve, fOverlap_integral, TMVA::Config::fVariablePlotting, TMVA::gConfig(), TH1::GetBinContent(), TMVA::DataSetInfo::GetClassInfo(), TMVA::MethodBase::GetEvent(), TMVA::DataSet::GetEvent(), TMVA::MethodBase::GetEventCollection(), GetMvaValue(), TH1::GetNbinsX(), TMVA::DataSet::GetNEvents(), TMVA::MethodBase::GetNEvents(), TMVA::ClassInfo::GetNumber(), TMVA::MethodBase::GetROCIntegral(), TMVA::gTools(), i, TMVA::kFATAL, TMVA::PDF::kSpline2, TMVA::Types::kTesting, TMVA::Types::kTraining, TMVA::Configurable::Log(), Long64_t, TMath::Max(), method, TMath::Min(), TMVA::Tools::NormHist(), TMVA::DataSet::SetCurrentType(), w, xmax, and xmin.

Referenced by Train().

void TMVA::MethodBoost::WriteMonitoringHistosToFile ( void   )  const [private, virtual]

Reimplemented from TMVA::MethodBase.

Definition at line 499 of file MethodBoost.cxx.

References TMVA::MethodBase::BaseDir(), TDirectory::cd(), dir(), fBoostNum, fBTrainBgdMVAHist, fBTrainSigMVAHist, TMVA::MethodCompositeBase::fMethods, fMonitorBoostedMethod, fMonitorHist, fMonitorTree, Form(), fTrainBgdMVAHist, fTrainSigMVAHist, TMVA::MethodBase::GetName(), i, m, and TTree::Write().

void TMVA::MethodBoost::WriteEvaluationHistosToFile ( Types::ETreeType  treetype  )  [private, virtual]

Reimplemented from TMVA::MethodBase.

Definition at line 558 of file MethodBoost.cxx.

References dir(), TMVA::MethodCompositeBase::fMethods, fMonitorBoostedMethod, fTestBgdMVAHist, fTestSigMVAHist, TMVA::Types::kTraining, nloop, and TMVA::MethodBase::WriteEvaluationHistosToFile().

void TMVA::MethodBoost::TestClassification (  )  [private, virtual]

Reimplemented from TMVA::MethodBase.

Definition at line 531 of file MethodBoost.cxx.

References TMVA::MethodBase::Data(), TMVA::MethodBase::DataInfo(), TMVA::MethodCompositeBase::fMethods, fMonitorBoostedMethod, fTestBgdMVAHist, fTestSigMVAHist, TMVA::DataSet::GetEvent(), GetMvaValue(), TMVA::DataSet::GetNEvents(), TMVA::Types::kTesting, TMVA::Types::kTraining, Long64_t, nloop, TMVA::DataSet::SetCurrentType(), TMVA::MethodBase::TestClassification(), and w.

void TMVA::MethodBoost::FindMVACut (  )  [private]

Definition at line 598 of file MethodBoost.cxx.

References TMVA::MethodBase::Data(), TMVA::MethodBase::DataInfo(), Endl, TMVA::MethodCompositeBase::fMethodIndex, TMVA::MethodCompositeBase::fMethods, fRecalculateMVACut, TMVA::MethodBase::GetEvent(), TMVA::MethodBase::GetMethodType(), TMVA::MethodBase::GetMvaValue(), TMVA::DataSet::GetNEvents(), TMVA::MethodBase::GetSignalReferenceCut(), TMVA::Event::GetWeight(), i, TMVA::kDEBUG, TMVA::Types::kDT, TMVA::Configurable::Log(), Long64_t, m, TMVA::MethodBase::SetSignalReferenceCut(), and val.

Referenced by CalcMethodWeight().

void TMVA::MethodBoost::ResetBoostWeights (  )  [private]

Definition at line 489 of file MethodBoost.cxx.

References TMVA::MethodBase::Data(), TMVA::DataSet::GetEvent(), TMVA::DataSet::GetNEvents(), Long64_t, and TMVA::Event::SetBoostWeight().

Referenced by Train().

void TMVA::MethodBoost::CreateMVAHistorgrams (  )  [private]

Definition at line 460 of file MethodBoost.cxx.

References TMVA::Tools::ComputeStat(), TMVA::MethodBase::Data(), TMVA::MethodBase::DataInfo(), Endl, fBoostNum, fBTrainBgdMVAHist, fBTrainSigMVAHist, fMVAvalues, TMVA::MethodBase::fNbins, TMVA::Config::VariablePlotting::fNbinsXOfROCCurve, Form(), fTestBgdMVAHist, fTestSigMVAHist, fTrainBgdMVAHist, fTrainSigMVAHist, TMVA::Config::fVariablePlotting, TMVA::gConfig(), TMVA::DataSetInfo::GetClassInfo(), TMVA::MethodBase::GetEventCollection(), TMVA::ClassInfo::GetNumber(), TMVA::gTools(), TMVA::kFATAL, TMVA::Configurable::Log(), TMath::Max(), TMath::Min(), xmax, and xmin.

Referenced by Train().

void TMVA::MethodBoost::CalcMVAValues (  )  [private]

Definition at line 1050 of file MethodBoost.cxx.

References TMVA::MethodBase::Data(), Endl, TMVA::MethodCompositeBase::fMethods, fMVAvalues, TMVA::DataSet::GetEvent(), TMVA::DataSet::GetNEvents(), TMVA::kFATAL, TMVA::Types::kTraining, TMVA::Configurable::Log(), Long64_t, method, and TMVA::DataSet::SetCurrentType().

Referenced by Train().

void TMVA::MethodBoost::GetHelpMessage (  )  const [protected, virtual]

Implements TMVA::IMethod.

Definition at line 826 of file MethodBoost.cxx.

References TMVA::Tools::Color(), Endl, TMVA::gTools(), and TMVA::Configurable::Log().

virtual Bool_t TMVA::MethodBoost::HasAnalysisType ( Types::EAnalysisType  type,
UInt_t  numberClasses,
UInt_t   
) [virtual]

Implements TMVA::IMethod.

void TMVA::MethodBoost::Train ( void   )  [virtual]

Implements TMVA::MethodCompositeBase.

const Ranking* TMVA::MethodBoost::CreateRanking (  )  [virtual]

Implements TMVA::MethodCompositeBase.

Bool_t TMVA::MethodBoost::BookMethod ( Types::EMVA  theMethod,
TString  methodTitle,
TString  theOption 
)

void TMVA::MethodBoost::SetBoostedMethodName ( TString  methodName  )  [inline]

Definition at line 87 of file MethodBoost.h.

References fBoostedMethodName.

Int_t TMVA::MethodBoost::GetBoostNum (  )  [inline]

Definition at line 89 of file MethodBoost.h.

References fBoostNum.

TH1* TMVA::MethodBoost::GetMonitoringHist ( Int_t  histInd  )  [inline]

Definition at line 93 of file MethodBoost.h.

References fDefaultHistNum, and fMonitorHist.

void TMVA::MethodBoost::AddMonitoringHist ( TH1 hist  )  [inline]

Definition at line 95 of file MethodBoost.h.

References fMonitorHist, and hist.

Types::EBoostStage TMVA::MethodBoost::GetBoostStage (  )  [inline]

Definition at line 97 of file MethodBoost.h.

References fBoostStage.

void TMVA::MethodBoost::CleanBoostOptions (  ) 

Double_t TMVA::MethodBoost::GetMvaValue ( Double_t err = 0,
Double_t errUpper = 0 
) [virtual]

Reimplemented from TMVA::MethodCompositeBase.

void TMVA::MethodBoost::ClearAll (  )  [private]

void TMVA::MethodBoost::PrintResults ( const TString ,
std::vector< Double_t > &  ,
const   Double_t 
) const [private]

void TMVA::MethodBoost::Init (  )  [private, virtual]

Implements TMVA::MethodBase.

void TMVA::MethodBoost::InitHistos (  )  [private]

void TMVA::MethodBoost::CheckSetup (  )  [private, virtual]

Reimplemented from TMVA::MethodBase.

void TMVA::MethodBoost::DeclareOptions (  )  [private, virtual]

Implements TMVA::MethodCompositeBase.

void TMVA::MethodBoost::ProcessOptions (  )  [private, virtual]

Implements TMVA::MethodCompositeBase.

MethodBoost* TMVA::MethodBoost::SetStage ( Types::EBoostStage  stage  )  [inline, private]

Definition at line 119 of file MethodBoost.h.

References fBoostStage.

void TMVA::MethodBoost::SingleTrain (  )  [private]

void TMVA::MethodBoost::SingleBoost (  )  [private]

void TMVA::MethodBoost::CalcMethodWeight (  )  [private]

Double_t TMVA::MethodBoost::GetBoostROCIntegral ( Bool_t  ,
Types::ETreeType  ,
Bool_t  CalcOverlapIntergral = kFALSE 
) [private]

void TMVA::MethodBoost::WriteMonitoringHistosToFile ( void   )  const [private, virtual]

Reimplemented from TMVA::MethodBase.

virtual void TMVA::MethodBoost::WriteEvaluationHistosToFile ( Types::ETreeType  treetype  )  [private, virtual]

Reimplemented from TMVA::MethodBase.

virtual void TMVA::MethodBoost::TestClassification (  )  [private, virtual]

Reimplemented from TMVA::MethodBase.

void TMVA::MethodBoost::FindMVACut (  )  [private]

void TMVA::MethodBoost::ResetBoostWeights (  )  [private]

void TMVA::MethodBoost::CreateMVAHistorgrams (  )  [private]

void TMVA::MethodBoost::CalcMVAValues (  )  [private]

void TMVA::MethodBoost::GetHelpMessage (  )  const [protected, virtual]

Implements TMVA::IMethod.


Friends And Related Function Documentation

Factory [friend]

Definition at line 224 of file MethodBoost.h.

Reader [friend]

Definition at line 225 of file MethodBoost.h.


Member Data Documentation

Int_t TMVA::MethodBoost::fBoostNum [private]

Definition at line 156 of file MethodBoost.h.

Referenced by CheckSetup(), CreateMVAHistorgrams(), DeclareOptions(), GetBoostNum(), InitHistos(), Train(), and WriteMonitoringHistosToFile().

TString TMVA::MethodBoost::fBoostType [private]

Definition at line 158 of file MethodBoost.h.

Referenced by CheckSetup(), DeclareOptions(), SingleBoost(), and Train().

TString TMVA::MethodBoost::fMethodWeightType [private]

Definition at line 161 of file MethodBoost.h.

Referenced by CalcMethodWeight(), CheckSetup(), DeclareOptions(), GetBoostROCIntegral(), and Train().

Double_t TMVA::MethodBoost::fMethodError [private]

Definition at line 164 of file MethodBoost.h.

Referenced by CalcMethodWeight(), CheckSetup(), InitHistos(), SingleBoost(), and Train().

Double_t TMVA::MethodBoost::fOrigMethodError [private]

Definition at line 166 of file MethodBoost.h.

Referenced by CheckSetup(), SingleBoost(), and Train().

Double_t TMVA::MethodBoost::fBoostWeight [private]

Definition at line 169 of file MethodBoost.h.

Referenced by CalcMethodWeight(), CheckSetup(), InitHistos(), SingleBoost(), and Train().

TString TMVA::MethodBoost::fTransformString [private]

Definition at line 172 of file MethodBoost.h.

Referenced by DeclareOptions(), and GetMvaValue().

Double_t TMVA::MethodBoost::fADABoostBeta [private]

Definition at line 175 of file MethodBoost.h.

Referenced by CalcMethodWeight(), CheckSetup(), DeclareOptions(), SingleBoost(), and Train().

UInt_t TMVA::MethodBoost::fRandomSeed [private]

Definition at line 178 of file MethodBoost.h.

Referenced by CheckSetup(), DeclareOptions(), and SingleBoost().

TString TMVA::MethodBoost::fBoostedMethodName [private]

Definition at line 181 of file MethodBoost.h.

Referenced by BookMethod(), CheckSetup(), SetBoostedMethodName(), and Train().

TString TMVA::MethodBoost::fBoostedMethodTitle [private]

Definition at line 182 of file MethodBoost.h.

Referenced by BookMethod(), and CheckSetup().

TString TMVA::MethodBoost::fBoostedMethodOptions [private]

Definition at line 183 of file MethodBoost.h.

Referenced by BookMethod(), CheckSetup(), CleanBoostOptions(), and Train().

std::vector<TH1*>* TMVA::MethodBoost::fMonitorHist [private]

Definition at line 186 of file MethodBoost.h.

Referenced by AddMonitoringHist(), CheckSetup(), GetMonitoringHist(), InitHistos(), Train(), WriteMonitoringHistosToFile(), and ~MethodBoost().

Bool_t TMVA::MethodBoost::fMonitorBoostedMethod [private]

Definition at line 189 of file MethodBoost.h.

Referenced by CheckSetup(), DeclareOptions(), InitHistos(), SingleBoost(), TestClassification(), Train(), WriteEvaluationHistosToFile(), and WriteMonitoringHistosToFile().

std::vector< TH1* > TMVA::MethodBoost::fTrainSigMVAHist [private]

Definition at line 192 of file MethodBoost.h.

Referenced by CheckSetup(), CreateMVAHistorgrams(), SingleBoost(), WriteMonitoringHistosToFile(), and ~MethodBoost().

std::vector< TH1* > TMVA::MethodBoost::fTrainBgdMVAHist [private]

Definition at line 193 of file MethodBoost.h.

Referenced by CreateMVAHistorgrams(), SingleBoost(), WriteMonitoringHistosToFile(), and ~MethodBoost().

std::vector< TH1* > TMVA::MethodBoost::fBTrainSigMVAHist [private]

Definition at line 195 of file MethodBoost.h.

Referenced by CreateMVAHistorgrams(), SingleBoost(), WriteMonitoringHistosToFile(), and ~MethodBoost().

std::vector< TH1* > TMVA::MethodBoost::fBTrainBgdMVAHist [private]

Definition at line 196 of file MethodBoost.h.

Referenced by CreateMVAHistorgrams(), SingleBoost(), WriteMonitoringHistosToFile(), and ~MethodBoost().

std::vector< TH1* > TMVA::MethodBoost::fTestSigMVAHist [private]

Definition at line 198 of file MethodBoost.h.

Referenced by CheckSetup(), CreateMVAHistorgrams(), TestClassification(), WriteEvaluationHistosToFile(), and ~MethodBoost().

std::vector< TH1* > TMVA::MethodBoost::fTestBgdMVAHist [private]

Definition at line 199 of file MethodBoost.h.

Referenced by CreateMVAHistorgrams(), TestClassification(), WriteEvaluationHistosToFile(), and ~MethodBoost().

TTree* TMVA::MethodBoost::fMonitorTree [private]

Definition at line 202 of file MethodBoost.h.

Referenced by CheckSetup(), InitHistos(), Train(), and WriteMonitoringHistosToFile().

Types::EBoostStage TMVA::MethodBoost::fBoostStage [private]

Definition at line 205 of file MethodBoost.h.

Referenced by CheckSetup(), GetBoostStage(), and SetStage().

Int_t TMVA::MethodBoost::fDefaultHistNum [private]

Definition at line 208 of file MethodBoost.h.

Referenced by CheckSetup(), GetMonitoringHist(), InitHistos(), and Train().

Bool_t TMVA::MethodBoost::fRecalculateMVACut [private]

Definition at line 211 of file MethodBoost.h.

Referenced by CheckSetup(), DeclareOptions(), and FindMVACut().

Double_t TMVA::MethodBoost::fROC_training [private]

Definition at line 214 of file MethodBoost.h.

Referenced by CalcMethodWeight(), and Train().

Double_t TMVA::MethodBoost::fOverlap_integral [private]

Definition at line 218 of file MethodBoost.h.

Referenced by CalcMethodWeight(), GetBoostROCIntegral(), and Train().

std::vector<Float_t>* TMVA::MethodBoost::fMVAvalues [private]

Definition at line 221 of file MethodBoost.h.

Referenced by CalcMethodWeight(), CalcMVAValues(), CreateMVAHistorgrams(), GetBoostROCIntegral(), MethodBoost(), SingleBoost(), Train(), and ~MethodBoost().

DataSetManager* TMVA::MethodBoost::fDataSetManager [private]

Definition at line 223 of file MethodBoost.h.

Referenced by TMVA::Factory::BookMethod(), and Train().

std::vector<TH1*>* TMVA::MethodBoost::fMonitorHist [private]

Definition at line 186 of file MethodBoost.h.

std::vector< TH1* > TMVA::MethodBoost::fTrainSigMVAHist [private]

Definition at line 192 of file MethodBoost.h.

std::vector< TH1* > TMVA::MethodBoost::fTrainBgdMVAHist [private]

Definition at line 193 of file MethodBoost.h.

std::vector< TH1* > TMVA::MethodBoost::fBTrainSigMVAHist [private]

Definition at line 195 of file MethodBoost.h.

std::vector< TH1* > TMVA::MethodBoost::fBTrainBgdMVAHist [private]

Definition at line 196 of file MethodBoost.h.

std::vector< TH1* > TMVA::MethodBoost::fTestSigMVAHist [private]

Definition at line 198 of file MethodBoost.h.

std::vector< TH1* > TMVA::MethodBoost::fTestBgdMVAHist [private]

Definition at line 199 of file MethodBoost.h.

TTree* TMVA::MethodBoost::fMonitorTree [private]

Definition at line 202 of file MethodBoost.h.

std::vector<Float_t>* TMVA::MethodBoost::fMVAvalues [private]

Definition at line 221 of file MethodBoost.h.

DataSetManager* TMVA::MethodBoost::fDataSetManager [private]

Definition at line 223 of file MethodBoost.h.


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