Plate-Based Primitive for Hierarchical Data#173
Conversation
Previously, the init strategy was ignored for NumPyro-based samplers
This allows for vmapping without numpyro side effects
mattlevine22
left a comment
There was a problem hiding this comment.
One small check on the pyproject.
Other (bigger) ask is to post on slack the results from test_science especially as you've added new science tests
|
I ran all the new tests and had Codex generate a small report. I left it on the Slack, but in the spirit of open development, it can also be found here: https://drive.google.com/file/d/1NVFHmKwQMHz-N8g3lWdQjnm5nCKXzCOE/view?usp=sharing |
|
All the plots for the science tests look good. I think we should add science test coverage for Can we add 2 more tests?
|
|
Hmmm, I think it is worth cooking up an ODE example that makes it more clear that it is "working". From the current plot + eyeball norm, I'm not seeing a significant adaption towards the truth in each trajectory....this could just be challenging inference OR it could be that data/information is incorrectly routed. |
mattlevine22
left a comment
There was a problem hiding this comment.
awesome work, thanks @DanWaxman! We'll now have support for hierarchical and multi-trajectory inference!



Add hierarchical trajectory support across sampling, filtering, and simulation, allowing for multiple-trajectory and mixed effect modelling via a new
plateprimitive.Example:
Nested plates like
groups -> trajectoriesnow work with plated parameters and inferenceHigh-level changes
dsx.platebm_diminference in plated continuous-time modelsTesting
bm_diminference