Definition at line 46 of file ROCCurve.h.
Public Member Functions | |
ROCCurve (const std::vector< Float_t > &mvaSignal, const std::vector< Float_t > &mvaBackground) | |
ROCCurve (const std::vector< Float_t > &mvaSignal, const std::vector< Float_t > &mvaBackground, const std::vector< Float_t > &mvaSignalWeights, const std::vector< Float_t > &mvaBackgroundWeights) | |
ROCCurve (const std::vector< Float_t > &mvaValues, const std::vector< Bool_t > &mvaTargets) | |
ROCCurve (const std::vector< Float_t > &mvaValues, const std::vector< Bool_t > &mvaTargets, const std::vector< Float_t > &mvaWeights) | |
ROCCurve (const std::vector< std::tuple< Float_t, Float_t, Bool_t > > &mvas) | |
~ROCCurve () | |
destructor | |
Double_t | GetEffSForEffB (Double_t effB, const UInt_t num_points=41) |
Calculate the signal efficiency (sensitivity) for a given background efficiency (sensitivity). | |
const std::vector< std::tuple< Float_t, Float_t, Bool_t > > | GetMvas () const |
TGraph * | GetROCCurve (const UInt_t points=100) |
Returns a new TGraph containing the ROC curve. | |
Double_t | GetROCIntegral (const UInt_t points=41) |
Calculates the ROC integral (AUC) | |
Private Member Functions | |
std::vector< Double_t > | ComputeSensitivity (const UInt_t num_points) |
std::vector< Double_t > | ComputeSpecificity (const UInt_t num_points) |
MsgLogger & | Log () const |
Private Attributes | |
TGraph * | fGraph |
MsgLogger * | fLogger |
! message logger | |
std::vector< std::tuple< Float_t, Float_t, Bool_t > > | fMva |
#include <TMVA/ROCCurve.h>
Definition at line 45 of file ROCCurve.cxx.
TMVA::ROCCurve::ROCCurve | ( | const std::vector< Float_t > & | mvaValues, |
const std::vector< Bool_t > & | mvaTargets, | ||
const std::vector< Float_t > & | mvaWeights | ||
) |
Definition at line 53 of file ROCCurve.cxx.
TMVA::ROCCurve::ROCCurve | ( | const std::vector< Float_t > & | mvaValues, |
const std::vector< Bool_t > & | mvaTargets | ||
) |
Definition at line 70 of file ROCCurve.cxx.
TMVA::ROCCurve::ROCCurve | ( | const std::vector< Float_t > & | mvaSignal, |
const std::vector< Float_t > & | mvaBackground, | ||
const std::vector< Float_t > & | mvaSignalWeights, | ||
const std::vector< Float_t > & | mvaBackgroundWeights | ||
) |
Definition at line 102 of file ROCCurve.cxx.
TMVA::ROCCurve::ROCCurve | ( | const std::vector< Float_t > & | mvaSignal, |
const std::vector< Float_t > & | mvaBackground | ||
) |
Definition at line 85 of file ROCCurve.cxx.
TMVA::ROCCurve::~ROCCurve | ( | ) |
destructor
Definition at line 123 of file ROCCurve.cxx.
Definition at line 174 of file ROCCurve.cxx.
Definition at line 138 of file ROCCurve.cxx.
Calculate the signal efficiency (sensitivity) for a given background efficiency (sensitivity).
effB | Background efficiency for which to calculate signal efficiency. |
num_points | Number of points used for the underlying histogram. The number of bins will be num_points - 1. |
Definition at line 217 of file ROCCurve.cxx.
|
inline |
Definition at line 68 of file ROCCurve.h.
Returns a new TGraph containing the ROC curve.
Sensitivity is on the x-axis, specificity on the y-axis.
num_points | Granularity of the resulting curve. The curve will be subdivided into num_points - 1 regions where the performance of the classifier is sampled. Larger number means more accurate, but more costly, evaluation. |
Definition at line 274 of file ROCCurve.cxx.
Calculates the ROC integral (AUC)
num_points | Granularity of the resulting curve used for integration. The curve will be subdivided into num_points - 1 regions where the performance of the classifier is sampled. Larger number means more accurate, but more costly, evaluation. |
Definition at line 248 of file ROCCurve.cxx.
|
private |
Definition at line 128 of file ROCCurve.cxx.
|
private |
Definition at line 73 of file ROCCurve.h.
|
mutableprivate |
! message logger
Definition at line 70 of file ROCCurve.h.
Definition at line 75 of file ROCCurve.h.