Python Supervised Binary Cross Entropy