Repository navigation
Let log_rt_time_0_rv give each subpopulation its own starting Rt - #907
Conversation
|
This PR should be reviewed and merged only after #906 has been merged. |
|
Thank you for your contribution @dylanhmorris 🚀! Your github-pages is ready for download 👉 here 👈! |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #907 +/- ##
=======================================
Coverage 98.84% 98.84%
=======================================
Files 58 58
Lines 2249 2258 +9
=======================================
+ Hits 2223 2232 +9
Misses 26 26
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
739a742 to
8158533
Compare
|
@cdc-mitzimorris. I believe this one is next. Can you resolve conflicts and request review? |
6a3c058 to
422b3eb
Compare
422b3eb to
3a47e17
Compare
|
@dylanhmorris - ready for review. |
dylanhmorris
left a comment
There was a problem hiding this comment.
Thanks @cdc-mitzimorris. A few changes and suggestions.
Co-authored-by: Dylan H. Morris <dylanhmorris@users.noreply.github.com>
Co-authored-by: Dylan H. Morris <dylanhmorris@users.noreply.github.com>
for more information, see https://pre-commit.ci
…v/PyRenew into mem_905_subpopulation_starting_rt
|
@dylanhmorris changes made - more unit tests added. |
Co-authored-by: Dylan H. Morris <dylanhmorris@users.noreply.github.com>
dylanhmorris
left a comment
There was a problem hiding this comment.
Thanks @cdc-mitzimorris!
Allow the latent subpopulation process to have a per-subpopulation initial value
log_rt_time_0_rv.The essential code changes are:
_split_initial_log_rtafter_validate_and_prepare_I0sample:_split_initial_log_rtcall replacesinitial_log_rt = self.log_rt_time_0_rv();initial_value=baseline_startgoes to the baseline process;initial_value=deviations_startgoes to the deviation process._validate_and_prepare_I0__init__: thelog_rt_time_0_rvparameter textsample: the Raises entry forlog_rt_time_0_rvandI0_rv.This PR adds corresponding unit tests and updates to the latent subpopulations infection process tutorial.