23 #ifndef ROOT_TMVA_ROCCurve 24 #define ROOT_TMVA_ROCCurve 50 ROCCurve(
const std::vector<Float_t> &mvaValues,
const std::vector<Bool_t> &mvaTargets,
51 const std::vector<Float_t> &mvaWeights);
53 ROCCurve(
const std::vector<Float_t> &mvaValues,
const std::vector<Bool_t> &mvaTargets);
55 ROCCurve(
const std::vector<Float_t> &mvaSignal,
const std::vector<Float_t> &mvaBackground,
56 const std::vector<Float_t> &mvaSignalWeights,
const std::vector<Float_t> &mvaBackgroundWeights);
58 ROCCurve(
const std::vector<Float_t> &mvaSignal,
const std::vector<Float_t> &mvaBackground);
std::vector< Float_t > fMvaSignal
Double_t GetEffSForEffB(Double_t effB, const UInt_t num_points=41)
Calculate the signal efficiency (sensitivity) for a given background efficiency (sensitivity).
ROCCurve(const std::vector< Float_t > &mvaValues, const std::vector< Bool_t > &mvaTargets, const std::vector< Float_t > &mvaWeights)
Double_t GetROCIntegral(const UInt_t points=41)
Calculates the ROC integral (AUC)
Base class for spline implementation containing the Draw/Paint methods.
std::vector< Double_t > ComputeSpecificity(const UInt_t num_points)
std::vector< Float_t > fMvaSignalWeights
Service class for 2-Dim histogram classes.
tomato 2-D histogram with a float per channel (see TH1 documentation)}
ostringstream derivative to redirect and format output
std::vector< Double_t > ComputeSensitivity(const UInt_t num_points)
Abstract ClassifierFactory template that handles arbitrary types.
TGraph * GetROCCurve(const UInt_t points=100)
Returns a new TGraph containing the ROC curve.
A Graph is a graphics object made of two arrays X and Y with npoints each.
A TTree object has a header with a name and a title.
MsgLogger & Log() const
message logger
std::vector< Float_t > fMvaBackgroundWeights
std::vector< Float_t > fMvaBackground