shankarpandala / lazypredict

Lazy Predict help build a lot of basic models without much code and helps understand which models works better without any parameter tuning
MIT License
2.76k stars 317 forks source link

Verbosity and logging #438

Open PierreSnell opened 8 months ago

PierreSnell commented 8 months ago

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 :)

nityansuman commented 3 months ago

@PierreSnell Hey, this sounds good. Please feel free to raise a PR on https://github.com/nityansuman/lazypredict-nightly (its a nightly and updated build.)