Skip to content

FIX handle heterogeneous data type in categorical feature in SMOTENC - #1002

Merged
glemaitre merged 2 commits into
scikit-learn-contrib:masterfrom
glemaitre:is/974
Jul 7, 2023
Merged

FIX handle heterogeneous data type in categorical feature in SMOTENC#1002
glemaitre merged 2 commits into
scikit-learn-contrib:masterfrom
glemaitre:is/974

Conversation

@glemaitre

Copy link
Copy Markdown
Member

closes #974

We previously validated the entire input data and try to convert all features to numerical values. Now, we first split the input data into two sets and only convert to numerical, the continuous feature and keep the data as-is and delegate the conversion to the scikit-learn encoder.

@glemaitre
glemaitre merged commit a1d9f3c into scikit-learn-contrib:master Jul 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] SMOTENC with bool and pd.Categorical inputs

1 participant