Skip to content

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

Notifications You must be signed in to change notification settings

jk13o3lll/coronavirus-sir

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

[email protected]

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages