32 #ifndef ROOT_TMVA_PDEFoamMultiTarget 33 #define ROOT_TMVA_PDEFoamMultiTarget 41 enum ETargetSelection { kMean = 0, kMpv = 1 };
50 virtual void CalculateMpv(std::map<Int_t, Float_t>&,
const std::vector<PDEFoamCell*>&);
51 virtual void CalculateMean(std::map<Int_t, Float_t>&,
const std::vector<PDEFoamCell*>&);
60 virtual std::vector<Float_t>
GetCellValue(
const std::map<Int_t, Float_t>&, ECellValue);
This PDEFoam variant is used to estimate multiple targets by creating an event density foam (PDEFoamE...
ETargetSelection fTargetSelection
virtual void CalculateMpv(std::map< Int_t, Float_t > &, const std::vector< PDEFoamCell *> &)
This function calculates the most probable target value from a given number of cells.
PDEFoamMultiTarget()
Default constructor for streamer, user should not use it.
#define ClassDef(name, id)
This PDEFoam variant stores in every cell the sum of event weights and the sum of the squared event w...
virtual ~PDEFoamMultiTarget()
virtual void CalculateMean(std::map< Int_t, Float_t > &, const std::vector< PDEFoamCell *> &)
This function calculates the mean target value from a given number of cells.
virtual Float_t GetCellValue(const std::vector< Float_t > &xvec, ECellValue cv, PDEFoamKernelBase *)
This function finds the cell, which corresponds to the given untransformed event vector 'xvec' and re...
Abstract ClassifierFactory template that handles arbitrary types.
virtual std::vector< Float_t > GetCellValue(const std::map< Int_t, Float_t > &, ECellValue)
This function is overridden from PDFEFoam.