Skip to content

[BUG] in SMOTENC the median value of the std of continuous variables should be determined in the minority class being over-sampled #860

Closed
@solegalli

Description

@solegalli

Describe the bug

In SMOTE-NC, the distance between categorical features is determined by the median of the standard deviation of the continuous features in the minority class.

This median value should be calculated on the minority class that is being over-sampled. So it should vary with the class.

In the current implementation, the median value is determined only for the one minority class, that is, the class with the least number of observations, and the same distance is used to over-sample all other minority classes.

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