Raise error if predict_type different from predict or predict_proba