Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages
Classes | Private Attributes | List of all members
ROCCurve Class Reference

ROCCurves show the trade-off in sensitivity and specificity for binary classifiers using different cutoff values. More...

#include <OpenMS/MATH/STATISTICS/ROCCurve.h>

Classes

class  simsortdec
 predicate for sort() More...
 

Public Member Functions

 ROCCurve ()
 default constructor More...
 
virtual ~ROCCurve ()
 destructor More...
 
 ROCCurve (const ROCCurve &source)
 copy constructor More...
 
ROCCurveoperator= (const ROCCurve &source)
 assignment operator More...
 
void insertPair (double score, bool clas)
 insert score, type pair More...
 
double AUC ()
 returns Area Under Curve More...
 
std::vector< std::pair< double, double > > curve (UInt resolution=10)
 some points in the ROC Curve More...
 
double cutoffPos (double fraction=0.95)
 
double cutoffNeg (double fraction=0.95)
 

Private Attributes

std::list< std::pair< double, bool > > score_clas_pairs_
 
UInt pos_
 
UInt neg_
 

Detailed Description

ROCCurves show the trade-off in sensitivity and specificity for binary classifiers using different cutoff values.

[This class is buggy and usage is discouraged!]

Constructor & Destructor Documentation

ROCCurve ( )

default constructor

virtual ~ROCCurve ( )
virtual

destructor

ROCCurve ( const ROCCurve source)

copy constructor

Member Function Documentation

double AUC ( )

returns Area Under Curve

std::vector<std::pair<double, double> > curve ( UInt  resolution = 10)

some points in the ROC Curve

double cutoffNeg ( double  fraction = 0.95)
double cutoffPos ( double  fraction = 0.95)
void insertPair ( double  score,
bool  clas 
)

insert score, type pair

ROCCurve& operator= ( const ROCCurve source)

assignment operator

Member Data Documentation

UInt neg_
private
UInt pos_
private
std::list<std::pair<double, bool> > score_clas_pairs_
private

OpenMS / TOPP release 2.0.0 Documentation generated on Tue Aug 25 2015 05:54:11 using doxygen 1.8.9.1