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

Binary label #46

Open
laurabrzmeyer opened this issue Aug 28, 2023 · 0 comments
Open

Binary label #46

laurabrzmeyer opened this issue Aug 28, 2023 · 0 comments

Comments

@laurabrzmeyer
Copy link

Hello,
I'm trying to use the smogn method in a dataset where the labels are either 0 (majority) or 1 (minority).
So my rg_matrix would be:
rg_mtrx = [
[1, 1, 0], ## over-sample ("minority")
[0, 0, 0], ## under-sample ("majority")
]
However, I'm getting an index error:

image

How can I do the augmentation for a dataset like that ?
Thanks!

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