Skip to content

mehradans/py0

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Compartmental Epidomiology Modeling

tests docs

py0 is a python implementation of compartmental disease modeling.

Installation

To install py0:

pip install py0@git+https://github.com/ur-whitelab/py0.git

Maximum Entropy Biasing

py0 can be coupled with MaxEnt to modify epidomiology parameters to find the best fit to disease trajectory given a set of observations and also infer the true origin of the outbreak (patient-zero). These observations are time-averaged fractional values that can come from different compartments (S, E, A, I and R) of a known synthetic reference trajectory or real pandemic spread data.

Creating an Ensemble of Trajectories

We try to explore the disease trajectory space over a distribution of epidomiology parameters, while changing the infection origin to different nodes (counties).

MaxEnt Fit

MaxEnt Installation

The package uses Keras (Tensorflow). To install:

pip install maxent@git+https://github.com/ur-whitelab/maxent.git

License

License: GPL v2

Authors

py0 is developed by Mehrad Ansari, Rainier Barrett and Andrew White.

Packages

No packages published

Languages

  • Jupyter Notebook 99.7%
  • Python 0.3%