jk13o3lll / coronavirus-sir

Small project for using coronavirus epidemic data and SIR model to simluate.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

coronavirus-sir

Small project for using coronavirus epidemic data and SIR model to simluate.

SIR model

Wiki: https://en.wikipedia.org/wiki/Compartmental_models_in_epidemiology

SIR model is simulated by ode45. We test several beta and gamma within a specific range.

This code mainly based on NumPy, SciPy, Pandas, and Matplotlib.

Dataset

疫情數據由澎派新聞美數課整理提供: https://github.com/839Studio/Novel-Coronavirus-Updates

Results

The infected numbers start to drop until mosts of population are infected.

preprocessed_data preprocessed_data_plot beta_0_3_gamma_0_3 beta_0_7_gamma_0_4 beta_0_8_gamma_0_3 beta_0_8_gamma_0_3_fullscale

Contact

ccwang.jack@gmail.com

About

Small project for using coronavirus epidemic data and SIR model to simluate.


Languages

Language:Python 100.0%