Testing log_loss and hinge_loss under THRESHOLDED_METRICS
FIX: Removed redundant code