Skip to content
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 in train_val_split() due to multi-class database #13

Open
DaanHWiltenburg opened this issue Apr 12, 2018 · 0 comments
Open

Comments

@DaanHWiltenburg
Copy link

I get a ValueError when I try to make a dataset with strings as input. I want to assign 1 out of 5 classes to each string. I get this error:

ValueError: Found input variables with inconsistent numbers of samples: [21643, 108215]

even though my labels array has shape 21643 just like the shape of my input array.

When I change to a two class problem there is nog problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant