GithubHelp home page GithubHelp logo

optimallockdown / mobilityseird-england Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 0.0 38.48 MB

Home Page: https://optimallockdown.github.io/Covid19inEngland/

Jupyter Notebook 65.07% Python 34.93%
covid-19 abc optimal-control england epidemics

mobilityseird-england's Introduction

Code for the paper "Using mobility data in the design of optimal lockdown strategies for the COVID-19 pandemic"

We report here code, data and results for England; inference is done with data until 23rd May and 31st August.

The preprint which focuses on England can be found at:

https://arxiv.org/pdf/2006.16059.pdf

Please also check the companion website, where updates on subsequent research will be described:

https://optimallockdown.github.io/Covid19inEngland/

Content

The content of this repository is as follows:

  • data contains the data used in the paper for model fit and optimal control. It contains both the raw data and the one formatted for using our code.
  • plot_routines contains some scripts to produce plots in the paper.
  • results contains the .jrl files used to store the inference results in the ABCpy library, together with some figures.
  • src contains source code, with model definition and various utilities functions.
  • Datasets.ipynb is a jupyter notebook exemplifying the data sources and the data processing operations before fitting the model, for inference with observed data until 23rd May.
  • Dataset_England.py is instead a Python script used to format data for inference with observations until 31st August.
  • inference_SEI4RD_england_data.py is the script performing model fit; can be used with MPI parallelization by uncommenting one line.
  • optimal_control_posterior_mean.py is the script performing optimal control under uncertainty, together with the definition of several functions to perform optimal control in specific cases.

Requirements

The following should install the required packages:

pip3 install -r requirements.txt

According to your python3 installation, you may require pip instead of pip3.

mobilityseird-england's People

Contributors

lorypack avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

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.