resolve_class_imbalance(data, labels, type = "Smote", .pert = 0.1)

Arguments

data

a data.frame

labels

character or factor, the labels

type

character, a switch for the type of imbalance, one of legacy_noise, Smote, GaussianNoise, Under, GaussianExtreme

.pert

numeric, perturbation in the Gaussian noise