This repository contains the code for the blog posts on The SIR model: A mathematical approach to epidemic dynamics and Interactive COVID-19 data exploration with Jupyter notebooks. For further details, please refer to these posts.
For reproducibility:
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
I acknowledge that the main code is based on this blog post and this documentation page. I have made some modifications to the code to make it more readable and understandable.