Code covered by the BSD License  

Highlights from
(AU)ROC(CH)

5.0

5.0 | 2 ratings Rate this file 14 Downloads (last 30 days) File Size: 3.74 KB File ID: #22641
image thumbnail

(AU)ROC(CH)

by Ged Ridgway

 

10 Jan 2009 (Updated 11 Dec 2009)

Receiver Operating Characteristic curve with convex hull, plus areas under ROC and ROCCH.

| Watch this File

File Information
Description

ROC curves illustrate performance on a binary classification problem where classification is based on simply thresholding a set of scores at varying levels. Lenient thresholds give high sensitivity but low specificity, strict thresholds give high specificity but low sensitivity; the ROC curve plots this trade-off over a range of thresholds (usually with sens vs 1-spec, but I prefer sens vs spec; this code gives you the option).

It is theoretically possible to operate anywhere on the convex hull of an ROC curve, so this is plotted too. The area under the curve (AUC) for a ROC plot is a measure of overall accuracy, and the area under the ROCCH is a kind of upper bound on what might be achievable with a weighted combination of differently thresholded results from the given classifier.

MATLAB release MATLAB 7.1.0 (R14SP3)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (4)
25 Feb 2010 Meedo

the program gives different size of sensitivity and specificity..

03 Mar 2010 Meedo

thank you to clarify that to me. i got different threshold this is why i got different results on the sens and spec.

27 Apr 2010 Aleksey

ups, sorry there is a parameter to control this...

27 Apr 2010 Aleksey

nice function, thanks

Please login to add a comment or rating.
Updates
11 Dec 2009

Fixed a minor bug that produced incorrect AUROCCH values for very bad classifiers (that lie partially under the line of pure chance).

Tag Activity for this File
Tag Applied By Date/Time
receiver operating characteristic Ged Ridgway 12 Jan 2009 16:10:50
roc Ged Ridgway 12 Jan 2009 16:10:50
auc Ged Ridgway 12 Jan 2009 16:10:50
rocch Ged Ridgway 12 Jan 2009 16:10:50
convex hull Ged Ridgway 12 Jan 2009 16:10:50
auroc Ged Ridgway 11 Dec 2009 13:28:01
roc kale Peng 24 Nov 2010 15:36:57

Contact us at files@mathworks.com