Binary Classifier Performance Curve - Coding problem | OneNoughtOne