Focused Loss Computation for Class Imbalance - Coding problem | OneNoughtOne