Learn R Programming

sits (version 1.1.0)

.sits_smote: Oversample a dataset by SMOTE.

Description

Lifted from R package "smotefamily" to reduce number of dependencies in "sits".

Usage

.sits_smote(data, target, K = 5, dup_size = 0)

Value

A list with the following values.

Arguments

data

Dataset to be oversampled.

target

Target data set

K

The number of nearest neighbors during sampling process

dup_size

The maximum times of synthetic minority instances over original majority instances in the oversampling.

Author

Wacharasak Siriseriwan <wacharasak.s@gmail.com>

References

Chawla, N., Bowyer, K., Hall, L. and Kegelmeyer, W. 2002. SMOTE: Synthetic minority oversampling technique. Journal of Artificial Intelligence Research. 16, 321-357.