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

Rebalance class status progress message #42

Closed
nushib opened this issue Sep 14, 2022 · 1 comment
Closed

Rebalance class status progress message #42

nushib opened this issue Sep 14, 2022 · 1 comment

Comments

@nushib
Copy link
Member

nushib commented Sep 14, 2022

The Rebalance class status message contains a string related to imputation instead:

No columns specified for imputation. These columns have been automatically identified:
[]
Running oversampling...

@mrfmendonca
Copy link
Collaborator

This is actually an expected behavior. What happening here is that some classes have a default pre-processing pipeline. For the Rebalance class, for example, when using SMOTE (which doesn't work with categorical variables or missing values), the transform_pipe parameter must contain an encoder and an imputer. Otherwise, a default BasicImputer and EncoderOHE objects are created and inserted in the transform_pipe internal variable. When calling the rebalance method, the BasicImputer and EncoderOHE will run before running SMOTE. This message is printed by the BasicImputer created. You can suppress this message by setting verbose = False when instantiating the Rebalance class

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

No branches or pull requests

2 participants