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

Inferer likelihood split #235

Merged
merged 6 commits into from
Aug 27, 2024
Merged

Inferer likelihood split #235

merged 6 commits into from
Aug 27, 2024

Conversation

arik-shurygin
Copy link
Collaborator

Splits up likelihood into run_simulation() and _get_predictions and added a _solve_runner function to abstract_parameters so that the StaticValueParameters can use it in a similar way as the MechanisticInferer can.

Realized that the StaticValueParameters does still need to exist, since it must define an __init__ function

CLOSES #222

kokbent
kokbent previously approved these changes Aug 23, 2024
Copy link
Collaborator

@kokbent kokbent left a comment

Choose a reason for hiding this comment

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

Looks good

Copy link
Collaborator

@kokbent kokbent left a comment

Choose a reason for hiding this comment

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

Gosh there's no emoji for rubber stamp 😔

@arik-shurygin arik-shurygin merged commit 6b7dc11 into main Aug 27, 2024
2 checks passed
@arik-shurygin arik-shurygin deleted the inferer-likelihood-split branch August 27, 2024 16:18
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.

Split logic within mechanistic_inferer.likelihood() into get_hospitalizations and advance_inference_algo
2 participants