-
Notifications
You must be signed in to change notification settings - Fork 27
Add SEIR epidemic simulator #941
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
Conversation
|
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
|
Thanks for moving the simulator code! Having thought about it, I think it would be better if we created a new notebook for the work you've done here and leave the Bayesian calibration tutorial as it is in the documentation for now. We can then update your notebook with the model comparison code and once that all works end-to-end we can release it as a tutorial in the docs. You can even put the notebook in the same directory, it won't appear in the docs until we add it to the index. |
radka-j
left a comment
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.
Thank again for implementing this!
We have a pre-commit hook set up as part of the continuous integration which checks the code quality. All the comments here should resolve the pre-commit failing right now.
Co-authored-by: Radka Jersakova <[email protected]>
Co-authored-by: Radka Jersakova <[email protected]>
Co-authored-by: Radka Jersakova <[email protected]>
Co-authored-by: Radka Jersakova <[email protected]>
Co-authored-by: Radka Jersakova <[email protected]>
Co-authored-by: Radka Jersakova <[email protected]>
Co-authored-by: Radka Jersakova <[email protected]>
|
Thanks @SyedHaider2084, this all looks great!! I just pushed some minor formatting fixes (e.g., removing empty code cells). |
|
@all-contributors please add @SyedHaider2084 for code |
|
I've put up a pull request to add @SyedHaider2084! 🎉 |
This PR extends docs/tutorials/tasks/03_bayes_calibration.ipynb by:
Adding a SEIR epidemic simulator with parameters (β, γ, σ)
2.enerating synthetic observations from SEIR
3.Running Bayesian calibration with:
i. Pyro on the full simulator
ii. AutoEmulate’s GaussianProcessRBF emulator
Comparing simulator vs emulator posterior samples and trajectories