-
Notifications
You must be signed in to change notification settings - Fork 4
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
Rt with infection feedback #123
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #123 +/- ##
==========================================
+ Coverage 92.06% 93.90% +1.84%
==========================================
Files 34 36 +2
Lines 643 706 +63
==========================================
+ Hits 592 663 +71
+ Misses 51 43 -8
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
…tions with zero-strength feedback, and returns the R(t) timeseries correctly
… implementation. This will break other tests but is a worthwhile breaking change
@dylanhmorris, 219e710 and 6db0fb7 fixed the failing tests. I had to introduce three changes:
This introduced a couple of other changes:
versus the PR Because of this change, I had to update the reference figure generated during I think we are good to go! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One very minor change requested. I made the change myself.
@dylanhmorris Needs your final review. |
@damonbayer made the requested changes
Update: needs conflicts resolved @damonbayer. Can you do and request re-review from me? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
commit 879c665 Author: George G. Vega Yon <[email protected]> Date: Wed Jun 5 11:29:09 2024 -0600 Weekly Rt with autoregressive difference (#131) Co-authored-by: Damon Bayer <[email protected]> Co-authored-by: Dylan H. Morris <[email protected]> commit f0a35ee Author: George G. Vega Yon <[email protected]> Date: Wed Jun 5 10:32:48 2024 -0600 Renaming datautils to arrayutils (#154) commit 394a03d Author: Damon Bayer <[email protected]> Date: Tue Jun 4 16:49:10 2024 -0500 Record deterministic `RandomVariables` by default (#148) commit a2c1307 Author: Damon Bayer <[email protected]> Date: Tue Jun 4 16:02:07 2024 -0500 read date columns as dates (#153) commit f11ce38 Author: George G. Vega Yon <[email protected]> Date: Mon Jun 3 16:20:08 2024 -0600 Rt with infection feedback (#123) --------- Co-authored-by: Dylan H. Morris <[email protected]> Co-authored-by: Dylan H. Morris <[email protected]> Co-authored-by: Damon Bayer <[email protected]> commit f9c057a Author: George G. Vega Yon <[email protected]> Date: Fri May 31 13:18:58 2024 -0600 Refactor transformation module to wrap `numpyro.distributions.transforms` (#140) Co-authored-by: Dylan H. Morris <[email protected]>
This PR:
InfectionsWithFeedback
latent module.pyrenew.datautils
for common data management operations.extending_pyrenew.qmd
sample_infections_with_feedback
function.InfectionsWithFeedback
andpyrenew.datautils
.Extra:
jax.numpy.atleast_1d()
forDeterministicRV.sample()
(so scalars are coerced into 1d arrays)jax.numpy.atleast_1d()
forDistributionalRV.sample()
(so scalars are coerced into 1d arrays)