Closed glemaitre closed 1 year ago
Add the option categorical_features="auto" that detects categorical features if they are using pd.CategoricalDtype in SMOTENC estimator.
categorical_features="auto"
pd.CategoricalDtype
SMOTENC
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.
Add the option
categorical_features="auto"
that detects categorical features if they are usingpd.CategoricalDtype
inSMOTENC
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.