FIX use asarray for hinge_loss inputs