You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
----> 1 _check_clf_targets(y1, y2)
/Users/ajoly/git/scikit-learn/sklearn/metrics/metrics.pyc in _check_clf_targets(y_true, y_pred)
69 if type_true.startswith('multilabel'):
70 if not type_pred.startswith('multilabel'):
---> 71 raise ValueError("Can't handle mix of multilabel and multiclass "
72 "targets")
73 if type_true != type_pred:
ValueError: Can't handle mix of multilabel and multiclass targets
Instead of saying that you are try to mix multialbel-indicator and multioutput-continous value. (ping @jnothman)
This _check_clf_targets is used for instance in accuracy_score.
The text was updated successfully, but these errors were encountered:
This code raise the following error message
Instead of saying that you are try to mix multialbel-indicator and multioutput-continous value. (ping @jnothman)
This
_check_clf_targets
is used for instance inaccuracy_score
.The text was updated successfully, but these errors were encountered: