-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ValueError: Supported target types are: ('binary', 'multiclass'). Got 'unknown' instead. #2
Comments
I solved that by: from sklearn.preprocessing import LabelEncoder label_encoder = LabelEncoder() |
I found the same error. apprently Y is unknown the fix by [aminzadenoori] does not work for me. |
Hi @mahmoudaghvami I have the same error, have you found any solution, how to fix this? |
I had the same problem:ValueError: Supported target types are: (‘binary‘, ‘multiclass‘). Got ‘unknown‘ instead.”, and now it's over. You can try adding a code: See my blog for detailed solutions and reasons.The CSDN address link is: I hope this is helpful |
@xiaoluobie thank you. |
Hi,
when I want to run "train.py --v lstm" I have this error, ValueError: Supported target types are: ('binary', 'multiclass'). Got 'unknown' instead.
can you guide me on how to fix it?
thank you.
The text was updated successfully, but these errors were encountered: