lazypredict icon indicating copy to clipboard operation
lazypredict copied to clipboard

Verbosity and logging

Open PierreSnell opened this issue 8 months ago • 1 comments

Is your feature request related to a problem? Please describe.

  1. Messages are printed so it's hard to disable the output.
  2. Tqdm is always verbose which leads to many progress bars plotted in the rest of the code.

Describe the solution you'd like

  1. Using logging so anyone could just grab and setup the log level of the lazyPredict logger.
  2. Add the disable arg of tqdm, might be something like : for name, model in tqdm(self.classifiers, disable = self.verbose < 1):

Additional context I could do a PR for it if you want :)

PierreSnell avatar Nov 02 '23 12:11 PierreSnell