CDCgov / CDCgov/PyRenew

Tutorial / Model Demonstrating limitations of `scan` with `numpyro.plate`

Open
#444 1 comment 4 reactions 2 assignees View on GitHub

@sbidari is already working on this.

Since Sep 13, 2024.

tutorial
Dominant language
Python
Stars
29
Forks
9
Avg merge
9d 9h
Merged PRs (30d)
8

Description

Our RandomVariables which use scan cannot be used in a numpyro.plate context (see https://num.pyro.ai/en/stable/primitives.html#scan). However, we can still write reasonable looking models by using numpyro.plate for non-scanning RandomVariables and inputting the results into our vectorized scanning RandomVariables. We should have a tutorial or model to demonstrate this limitation and our workaround.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.