Project details for ROC algorithms

Logo ROC algorithms 1.0

by tfawcett - January 9, 2010, 19:52:00 CET [ BibTeX BibTeX for corresponding Paper Download ]

view (1 today), download ( 1 today ), 1 comment, 1 subscription


This package contains a set of Perl programs for generating and manipulating ROC curves. They are based on the algorithms in "ROC Graphs: Notes and Practical Considerations for Researchers". There are several versions of this article. This is the original (and longest) version, which mentions the software:

Tom Fawcett (2003). "ROC Graphs: Notes and Practical Considerations for Researchers", HP Labs Tech Report HPL-2003-4. Available from:

Please cite this paper if you use these programs in a published work.

A shorter, more polished version was published as:

Tom Fawcett (2006). "An Introduction to ROC Analysis", Pattern Recognition Letters, Volume 27, Issue 8, Pages 861-874. Available from:

Very little is needed to run these programs, other than a working Perl interpreter. See the file INSTALL for details.


The program generates ROC curves (algorithm 2) and calculates the area under the ROC curve (algorithm 3). Since these are so similar, one program does both. The program implements algorithm 4, and implements algorithm 5. Note that can actually select threshold partitions in one of two ways: by frequency and by range. Algorithm 5 in the paper does it by frequency, whereas by range makes slightly more sense, so that is the default of It shouldn't make much difference except in degenerate cases.


If you're interested in computing the ROC convex hull, see a related publicly available perl script, ROCCH, available from:

Changes to previous version:

Initial Announcement on

BibTeX Entry: Download
Corresponding Paper BibTeX Entry: Download
Supported Operating Systems: Platform Independent
Data Formats: Ascii
Tags: Evaluation, Roc
Archive: download here


Tom Fawcett (on January 9, 2010, 19:52:55)

Initial announcement on

Leave a comment

You must be logged in to post comments.