View source: R/ml_data_transformation.R
This function is a wrapper around caret::upSample()
, UBL::SmoteClassif()
, UBL::GaussNoiseClassif()
and UBL::RandUnderClassif()
.
1 | resolve_class_imbalance(data, labels, type = "Smote", .pert = 0.1)
|
data |
a |
labels |
|
type |
|
.pert |
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.