GithubHelp home page GithubHelp logo

bhroben / behaviour-adaption-to-epidemics Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 4.56 MB

This project was developed during the course Life Data and Epidemiology

Jupyter Notebook 99.06% Python 0.94%
complex-networks epidemiology

behaviour-adaption-to-epidemics's Introduction

Behaviour adaption to epidemics

overview

In this project we develop epidemiological models on complex networks to explore how behavioral adaption to epidemic can alter the epidemic itself. This project was developed for the course Life data and epidemiology at uniPD.

Project Components

  1. SIS with risk perception

We assume the perception of the risk of being infected depends on the fraction of neighbors that are ill and study this behaviour in the mean-field approximation and by numerical simulations for regular, random and scale-free networks. For more details see the notebook SIS_fear_Bagnoli and the reference Bagnoli et al. https://doi.org/10.1103/PhysRevE.76.061904

Comparison Image

Critical value Jc of the precaution level as a function of the base infectivity




2. Two layer model: SEIRD for the epidemic in the physical net and spreading of Fear in the social net

We separate physical layer of contact with social layer by modelling two different dynamics. The first layer on which a classic SEIRD epidemic can spread and a second layer where we link fear with the number of diseased/death neighbors of the node simulating the spreading of the fear in an individual. In this way the infectivity is not more a global parameter but depends on the node itself and its fear level. Check the implementation in the SEIRD_fear module and the plots in SIR_SEIRD_fear_plots notebook.

Comparison Image

Top layer is the fear network and lower layer is the epidemic SEIRD layer.

Comparison Image

Stochastic simulation of the dynamics, the fear level increases as the fraction of infected/deaths neighbours increases thus lowering the infectivity.




3. SIS on adaptive network

We study the epidemic dynamics on an adaptive network, where the susceptibles are able to avoid contact with infected by rewiring their network connections. This dynamic leads to oscillations and hysteresis. For more details see the notebook Adaptive_SIS.

Comparison Image

Simulation of SIS that leads to the bistability and hysteresis loop.




4. SIR on adaptive network

We further study the effect of the rewiring on $R_{0}$, time to extinction and maximum number of infected nodes. For more details see the notebook SIR_SEIRD_fear_plots and the module SIR_adaptive.

Comparison Image

For lower values of the infectivity the rewiring helps the epidemic to slow down but when we increase the speed of the infectivity the rewiring has the opposite effect.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.