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

Specifying maximum number of iterations to be less than eval_elbo #1591

Closed
dustinvtran opened this issue Aug 17, 2015 · 2 comments
Closed

Specifying maximum number of iterations to be less than eval_elbo #1591

dustinvtran opened this issue Aug 17, 2015 · 2 comments
Assignees
Labels
Milestone

Comments

@dustinvtran
Copy link
Member

If users currently try to run ./model variational iter=1 data file=model.data, then the algorithm runs on infinitely often or until convergence, rather than stopping after the first iteration. This is because we only check if the current iteration is equal to the maximum number of iterations during ELBO evaluations.

trivial fix will be available in this pull request

@akucukelbir
Copy link
Contributor

yes! i was thinking about this earlier today. great catch.

@dustinvtran
Copy link
Member Author

Oops, sorry, this is a bug only in that pull request. It has nothing to do with eval_elbo and only comes up when max_iters is less than warmup_iterations.

@syclik syclik modified the milestone: v2.9.0 Dec 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants