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

Keep track of number of function / gradient evaluations #129

Open
mblondel opened this issue Dec 15, 2021 · 0 comments
Open

Keep track of number of function / gradient evaluations #129

mblondel opened this issue Dec 15, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@mblondel
Copy link
Collaborator

Some methods, such as line-search based methods, require more function / gradient evaluations than others. It would be great to keep track of the number of such calls in the state. For instance, we could include state.num_fun_calls and state.num_grad_calls. This would allow to plot objective value as a function of these numbers and therefore compare various methods objectively.

@mblondel mblondel added the enhancement New feature or request label Dec 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant