-
-
Notifications
You must be signed in to change notification settings - Fork 367
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
Print warning in ADVI if max number of iterations reached or ELBO is higher at at previous iteration #1588
Comments
@dustinvtran should i take a shot at this in https://github.com/stan-dev/stan/tree/feature/advi-adapt-eta since i'll need to check for decreasing ELBO there? or do you want to tackle these separately? |
Since they’re minor fixes I think they can be in a different branch so that it is merged more quickly into develop.
|
in feature/advi-adapt-eta, i establish some scaffolding for tracking the ELBO. i just want to make sure we don't re-invent solutions for similar problems. |
Ah, I see what you mean. Then I’ll add the changes in your branch then. :-) Dustin
|
Fixed in #1590. |
Discussed in stan-dev. If the maximum number of iterations are reached,
MAX ITERATIONS REACHED
is currently printed. However, there should be more information, warning users that because the max number of iterations are reached, the optimization hasn't converged and thus one should be very careful about using samples from the output.Same for the case when the ELBO is higher at a previous iteration that isn't the last. (can happen in SGD for nonconvex optimization).
The text was updated successfully, but these errors were encountered: