Add option for sampler warnings
@bgoodri is already working on this.
Since May 18, 2019.
- Dominant language
- R
- Stars
- 1.1k
- Forks
- 266
- Avg merge
- 2h 56m
- Merged PRs (30d)
- 1
Description
Summary:
New RStan runs throw_sampler_warnings after sampling. This is fine by default, but it would be useful to have an option to disable it. For models with a large number of parameters, transformed parameters or generated quantities, running throw_sampler_warnings can take couple minutes, which can be more than the actual sampling, which is annoying if running repeated simulation studies. Furthermore, the results from rhat, ess_bulk and ess_tail are not stored anywhere and in order to find out where the potential problems are these have to be recomputed, doubling the computation time for diagnostics.
Suggestion: add an option sampler_warnings with values 0, 1, 2, where 0 is no warnings, 1 is warning which don't require additional computation, and 2 for all warnings (including rhat, ess_bulk and ess_tail). Default would be 2.
RStan Version:
github develop version
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.