Learn R Programming

sits (version 1.1.0)

.sits_oversample_smote: Oversample a dataset by SMOTE.

Description

Oversample a dataset by SMOTE.

Usage

.sits_oversample_smote(data, cls, cls_col, m)

Value

The oversampled dataset.

Arguments

data

Dataset to be oversampled.

cls

Class to be oversampled.

cls_col

Column containing class information.

m

Desired number of samples in the oversampled data.