Skip to content

Conversation

glemaitre
Copy link
Member

Add the option categorical_features="auto" that detects categorical features if they are using pd.CategoricalDtype in SMOTENC estimator.

In addition, we need to make sure that we don't only have numerical features after the inference, in which case, we raise an error.

@glemaitre glemaitre merged commit e9d120a into scikit-learn-contrib:master Jul 8, 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.

1 participant