Skip to content
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

#277 refactor model #285

Closed
wants to merge 3 commits into from
Closed

#277 refactor model #285

wants to merge 3 commits into from

Conversation

PhilMiller
Copy link
Collaborator

@PhilMiller PhilMiller commented Mar 27, 2020

Make new infections explicit, and calculate downstream based on the recorded values.

Fixes #277

@PhilMiller PhilMiller changed the title 277 refactor model #277 refactor model Mar 27, 2020
@@ -92,39 +91,45 @@ def __init__(self, p: Parameters) -> SimSirModel:
self.doubling_time_t = doubling_time_t
self.raw_df = raw_df
self.dispositions_df = dispositions_df
self.admits_df = admits_df
self.admits_df = dispositions_df
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this needs to be explained to me. why self.admits_df = dispositions_df ?

@PhilMiller
Copy link
Collaborator Author

The model has moved beyond this, no point in keeping it lying around.

@PhilMiller PhilMiller closed this Apr 3, 2020
@BrianThomasRoss BrianThomasRoss deleted the 277-refactor-model branch May 12, 2020 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

["model"] Refactor calculations to avoid repeated methodological questions
2 participants