54 MsgLogger fLogger(
"HyperParameterOptimisation");
57 fLogger<<kHEADER<<
"===========================================================" <<
Endl;
58 fLogger<<kINFO<<
"Optimisation for " <<
fMethodName <<
" fold " << j+1 <<
Endl;
61 fLogger<<kINFO<< it.first <<
" " << it.second <<
Endl;
75 fClassifier(new
TMVA::
Factory(
"HyperParameterOptimisation",
"!V:!ROC:Silent:!ModelPersistence:!Color:!DrawProgressBar:AnalysisType=Classification"))
110 TString foldTitle = methodTitle;
120 fResults.fFoldParameters.push_back(params);
unsigned int UInt_t
Unsigned integer 4 bytes (unsigned int).
bool Bool_t
Boolean (0=false, 1=true) (bool).
std::vector< OptionMap > fMethods
! Booked method information
std::shared_ptr< DataLoader > fDataLoader
! data
Envelope(const TString &name, DataLoader *dataloader=nullptr, TFile *file=nullptr, const TString options="")
Constructor for the initialization of Envelopes, differents Envelopes may needs differents constructo...
static void SetIsTraining(Bool_t)
when this static function is called, it sets the flag whether events with negative event weight shoul...
This is the main MVA steering class.
TMultiGraph * GetROCCurves(Bool_t fLegend=kTRUE)
std::vector< std::map< TString, Double_t > > fFoldParameters
std::shared_ptr< TMultiGraph > fROCCurves
~HyperParameterOptimisationResult()
HyperParameterOptimisationResult()
std::unique_ptr< Factory > fClassifier
!
HyperParameterOptimisation(DataLoader *dataloader)
void SetNumFolds(UInt_t folds)
~HyperParameterOptimisation()
HyperParameterOptimisationResult fResults
!
void Evaluate() override
Virtual method to be implemented with your algorithm.
ostringstream derivative to redirect and format output
static void EnableOutput()
create variable transformations
MsgLogger & Endl(MsgLogger &ml)