Closed Jose-Verdu-Diaz closed 1 year ago
Hi! Thank you for raising. In fact, you have control. You should query the package's logger as
import logging
logger = logging.getLogger('smote_variants')
and then you can set the level of logging to what suits the most, for example:
logger.setLevel(logging.ERROR)
should suppress all logging. Let me know if it works!
That worked great, thank you!
Hello, I would love to have control over the logging of the oversampling with a 'verbose' (bool) parameter. I find that the logging can end up cluttering the terminal too much, especially for multiclass oversampling.
I forked the repo and tried implementing it to the OverSamplingBase, just to realise that the logger is created at many other levels, so I'm unsure of what would be the cleanest solution
Thanks for this work!