FR Return deterministics in AutoGuide.quantiles() by default
See original GitHub issueCurrently, nodes that are wrapped in determinstic
are not traced, and obtaining inferences from these nodes must be run through a Predictive
object. When a user deliberately creates these deterministics they are signalling that their values are of central interest, so it would be convenient to provide them immediately and not force users to execute additional steps.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
FR Streaming MCMC interface for big models #2843 - GitHub
This issue proposes a streaming architecture for MCMC on models with ... FR Return deterministics in AutoGuide.quantiles() by default #2848.
Read more >Source code for numpyro.infer.autoguide
:return: A dict mapping sample site name to an array of quantile values. ... _init_locs[name] with ExitStack() as stack: for frame in ...
Read more >Pyro Documentation - Read the Docs
Returns a callable which returns a sampled module ... Vectorized plate is similar to torch.arange() in that it yields an array of indices...
Read more >Quantile() function in R - A brief guide | DigitalOcean
In the below sections, let's see how this quantile() function ... some values and the quantile function will return the percentiles for the ......
Read more >quantile | ClickHouse Docs
Note that for an empty numeric sequence, quantile will return NaN, but its quantile* variants will return either NaN or a default value...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I will try and put together a toy example when I get a chance, but I am using the
quantiles
method onAutoDiagonalNormal
in my particular case. This does not include any deterministics.Thanks @fonnesbeck, that makes sense. No need for an example.
I think we can support deterministic sites via a new
.predict_quantiles()
method.Note there would be a couple difficulties inspecting deterministic sites by default:
For these reasons I think this issue deserves a new separate interface.