Building custom made ROC, PR, AUC and other performance measurement functions