Lifted from R package "smotefamily" to reduce number of dependencies in "sits".
.sits_smote(data, target, K = 5, dup_size = 0)
A list with the following values.
Dataset to be oversampled.
Target data set
The number of nearest neighbors during sampling process
The maximum times of synthetic minority instances over original majority instances in the oversampling.
Wacharasak Siriseriwan <wacharasak.s@gmail.com>
Chawla, N., Bowyer, K., Hall, L. and Kegelmeyer, W. 2002. SMOTE: Synthetic minority oversampling technique. Journal of Artificial Intelligence Research. 16, 321-357.