Over-sampling

step_upsample() tidy(<step_upsample>)

Up-Sample a Data Set Based on a Factor Variable

step_smote() tidy(<step_smote>)

Apply SMOTE algorithm

step_bsmote() tidy(<step_bsmote>)

Apply borderline-SMOTE algorithm

step_adasyn() tidy(<step_adasyn>)

Adaptive Synthetic Sampling Approach

step_rose() tidy(<step_rose>)

Apply ROSE algorithm

Under-sampling

step_downsample() tidy(<step_downsample>)

Down-Sample a Data Set Based on a Factor Variable

step_nearmiss() tidy(<step_nearmiss>)

Under-sampling by removing points near other classes.

step_tomek() tidy(<step_tomek>)

Under-sampling by removing Tomek’s links.

Datasets

circle_example

Synthetic Dataset with a circle

Dials Objects