24#ifndef ROOT_TMVA_OptimizeConfigParameters
25#define ROOT_TMVA_OptimizeConfigParameters
58 std::map<TString,Double_t>
optimize();
61 std::vector< int >
GetScanIndices(
int val, std::vector<int> base);
#define ClassDef(name, id)
1-D histogram with a double per channel (see TH1 documentation)}
Interface for a fitter 'target'.
Virtual base Class for all MVA method.
ostringstream derivative to redirect and format output
std::vector< int > GetScanIndices(int val, std::vector< int > base)
helper function to scan through the all the combinations in the parameter space
Double_t GetBkgRejAtSigEff(Double_t sigEff=0.5)
calculate the background rejection for a given signal efficiency
std::map< TString, Double_t > fTunedParameters
virtual ~OptimizeConfigParameters()
the destructor (delete the OptimizeConfigParameters, store the graph and .. delete it)
Double_t GetBkgEffAtSigEff(Double_t sigEff=0.5)
calculate the background efficiency for a given signal efficiency
void optimizeScan()
do the actual optimization using a simple scan method, i.e.
OptimizeConfigParameters(MethodBase *const method, std::map< TString, TMVA::Interval * > tuneParameters, TString fomType="Separation", TString optimizationType="GA")
Constructor which sets either "Classification or Regression".
std::map< TString, TMVA::Interval * > fTuneParameters
MethodBase *const fMethod
TString fOptimizationFitType
std::map< TString, Double_t > optimize()
Double_t GetSeparation()
return the separation between the signal and background MVA ouput distribution
Double_t GetFOM()
Return the Figure of Merit (FOM) used in the parameter optimization process.
Double_t GetSigEffAtBkgEff(Double_t bkgEff=0.1)
calculate the signal efficiency for a given background efficiency
Double_t GetROCIntegral()
calculate the area (integral) under the ROC curve as a overall quality measure of the classification
void GetMVADists()
fill the private histograms with the mva distributions for sig/bkg
Double_t EstimatorFunction(std::vector< Double_t > &)
return the estimator (from current FOM) for the fitting interface
std::vector< Float_t > fFOMvsIter
std::map< std::vector< Double_t >, Double_t > fAlreadyTrainedParCombination
Abstract ClassifierFactory template that handles arbitrary types.