Skip to content

Markov process model of an epidemic on a social network

Notifications You must be signed in to change notification settings

sauxpa/markov_epidemic

Repository files navigation

markov_epidemic

Markov stochastic models (SIS, SIR, SEIR...) to describe the evolution of epidemics on a network of connected individuals.

This repo contains standalone code for simulating epidemics and study the influence of the underlying graph and points to some theoretical results regarding the expected lifetime of an epidemic as a function of its infection/recovery rates and the network topology (in particular its adjacency spectrum).

Enjoy while you stay indoors helping us reduce our spectral radius :)

To install : clone repo and pip install -e markov_epidemic/ (or see https://pypi.org/project/markov-epidemic/)

Also check out the Bokeh app to play with different networks and epidemic models dynamically:

To run the app : run bokeh serve --show markov_epidemic_app/

France data vs SEIR

France_SEIR

Markov models

description_1

description_2

description_3

Susceptible-Infected-Recovered (SIR)

SIR

Susceptible-Infected-Susceptible (SIS)

SIS

Susceptible-Exposed-Infected-Susceptible (SEIR)

SEIR

About

Markov process model of an epidemic on a social network

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published