Over-Sampling

ADASYN/BorderlineSMOTE/KMeansSMOTE/RandomOverSampler/SMOTE/SMOTENC/SVMSMOTE

Common

Input Data

Inputs

*Target Data

Data input

*Sampler

Name of the user-defined sampler module

*Predict Output

Name of the re-sampled data

*x

Columns (features) to be re-sampled by the sampler, with respect to their labels y.

  • Data type:

    • RamdomOverSampler: all data type.

    • else: numeric.

  • One or more columns should be selected.

*y

Column containing labels of the features x.

  • Only one column should be selected.

Variable Attributes

  • Data Type : Data type of the column (variable); e.g) int64, float64, string...

Python Package

ADASYN: https://imbalanced-learn.readthedocs.io/en/stable/generated/imblearn.over_sampling.ADASYN.html

BorderlineSMOTE: https://imbalanced-learn.readthedocs.io/en/stable/generated/imblearn.over_sampling.BorderlineSMOTE.html

KMeansSMOTE: https://imbalanced-learn.readthedocs.io/en/stable/generated/imblearn.over_sampling.KMeansSMOTE.html

RandomOverSampler: https://imbalanced-learn.readthedocs.io/en/stable/generated/imblearn.over_sampling.RandomOverSampler.html

SMOTE: https://imbalanced-learn.readthedocs.io/en/stable/generated/imblearn.over_sampling.SMOTE.html

SMOTENC: https://imbalanced-learn.readthedocs.io/en/stable/generated/imblearn.over_sampling.SMOTENC.html

SVMSMOTE: https://imbalanced-learn.readthedocs.io/en/stable/generated/imblearn.over_sampling.SVMSMOTE.htmlll

Last updated