Understanding the ROC Curve and Beyond