Giter Club home page Giter Club logo

trafficsite's Introduction

trafficsite

Visualise historical, current and future traffic on a map of the Helsinki region. Employ multi-output Gaussian process regression to make reliable predictions regardless of missing data.

Data

The website uses "LAM" station data from the Finnish Transport Agency. Data is updated every 5 minutes. Please consult https://github.com/finnishtransportagency/digitraffic/wiki

Dependencies

The website runs on Django and Google Maps API. Scheduled data fetches and model training is implemented with Celery and Redis. The Gaussian process regression model for predicting traffic volumes requires GPy. In addition, one must install

xmltodict
urllib2
pandas
django_pandas
numpy

An example of the model

Multi-output Gaussian process regression seems to model the data relatively well. The model is excellent at adopting to situations where data is missing for some stations because the model can learn correlations between nearby stations. Below, I have simulated a missing data situation with the blue line being the mean prediction and the light blue area the confidence interval Example If the figure is not rendered, see example.png or run example_2d.py.

Todo

Optimize user's route back home using current traffic information and predictions of possible traffic jams.

trafficsite's People

Contributors

tuomasr avatar

Stargazers

 avatar

Watchers

 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.