An open API service indexing awesome lists of open source software.

https://github.com/fabriziomusacchio/sir_model

This repository contains the code for the blog post on The SIR model: A mathematical approach to epidemic dynamics. For further details, please refer to this post.
https://github.com/fabriziomusacchio/sir_model

python simulation sir-model

Last synced: about 1 month ago
JSON representation

This repository contains the code for the blog post on The SIR model: A mathematical approach to epidemic dynamics. For further details, please refer to this post.

Awesome Lists containing this project

README

          

# The SIR Model

This repository contains the code for the blog posts on [The SIR model: A mathematical approach to epidemic dynamics](https://www.fabriziomusacchio.com/blog/2020-12-11-sir_model/) and [Interactive COVID-19 data exploration with Jupyter notebooks](https://www.fabriziomusacchio.com/blog/2020-12-15-covid19_interactive_plot/). For further details, please refer to these posts.

For reproducibility:

```powershell
conda create -n sir_model_covid19 -y python=3.9
conda activate sir_model_covid19
conda install -y mamba
mamba install -y pandas matplotlib numpy scipy scikit-learn ipykernel notebook ipympl mplcursors
```

## Acknowledgement
I acknowledge that the main code is based on this [blog post](https://numbersandshapes.net/posts/fitting_sir_to_data_in_python/) and this [documentation page](https://scientific-python.readthedocs.io/en/latest/notebooks_rst/3_Ordinary_Differential_Equations/02_Examples/Epidemic_model_SIR.html). I have made some modifications to the code to make it more readable and understandable.