| Literature DB >> 25810428 |
Jan Grau1, Ivo Grosse2, Jens Keilwagen3.
Abstract
Precision-recall (PR) and receiver operating characteristic (ROC) curves are valuable measures of classifier performance. Here, we present the R-package PRROC, which allows for computing and visualizing both PR and ROC curves. In contrast to available R-packages, PRROC allows for computing PR and ROC curves and areas under these curves for soft-labeled data using a continuous interpolation between the points of PR curves. In addition, PRROC provides a generic plot function for generating publication-quality graphics of PR and ROC curves.Mesh:
Year: 2015 PMID: 25810428 PMCID: PMC4514923 DOI: 10.1093/bioinformatics/btv153
Source DB: PubMed Journal: Bioinformatics ISSN: 1367-4803 Impact factor: 6.937
R-packages for computing PR and ROC curves, and their AUCs; “both”: AUC and curve can be computed; “linear”: linear interpolation, “DG”: interpolation of Davis and Goadrich (2006), “con.”: interpolation of Boyd ; Keilwagen
| Package | AUC | PerfMeas | pROC | ROCR | PRROC |
|---|---|---|---|---|---|
| Version | 0.3.0 | 1.2.1 | 1.7.3 | 1.0–5 | 1.1 |
| PR curve | |||||
| Hard-labeled | No | Both | No | Curve | Both |
| Interpolation | N/A | Linear | N/A | Linear | DG/con |
| Soft-labeled | No | No | No | No | Both |
| ROC curve | |||||
| Hard-labeled | Both | AUC | Both | Both | Both |
| Soft-labeled | No | No | No | No | Both |
| Plotting | Yes | Std. R | Yes | Yes | Yes |
aRobin ;
bSing .
Fig. 1.Plots of ROC (left) and PR (right) curves generated by PRROC. For the ROC curve, we consider hard-labeled data and show the plotting variant with a color scale that indicates classification thresholds yielding the points on the curve. For the PR curve, we consider soft-labeled data and show a comparative plot for two classifiers as solid and dashed lines. We also include the maximal and minimal possible curves and the curve of a random classifier for the given soft-labels