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

Reducing verboseness #30

Open
L-Marriott opened this issue Mar 24, 2022 · 3 comments
Open

Reducing verboseness #30

L-Marriott opened this issue Mar 24, 2022 · 3 comments

Comments

@L-Marriott
Copy link

Is there an option to reduce the printed output? I'm running this in a notebook and every time I synthesize, the cell prints these:

dist_matrix: 100%|##########| 14/14 [00:00<00:00, 400.82it/s]
synth_matrix: 100%|##########| 14/14 [00:00<00:00, 637.42it/s]
r_index: 100%|##########| 5/5 [00:00<00:00, 626.63it/s]

I'd just like to hide these really.

@nickkunz
Copy link
Owner

Thank you for your feedback. I'd like to know if others are interested in a feature which suppresses verbosity?

@rrealrangel
Copy link

Hello. I use this package within a nested cross validation along with optuna (for automatic hyperparameters optimization). After each loop, its error and parameters used are shown so one can monitor it in real-time. However, due to the verboseness of the smogn package, I'm not able to read the results of each loop, because they rapidly get lost in the terminal. As @L-Marriott, I also would appreciate if an option to disable the smogn outputs were available. Thanks.

@DarioSim
Copy link

Removing tqdm loops and substituting them on over_sampling.py would solve the issue

example:
for i in tqdm(range(n), ascii = True, desc = "synth_matrix"):
becomes:
for i in range(n):

from tqdm import tqdm

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

4 participants