32 #ifndef ROOT_TMVA_MethodBoost 33 #define ROOT_TMVA_MethodBoost 46 #ifndef ROOT_TMVA_MethodBase 50 #ifndef ROOT_TMVA_MethodCompositeBase 68 const TString& theOption =
"" );
Double_t GetBoostROCIntegral(Bool_t, Types::ETreeType, Bool_t CalcOverlapIntergral=kFALSE)
Calculate the ROC integral of a single classifier or even the whole boosted classifier.
void MonitorBoost(Types::EBoostStage stage, UInt_t methodIdx=0)
fill various monitoring histograms from information of the individual classifiers that have been boos...
std::vector< Float_t > * fMVAvalues
Double_t CalcMethodWeight()
void SingleTrain()
initialization
std::vector< TH1 *> fTestSigMVAHist
Double_t Bagging()
Bagging or Bootstrap boosting, gives new random poisson weight for every event.
Double_t AdaBoost(MethodBase *method, Bool_t useYesNoLeaf)
the standard (discrete or real) AdaBoost algorithm
void WriteMonitoringHistosToFile(void) const
write special monitoring histograms to file dummy implementation here --------------— ...
Bool_t fDetailedMonitoring
virtual Bool_t HasAnalysisType(Types::EAnalysisType type, UInt_t numberClasses, UInt_t)
Boost can handle classification with 2 classes and regression with one regression-target.
MethodBoost(const TString &jobName, const TString &methodTitle, DataSetInfo &theData, const TString &theOption="")
UInt_t CurrentMethodIdx()
std::vector< TH1 *> fTrainBgdMVAHist
const Ranking * CreateRanking()
void ResetBoostWeights()
resetting back the boosted weights of the events to 1
Double_t fOverlap_integral
void FindMVACut(MethodBase *method)
find the CUT on the individual MVA that defines an event as correct or misclassified (to be used in t...
#define ClassDef(name, id)
void ProcessOptions()
process user options
Double_t SingleBoost(MethodBase *method)
virtual ~MethodBoost(void)
destructor
Bool_t BookMethod(Types::EMVA theMethod, TString methodTitle, TString theOption)
just registering the string from which the boosted classifier will be created
void PrintResults(const TString &, std::vector< Double_t > &, const Double_t) const
virtual void WriteEvaluationHistosToFile(Types::ETreeType treetype)
writes all MVA evaluation histograms to file
Double_t fBaggedSampleFraction
MethodBase * CurrentMethod()
void SetBoostedMethodName(TString methodName)
void CreateMVAHistorgrams()
MethodBase * fCurrentMethod
void DeclareCompatibilityOptions()
options that are used ONLY for the READER to ensure backward compatibility they are hence without any...
TString fBoostedMethodOptions
Bool_t fMonitorBoostedMethod
void CheckSetup()
check may be overridden by derived class (sometimes, eg, fitters are used which can only be implement...
std::vector< TH1 *> fTrainSigMVAHist
TString fBoostedMethodTitle
void GetHelpMessage() const
Get help message text.
virtual void TestClassification()
initialization
TString fBoostedMethodName
Abstract ClassifierFactory template that handles arbitrary types.
DataSetManager * fDataSetManager
Bool_t fHistoricBoolOption
void InitHistos()
initialisation routine
A TTree object has a header with a name and a title.
std::vector< TH1 *> fBTrainSigMVAHist
std::vector< TH1 *> fBTrainBgdMVAHist
Double_t GetMvaValue(Double_t *err=0, Double_t *errUpper=0)
return boosted MVA response
std::vector< TH1 *> fTestBgdMVAHist