37 #include <OpenMS/config.h> 79 void insertPair(
double score,
bool clas);
85 std::vector<std::pair<double, double> > curve(
UInt resolution = 10);
88 double cutoffPos(
double fraction = 0.95);
91 double cutoffNeg(
double fraction = 0.95);
101 bool operator()(
const std::pair<double, bool> & a,
const std::pair<double, bool> & b)
103 return b.first < a.first;
predicate for sort()
Definition: ROCCurve.h:97
UInt neg_
Definition: ROCCurve.h:113
unsigned int UInt
Unsigned integer type.
Definition: Types.h:94
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
ROCCurves show the trade-off in sensitivity and specificity for binary classifiers using different cu...
Definition: ROCCurve.h:54
bool operator()(const std::pair< double, bool > &a, const std::pair< double, bool > &b)
Definition: ROCCurve.h:101
UInt pos_
Definition: ROCCurve.h:111
std::list< std::pair< double, bool > > score_clas_pairs_
Definition: ROCCurve.h:109