Precision-Recall and ROC Curves for Weighted and Unweighted Data