35 #ifndef OPENMS_MATH_STATISTICS_ROCCURVE_H 36 #define OPENMS_MATH_STATISTICS_ROCCURVE_H 38 #include <OpenMS/config.h> 80 void insertPair(
double score,
bool clas);
86 std::vector<std::pair<double, double> > curve(
UInt resolution = 10);
89 double cutoffPos(
double fraction = 0.95);
92 double cutoffNeg(
double fraction = 0.95);
102 bool operator()(
const std::pair<double, bool> & a,
const std::pair<double, bool> & b)
104 return b.first < a.first;
118 #endif // OPENMS_MATH_STATISTICS_ROCCURVE_H predicate for sort()
Definition: ROCCurve.h:98
UInt neg_
Definition: ROCCurve.h:114
unsigned int UInt
Unsigned integer type.
Definition: Types.h:95
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
ROCCurves show the trade-off in sensitivity and specificity for binary classifiers using different cu...
Definition: ROCCurve.h:55
bool operator()(const std::pair< double, bool > &a, const std::pair< double, bool > &b)
Definition: ROCCurve.h:102
UInt pos_
Definition: ROCCurve.h:112
std::list< std::pair< double, bool > > score_clas_pairs_
Definition: ROCCurve.h:110