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

Print warning in ADVI if max number of iterations reached or ELBO is higher at at previous iteration #1588

Closed
dustinvtran opened this issue Aug 17, 2015 · 5 comments
Assignees
Milestone

Comments

@dustinvtran
Copy link
Member

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).

@dustinvtran dustinvtran self-assigned this Aug 17, 2015
@akucukelbir
Copy link
Contributor

@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?

@dustinvtran
Copy link
Member Author

Since they’re minor fixes I think they can be in a different branch so that it is merged more quickly into develop.

On Aug 17, 2015, at 7:41 AM, Alp Kucukelbir notifications@github.com wrote:

@dustinvtran https://github.com/dustinvtran should i take a shot at this in https://github.com/stan-dev/stan/tree/feature/advi-adapt-eta 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?


Reply to this email directly or view it on GitHub #1588 (comment).

@akucukelbir
Copy link
Contributor

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.

@dustinvtran
Copy link
Member Author

Ah, I see what you mean. Then I’ll add the changes in your branch then. :-)

Dustin

On Aug 17, 2015, at 12:23 PM, Alp Kucukelbir notifications@github.com wrote:

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.


Reply to this email directly or view it on GitHub #1588 (comment).

@syclik
Copy link
Member

syclik commented Nov 11, 2015

Fixed in #1590.

@syclik syclik closed this as completed Nov 11, 2015
@syclik syclik added this to the v2.8.0++ milestone Nov 11, 2015
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

3 participants