pyro
pyro copied to clipboard
Support inference with RenyiELBO for local latent variable models
Addresses #3104
TODO
- [x] Add Local latent variable model test case
- [x] Correct RenyiELBO
logsumexp
reduction dim for LLV model
Should I ignore notebooks when using black? When running black[jupyter]==22.6.0
, I get 48 files changed.
Yes could you please ignore notebooks? The easiest way to do so is to run black through make format
. Alternatively we could set up a pyproject.toml file with the black exclusion list
Yes could you please ignore notebooks?
Sure, no problem.
The easiest way to do so is to run black through
make format
. Alternatively we could set up a pyproject.toml file with the black exclusion list.
Looking at the format target in the Makefile, it seems it's only black that needs a section in the TOML file. I'll configure a pyproject.toml and update the Makefile.
@martinjankowiak, can you suggest a plating structure where we need to compute the dependence (i.e., all_dims - sum_dims != num_particles_vectorized
)? I've been playing around with the current implementation but cannot come up with one.
@martinjankowiak, sorry for the late reply.
why doesn't this logic sum out the data plate dimension?
From my understanding, this corresponds to including the data plate dimension in sum_dims
, or have I misunderstood something?