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

Problems with oversampling #7

Closed
xiaozhao127 opened this issue Dec 10, 2023 · 1 comment
Closed

Problems with oversampling #7

xiaozhao127 opened this issue Dec 10, 2023 · 1 comment

Comments

@xiaozhao127
Copy link

After setting up the oversampling parameters, when oversampling the training set of X and Y, the following error occurs please tell me how to solve it。
ValueError: Unknown label type: unknown. Maybe you are trying to fit a classifier, which expects discrete classes on a regression target with continuous values.

@LiYangHart
Copy link
Member

Check your dataset labels, convert other types of labels into integers

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

2 participants