@amueller  Umm.. as mentioned above in `hinge_loss` doing y_true*pred_decision raises a `TypeError` when pred_decision does not have float values. (I shall catch it and raise a ValueError if needed)

In `log_loss` , in this PR I have raised a ValueError, in L1033-1034