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:
How can I do the augmentation for a dataset like that ?
Thanks!
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:
How can I do the augmentation for a dataset like that ? Thanks!