The method handles factor features, too. The gower distance is used for nearest neighbor
calculation, see daisy
.
For interpolation, the new factor level for x3
is sampled from the two given levels of x1 and x2 per feature.
smote(task, rate, nn = 5L)
SupervisedTask
].makeOverBaggingWrapper
;
makeOversampleWrapper
,
makeUndersampleWrapper
;
oversample
, undersample