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

Show progress bar for long-running log-likelihood evaluations #1224

Open
michaelosthege opened this issue Jun 5, 2020 · 0 comments
Open

Comments

@michaelosthege
Copy link
Contributor

With most recent ArviZ and PyMC3, the log-likelihoods are automatically computed when return_inferencedata=True.

I just wondered why the notebook cell ran the sampling for 2 hours and then took another hour or so to return.. Turns out I forgot to pass idata_kwargs=dict(log_likelihood=False), causing from_pymc3 to re-evaluate my model on all posterior samples, which for an ODE model is not that fast.

Thoughts on implementation

For long-running log-likelihood evaluations it would be nice to show a progress bar. It would help the user to diagnose what's taking so long.

There may be alternatives to obtain log-likelihoods from sampler stats?

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

1 participant