23 #ifndef ROOT_TMVA_ROCCurve 24 #define ROOT_TMVA_ROCCurve 50 ROCCurve(
const std::vector<std::tuple<Float_t, Float_t, Bool_t>> &
mvas);
52 ROCCurve(
const std::vector<Float_t> &mvaValues,
const std::vector<Bool_t> &mvaTargets,
53 const std::vector<Float_t> &mvaWeights);
55 ROCCurve(
const std::vector<Float_t> &mvaValues,
const std::vector<Bool_t> &mvaTargets);
57 ROCCurve(
const std::vector<Float_t> &mvaSignal,
const std::vector<Float_t> &mvaBackground,
58 const std::vector<Float_t> &mvaSignalWeights,
const std::vector<Float_t> &mvaBackgroundWeights);
60 ROCCurve(
const std::vector<Float_t> &mvaSignal,
const std::vector<Float_t> &mvaBackground);
69 const std::vector<std::tuple<Float_t, Float_t, Bool_t>>
GetMvas()
const {
return fMva; }
76 std::vector<std::tuple<Float_t, Float_t, Bool_t>>
fMva;
Double_t GetEffSForEffB(Double_t effB, const UInt_t num_points=41)
Calculate the signal efficiency (sensitivity) for a given background efficiency (sensitivity).
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)
void mvas(TString dataset, TString fin="TMVA.root", HistType htype=kMVAType, Bool_t useTMVAStyle=kTRUE)
ROCCurve(const std::vector< std::tuple< Float_t, Float_t, Bool_t >> &mvas)
Service class for 2-Dim histogram classes.
2-D histogram with a float per channel (see TH1 documentation)}
ostringstream derivative to redirect and format output
MsgLogger & Log() const
message logger
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.
const std::vector< std::tuple< Float_t, Float_t, Bool_t > > GetMvas() const
A Graph is a graphics object made of two arrays X and Y with npoints each.
std::vector< std::tuple< Float_t, Float_t, Bool_t > > fMva
A TTree object has a header with a name and a title.