Skip to content

Binary label #46

Description

@laurabrzmeyer

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions