skip to navigation
skip to content

CROC 1.0.63

A package for calculating ROC curves and Concentrated ROC (CROC) curves.

Package Documentation

Latest Version: 1.1.26

A package for calculating ROC curves and Concentrated ROC (CROC) curves written by Dr. S. Joshua Swamidass.


A CROC Stronger than ROC: Measuring, Visualizing, and Optimizing Early Retrieval
S. Joshua Swamidass, Chloe-Agathe Azencott, Kenny Daily and Pierre Baldi
Bioinformatics, April 2010, doi:10.1093/bioinformatics/btq140


This pure-python package is designed to be a standardized implementation of performance curves and metrics for use either in python scripts or through a simple commandline interface. As a standardized implementation its output is robust enough to be using in publishable scientific work.

With this package, one can easily:

  1. Compute the coordinates of both Accumulation Curves and ROC curves.
  2. Handle ties appropriately using several methods.
  3. Compute the BEDROC metric.
  4. Vertically add and average the performance curves of several cross-validation folds.
  5. Focus on the early part of the ROC curve by using several x-axis transforms.

The docstrings in this module are fairly complete and the scripts provide simple access to the most common functions. Further documentation can be found at

File Type Py Version Uploaded on Size
CROC-1.0.63.tar.gz (md5) Source 2012-04-30 12KB