Search code examples
matplotlibplotrocauc

ROC/AUC curves for matplotlib


I have a lot of data that comes from some experiment, just one column "measure" and would like to calculate ROC/AUC curves. I use matplotlib and had a look, but found no way to do with it. I wonder if anyone can share experiences with matplotlib or with any other open source easy to use library for ROC/AUC curves.


Solution

  • Matplotlib is mostly used for plotting things, so you'd need to calculate the curves first and then plot them with matplotlib. There seem to be multiple relevant Python modules:
    scipy roc_curve
    PyROC
    CROC
    yard