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

Improve verbose mode #70

Open
lostella opened this issue Feb 25, 2022 · 0 comments
Open

Improve verbose mode #70

lostella opened this issue Feb 25, 2022 · 0 comments

Comments

@lostella
Copy link
Member

Some things that could improve about verbose mode:

  • Currently, verbose execution of algorithms displays a sequence of unspecified values. Verbose mode should either display a “table header” at the beginning of the execution, or a field name next to each value on each line.
  • We currently use the @printf macro for printing, but one could use logging facilities instead, see https://docs.julialang.org/en/v1/stdlib/Logging/#Logging
  • The logging frequency is customizable but fixed (ie print every 10 or 100 or however many iterations). One way to “let the frequency scale” with the algorithm convergence speed is to use “logarithmic” logging: display progress every iteration until the 10th, then every 10 iterations until the 100th, then every 100 iterations until the 1000th, and so on.
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

1 participant