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

Port poutine.collapse to NumPyro #756

Closed
fritzo opened this issue Sep 25, 2020 · 1 comment · Fixed by #773
Closed

Port poutine.collapse to NumPyro #756

fritzo opened this issue Sep 25, 2020 · 1 comment · Fixed by #773
Assignees
Labels
enhancement New feature or request

Comments

@fritzo
Copy link
Member

fritzo commented Sep 25, 2020

Pyro introduced a poutine.collapse() effect in pyro-ppl/pyro#2620, allowing exact conjugate inference over blocks of code, similar to @neerajprad's pyro.contrib.conjugate.

@fehiepsi I think this would be an edifying intro to using Funsor for general pattern matching. Once poutine.collapse() is implemented in NumPyro, we can add new conjugacy patterns to Funsor. Currently I believe only Beta-Binomial and Gaussian-Gaussian are implemented. I think some good starter Funsor tasks would be implementing patterns for say Beta-Bernoulli and then patterns for plates, as in Beta-plated(Binomial).

cc @eb8680

@fritzo fritzo added the enhancement New feature or request label Sep 25, 2020
@fritzo fritzo changed the title FR port poutine.collapse to numpyro Port poutine.collapse to NumPyro Sep 25, 2020
@fehiepsi
Copy link
Member

Thanks, @fritzo! Let me assign this to myself. And will do some conjugate stuffs after this.

@fehiepsi fehiepsi self-assigned this Sep 26, 2020
@fehiepsi fehiepsi mentioned this issue Oct 3, 2020
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants