Highly Imbalanced Data

SMOTE

Input Data

Inputs

Target Data

Data Input

Predict Output

Name of the output

X

Other variables

Y(factor)

The unbalanced outcome variable

  • Y allows only factor variables. If the variable is not a factor type(e.g. integer or characters), convert it to a factor.

Workflow Example

R-Flow Task Example Video - SMOTE

R Packages

Packages name: DMwR

Method: SMOTE

References: https://cran.r-project.org/web/packages/DMwR/index.html

Last updated