Revised predict_ovr to work with non integer labels