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() [1/2]

ROCCurve ( )

default constructor

◆ ~ROCCurve()

virtual ~ROCCurve ( )
virtual

destructor

◆ ROCCurve() [2/2]

ROCCurve ( const ROCCurve source)

copy constructor

Member Function Documentation

◆ AUC()

double AUC ( )

returns Area Under Curve

◆ curve()

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

some points in the ROC Curve

◆ cutoffNeg()

double cutoffNeg ( double  fraction = 0.95)

◆ cutoffPos()

double cutoffPos ( double  fraction = 0.95)

◆ insertPair()

void insertPair ( double  score,
bool  clas 
)

insert score, type pair

◆ operator=()

ROCCurve& operator= ( const ROCCurve source)

assignment operator

Member Data Documentation

◆ neg_

UInt neg_
private

◆ pos_

UInt pos_
private

◆ score_clas_pairs_

std::list<std::pair<double, bool> > score_clas_pairs_
private

OpenMS / TOPP release 2.3.0 Documentation generated on Tue Jan 9 2018 18:22:15 using doxygen 1.8.13