ActiveCrowdToolkit  0.1
CrowdsourcingProject.Statistics.ReceiverOperatingCharacteristic Class Reference

Receiver Operating Characteristic (ROC) Curve More...

Classes

class  Point
 Object to hold information about a Receiver Operating Characteristic Curve Point More...
 
class  PointCollection
 Represents a Collection of Receiver Operating Characteristic (ROC) Curve points. This class cannot be instantiated. More...
 

Public Member Functions

 ReceiverOperatingCharacteristic (double[] measurement, double[] prediction)
 Constructs a new Receiver Operating Characteristic model More...
 
void Compute (int points)
 Computes a n-points ROC curve. More...
 
void Compute (double increment)
 Computes a ROC curve with 1/increment points More...
 
double Compare (ReceiverOperatingCharacteristic curve, double r)
 Compares two ROC curves. More...
 

Public Attributes

PointCollection collection
 

Properties

PointCollection Points [get]
 Gets the points of the curve. More...
 
double Area [get]
 The area under the ROC curve. Also known as AUC-ROC. More...
 
double Error [get]
 Calculates the Standard Error associated with this ROC curve. More...
 

Detailed Description

Receiver Operating Characteristic (ROC) Curve

In signal detection theory, a receiver operating characteristic (ROC), or simply ROC curve, is a graphical plot of the sensitivity vs. (1 − specificity) for a binary classifier system as its discrimination threshold is varied.

References: http://en.wikipedia.org/wiki/Receiver_operating_characteristic http://www.anaesthetist.com/mnm/stats/roc/Findex.htm http://radiology.rsna.org/content/148/3/839.full.pdf

Constructor & Destructor Documentation

CrowdsourcingProject.Statistics.ReceiverOperatingCharacteristic.ReceiverOperatingCharacteristic ( double[]  measurement,
double[]  prediction 
)
inline

Constructs a new Receiver Operating Characteristic model

Parameters
outputAn array of binary values. Tipically 0 and 1, or -1 and 1, indicating negative and positive cases, respectively.
predictedOutputAn array of continuous values trying to approximate the measurement array.

Member Function Documentation

double CrowdsourcingProject.Statistics.ReceiverOperatingCharacteristic.Compare ( ReceiverOperatingCharacteristic  curve,
double  r 
)
inline

Compares two ROC curves.

Parameters
rThe amount of correlation between the two curves
Returns
void CrowdsourcingProject.Statistics.ReceiverOperatingCharacteristic.Compute ( int  points)
inline

Computes a n-points ROC curve.

Each point in the ROC curve will have a threshold increase of 1/npoints over the previous point, starting at zero.

Parameters
pointsThe number of points for the curve.
void CrowdsourcingProject.Statistics.ReceiverOperatingCharacteristic.Compute ( double  increment)
inline

Computes a ROC curve with 1/increment points

Parameters
incrementThe increment over the previous point for each point in the curve.

Property Documentation

double CrowdsourcingProject.Statistics.ReceiverOperatingCharacteristic.Area
get

The area under the ROC curve. Also known as AUC-ROC.

double CrowdsourcingProject.Statistics.ReceiverOperatingCharacteristic.Error
get

Calculates the Standard Error associated with this ROC curve.

PointCollection CrowdsourcingProject.Statistics.ReceiverOperatingCharacteristic.Points
get

Gets the points of the curve.


The documentation for this class was generated from the following file: