Receiver operating characteristic (ROC) and precision-recall curves explained

So far, my biggest claim to fame on twitter has been my animations about receiver operating characteristic (ROC) curves. You may have seen them circling around the twitterverse.

Now a disclaimer: I have never made one ROC or a precision-recall curve for my research. Everything I learned about these curves I have learned from from making these animations and from getting feedback from others that are more familiar with them. As such, I figured I should write a blogpost that would be a solid primer to get someone entirely new to the concept to get started on understanding them.

So here it is

Classifying binary outcome

ROC and precision-recall curves evaluate how well a binary classifier