-
Notifications
You must be signed in to change notification settings - Fork 6
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
Formally addresses implementing the observed hospitalizations module #39
Conversation
* Create typos.yaml * Does this make it run on the whole repo? * remove trailing whitespace * Delete .github/workflows/typos.yaml trying to use typos in pre-commit instead * Update .pre-commit-config.yaml add typos to pre-commit * fixed typos
* Porting to quarto and adding a makefile entry to render them * Now it should be easier to deal with pre-commit under docs (only skipping cache) * Forgot to remove the pyrenew_demo notebook * Update model/Makefile * Fixing typos * Removes progress bar - adds doc/ figures - sets jupyter as kernel * Update model/docs/getting-started.qmd Co-authored-by: Dylan H. Morris <[email protected]> --------- Co-authored-by: Dylan H. Morris <[email protected]>
* Update description of discrete delay distributions * remove double desciption * minor eq fix * Update equations.md * update equations.md contents * Update equations.md * fix contents
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.
Some comments @gvegayon
Co-authored-by: Dylan H. Morris <[email protected]>
OK, @dylanhmorris. I've included the discussed changes. More improvements will be addressed/discussed during the next sprint! |
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.
High-level comment: we need to standardize language on "Hospital admissions" versus "Hospitalizations". I prefer the former ("Hospital admissions"), because there's less chance of confusion between incidence and prevalence.
Yes, I think it is worthwhile having a single issue to standardize language across the package. And have a document to summarize all. |
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.
Closely reviewed some files and skimmed those remaining. Generally speaking, the changes look fit for merge. The newest changes (regarding modified titles) look good as well.
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.
A few final tweaks needed.
Co-authored-by: Dylan H. Morris <[email protected]>
Co-authored-by: Dylan H. Morris <[email protected]>
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.
Still needs this: #39 (comment)
Also: the deploy
step of the Sphinx build workflow should only run on main
, otherwise we'll get failures like the one we have here. Update: will be addressed when #62 is merged.
Missed one thing that still needs changing
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.
All suggestions have been addressed. This is a bit of a bottle neck for other issues, so I'll go ahead and merge it. Thanks for your input, @dylanhmorris!
This PR contributes to the support of the hospital admissions signal. It includes the following:
process.DeterministicProcess
andobservation.DeterministicObs
to the corresponding modules. This can be used to wrap fixed quantities when needed.latent.HospitalAdmisions
latent class to treat IHR, weekday effect, and p hosp asRandomVariable
. Again, with theDeterministicObs
these can be passed as fixed quantities (or inferred).equations.md
file, mostly pointing to the wastewater model.getting-started.qmd
documentation to clarify.latent.Infections
now receives aRandomVariable
for the generation interval. Before it was a fixed array.model.Hospitalizations
assessing that the new bits that can either do inference or reuse some of the new components (e.g., generation weekday effect).