Giter Club home page Giter Club logo

covid_french_daily_predictions's Introduction

Covid-19 French Daily Predictions

This project is an educational project made to discover p5.js and tensorflow.js environment.

The project contains two main pages :

  • /train.html : Train neural network using prepared dataset. Tensorflow-vis allows to follow neural network loss per batch and per epoch.
  • /map.html : Get lastest daily propagation data, use trained model to predict for the next and display probabilities on map.

Notes

  • The dataset file (sampled_covid_dataset) has been created with scripts/get_dataset.py. This script get historical data from API (on 120 days) and construct a dataset containing the 14th previous hospitalizations values and the direction of the next step (1 or -1). The dataset needed some resampling because it was largely imbalanced using only 120 days.
  • The neural network is equivalent to a simple Logistic Regression using 14 variables, with Gradient Descent Optimization.
  • The implemented algorithm accuracy is near random.

To-do

  • Get larger dataset.
  • Use LSTM cells / Conv-LSTM architecture to detect long term patterns
  • Store propagation data in database
  • Use train / test sets for training and store model metrics for optimization
  • Display only France map and not all world.
  • Use different data sources (population movements, temperature, news feeds...)
  • Handle Covid French API no-cors
  • Change starting day at 20:00 pm for API calls

covid_french_daily_predictions's People

Contributors

lheuveline avatar

Watchers

James Cloos avatar  avatar

Forkers

salomemalek

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.