Description Usage Arguments Value See Also
View source: R/OverUnderSampling.R
Oversampling: For a given class (usually the smaller one) all existing observations are taken and copied and extra observations are added by randomly sampling with replacement from this class.
Undersampling: For a given class (usually the larger one) the number of observations is reduced (downsampled) by randomly sampling without replacement from this class.
| 1 2 3 | oversample(task, rate, cl = NULL)
undersample(task, rate, cl = NULL)
 | 
| task | [ | 
| rate | [ | 
| cl | [ | 
[Task].
Other imbalancy: makeOverBaggingWrapper,
makeUndersampleWrapper, smote
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.