-
Notifications
You must be signed in to change notification settings - Fork 7
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
477 add progress hook to optimize #592
Conversation
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few minor comments, but overall this looks great. thanks!
docs/source/interfaces.ipynb
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is tqdm necessary here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@SamWitty If there is another preferred way of displaying the progress bar, please let me know. This is the only way I am aware of.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GitHub is showing that the only change in this PR is that tqdm
is being imported. I'm not seeing it being used anywhere. If it's used, then definitely we should have the import. If not, we should remove it.
@SamWitty if you're ok with keeping |
I would wait on merging this PR. It is better to merge in the multiple constraints PR first just to make sure there are no merge conflicts (mostly because of changes to notebooks) and this one is a much smaller PR. Overall, it looks good though. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great!
Adding progress hook to optimize. Should output the number of function evaluations so that a progress bar can be made in Terarium from this number divided by:
maxfeval * (maxiter + 1)
.