ROOT 6.18/05 Reference Guide |
Definition at line 47 of file OptimizeConfigParameters.h.
Public Member Functions | |
OptimizeConfigParameters (MethodBase *const method, std::map< TString, TMVA::Interval * > tuneParameters, TString fomType="Separation", TString optimizationType="GA") | |
Constructor which sets either "Classification or Regression". More... | |
virtual | ~OptimizeConfigParameters () |
the destructor (delete the OptimizeConfigParameters, store the graph and .. delete it) More... | |
std::map< TString, Double_t > | optimize () |
Public Member Functions inherited from TMVA::IFitterTarget | |
IFitterTarget () | |
constructor More... | |
virtual | ~IFitterTarget () |
virtual Double_t | EstimatorFunction (std::vector< Double_t > ¶meters)=0 |
virtual void | ProgressNotifier (TString, TString) |
Private Member Functions | |
Double_t | EstimatorFunction (std::vector< Double_t > &) |
return the estimator (from current FOM) for the fitting interface More... | |
Double_t | GetBkgEffAtSigEff (Double_t sigEff=0.5) |
calculate the background efficiency for a given signal efficiency More... | |
Double_t | GetBkgRejAtSigEff (Double_t sigEff=0.5) |
calculate the background rejection for a given signal efficiency More... | |
Double_t | GetFOM () |
Return the Figure of Merit (FOM) used in the parameter optimization process. More... | |
MethodBase * | GetMethod () |
void | GetMVADists () |
fill the private histograms with the mva distributions for sig/bkg More... | |
Double_t | GetROCIntegral () |
calculate the area (integral) under the ROC curve as a overall quality measure of the classification More... | |
std::vector< int > | GetScanIndices (int val, std::vector< int > base) |
helper function to scan through the all the combinations in the parameter space More... | |
Double_t | GetSeparation () |
return the separation between the signal and background MVA ouput distribution More... | |
Double_t | GetSigEffAtBkgEff (Double_t bkgEff=0.1) |
calculate the signal efficiency for a given background efficiency More... | |
MsgLogger & | Log () const |
void | optimizeFit () |
void | optimizeScan () |
do the actual optimization using a simple scan method, i.e. More... | |
Private Attributes | |
std::map< std::vector< Double_t >, Double_t > | fAlreadyTrainedParCombination |
TString | fFOMType |
std::vector< Float_t > | fFOMvsIter |
MsgLogger * | fLogger |
MethodBase *const | fMethod |
TH1D * | fMvaBkg |
TH1D * | fMvaBkgFineBin |
TH1D * | fMvaSig |
TH1D * | fMvaSigFineBin |
Bool_t | fNotDoneYet |
TString | fOptimizationFitType |
std::map< TString, Double_t > | fTunedParameters |
std::map< TString, TMVA::Interval * > | fTuneParameters |
#include <TMVA/OptimizeConfigParameters.h>
TMVA::OptimizeConfigParameters::OptimizeConfigParameters | ( | MethodBase *const | method, |
std::map< TString, TMVA::Interval * > | tuneParameters, | ||
TString | fomType = "Separation" , |
||
TString | optimizationType = "GA" |
||
) |
Constructor which sets either "Classification or Regression".
Definition at line 61 of file OptimizeConfigParameters.cxx.
|
virtual |
the destructor (delete the OptimizeConfigParameters, store the graph and .. delete it)
Definition at line 97 of file OptimizeConfigParameters.cxx.
|
privatevirtual |
return the estimator (from current FOM) for the fitting interface
Implements TMVA::IFitterTarget.
Definition at line 308 of file OptimizeConfigParameters.cxx.
calculate the background efficiency for a given signal efficiency
adapted by marc-.nosp@m.oliv.nosp@m.ier.b.nosp@m.ettl.nosp@m.er@ce.nosp@m.rn.c.nosp@m.h
Definition at line 533 of file OptimizeConfigParameters.cxx.
calculate the background rejection for a given signal efficiency
adapted by marc-.nosp@m.oliv.nosp@m.ier.b.nosp@m.ettl.nosp@m.er@ce.nosp@m.rn.c.nosp@m.h
Definition at line 570 of file OptimizeConfigParameters.cxx.
|
private |
Return the Figure of Merit (FOM) used in the parameter optimization process.
Definition at line 351 of file OptimizeConfigParameters.cxx.
|
inlineprivate |
Definition at line 69 of file OptimizeConfigParameters.h.
|
private |
fill the private histograms with the mva distributions for sig/bkg
Definition at line 380 of file OptimizeConfigParameters.cxx.
|
private |
calculate the area (integral) under the ROC curve as a overall quality measure of the classification
making pdfs out of the MVA-output distributions doesn't work reliably for cases where the MVA-output isn't a smooth distribution. this happens "frequently" in BDTs for example when the number of trees is small resulting in only some discrete possible MVA output values. (I still leave the code here, but use this with care!!! The default however is to use the distributions!!!
Definition at line 445 of file OptimizeConfigParameters.cxx.
|
private |
helper function to scan through the all the combinations in the parameter space
Definition at line 150 of file OptimizeConfigParameters.cxx.
|
private |
return the separation between the signal and background MVA ouput distribution
Definition at line 421 of file OptimizeConfigParameters.cxx.
calculate the signal efficiency for a given background efficiency
Definition at line 496 of file OptimizeConfigParameters.cxx.
|
inlineprivate |
Definition at line 95 of file OptimizeConfigParameters.h.
Definition at line 128 of file OptimizeConfigParameters.cxx.
|
private |
Definition at line 243 of file OptimizeConfigParameters.cxx.
|
private |
do the actual optimization using a simple scan method, i.e.
calculate the FOM for different tuning paraemters and remember which one is gave the best FOM
Definition at line 165 of file OptimizeConfigParameters.cxx.
|
private |
Definition at line 83 of file OptimizeConfigParameters.h.
|
private |
Definition at line 84 of file OptimizeConfigParameters.h.
|
private |
Definition at line 80 of file OptimizeConfigParameters.h.
|
mutableprivate |
Definition at line 94 of file OptimizeConfigParameters.h.
|
private |
Definition at line 79 of file OptimizeConfigParameters.h.
|
private |
Definition at line 87 of file OptimizeConfigParameters.h.
|
private |
Definition at line 90 of file OptimizeConfigParameters.h.
|
private |
Definition at line 86 of file OptimizeConfigParameters.h.
|
private |
Definition at line 89 of file OptimizeConfigParameters.h.
|
private |
Definition at line 92 of file OptimizeConfigParameters.h.
|
private |
Definition at line 85 of file OptimizeConfigParameters.h.
Definition at line 82 of file OptimizeConfigParameters.h.
|
private |
Definition at line 81 of file OptimizeConfigParameters.h.