23#ifndef ROOT_TMVA_ROCCurve
24#define ROOT_TMVA_ROCCurve
49 ROCCurve(
const std::vector<std::tuple<Float_t, Float_t, Bool_t>> &
mvas);
51 ROCCurve(
const std::vector<Float_t> &mvaValues,
const std::vector<Bool_t> &mvaTargets,
52 const std::vector<Float_t> &mvaWeights);
54 ROCCurve(
const std::vector<Float_t> &mvaValues,
const std::vector<Bool_t> &mvaTargets);
56 ROCCurve(
const std::vector<Float_t> &mvaSignal,
const std::vector<Float_t> &mvaBackground,
57 const std::vector<Float_t> &mvaSignalWeights,
const std::vector<Float_t> &mvaBackgroundWeights);
59 ROCCurve(
const std::vector<Float_t> &mvaSignal,
const std::vector<Float_t> &mvaBackground);
68 const std::vector<std::tuple<Float_t, Float_t, Bool_t>>
GetMvas()
const {
return fMva; }
75 std::vector<std::tuple<Float_t, Float_t, Bool_t>>
fMva;
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t points
A TGraph is an object made of two arrays X and Y with npoints each.
TH1 is the base class of all histogram classes in ROOT.
2-D histogram with a float per channel (see TH1 documentation)
Service class for 2-D histogram classes.
ostringstream derivative to redirect and format output
std::vector< Double_t > ComputeSpecificity(const UInt_t num_points)
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
std::vector< std::tuple< Float_t, Float_t, Bool_t > > fMva
MsgLogger * fLogger
! message logger
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)