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

02 python encounter ValueError #2

Open
tyj513 opened this issue Jul 3, 2024 · 0 comments
Open

02 python encounter ValueError #2

tyj513 opened this issue Jul 3, 2024 · 0 comments

Comments

@tyj513
Copy link

tyj513 commented Jul 3, 2024

After running the first program, all the generated CSV files show 'hit'. When running the second program, I encountered this error: ValueError: This solver needs samples of at least 2 classes in the data, but the data contains only one class: 'Hit'. How can I fix this issue?

Additionally, I would like to know how to create a PKL file. Your example is for 'supershy'. If I want to apply it to other songs, how should I create their datasets? Thank you.

Here is my email: ben20415@gmail.com Line:ben900707 If it's convenient, I hope we can use this to keep in touch.

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