Skip to content

[ENH] Wrapper to combine any Over Sampler and Under Sampler #787

Open
@iki77

Description

@iki77

Is your feature request related to a problem? Please describe

Most of the time the data that needs to be resampled consists of Nominal and Continuous data.
So SMOTENC is the proper solution for oversampling the data, however, it is not possible to use it on combination models.
Combination models (SMOTEEN & SMOTENC), currently only support regular SMOTE.

Describe the solution you'd like

Instead of combination models, it would be better if we have some kind of wrapper that can combine any oversampling models with any undersampling models.
Examples:

  • SamplerCombiner(over_sampler=SMOTENC(), under_sampler=TomekLinks()),
  • SamplerCombiner(over_sampler=RandomOverSampler(), under_sampler=RandomUnderSampler())

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions