y_type == binary; However, I got "raise ValueError("{0} format is not supported".format(y_type))" #25283
JavadMAlizadeh
started this conversation in
General
Replies: 1 comment
-
The error means that you try to pass data that are recognized as multitarget regression to You can check the type of target with: from sklearn.utils.multiclass import type_of_target
print(type_of_target(y_train))
print(type_of_target(y_test)) to check that this is the issue. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My code:
Error:
Beta Was this translation helpful? Give feedback.
All reactions