Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 2 commits into from Jul 7, 2023

Conversation

glemaitre
Copy link
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
20 checks passed
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