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;
A Graph is a graphics object made of two arrays X and Y with npoints each.
2-D histogram with a float per channel (see TH1 documentation)}
Service class for 2-Dim histogram classes.
ostringstream derivative to redirect and format output
std::vector< Double_t > ComputeSpecificity(const UInt_t num_points)
ROCCurve(const std::vector< std::tuple< Float_t, Float_t, Bool_t > > &mvas)
Double_t GetEffSForEffB(Double_t effB, const UInt_t num_points=41)
Calculate the signal efficiency (sensitivity) for a given background efficiency (sensitivity).
std::vector< Double_t > ComputeSensitivity(const UInt_t num_points)
Double_t GetROCIntegral(const UInt_t points=41)
Calculates the ROC integral (AUC)
const std::vector< std::tuple< Float_t, Float_t, Bool_t > > GetMvas() const
MsgLogger & Log() const
message logger
std::vector< std::tuple< Float_t, Float_t, Bool_t > > fMva
TGraph * GetROCCurve(const UInt_t points=100)
Returns a new TGraph containing the ROC curve.
Base class for spline implementation containing the Draw/Paint methods.
A TTree represents a columnar dataset.
create variable transformations
void mvas(TString dataset, TString fin="TMVA.root", HistType htype=kMVAType, Bool_t useTMVAStyle=kTRUE)