Code Monkey home page Code Monkey logo

traffic-flow-esimatior's Introduction

Thesis Project: Data-Driven Traffic Prediction

As a part of TENS-Project with RISE: http://www.tens-project.info/

Goal

The goal of the project is to provide a data-driven approach based on machine learning methods to predict/estimate the traffic flow on highway E4 in Stockholm using data extracted from different sensor sources, e.g., mobile data (INRIX) gathered form probe vehicles and traditional traffic data (MCS) from stationary radar sensors installed on highways.

Data Sources

  1. INRIX (probe-based enabled traffic control): https://inrix.com/
  2. Motorway Control System (MCS): Data collected by Stockholm's city with radar sensors installed in road sections.

Steps

  1. Extract traffic data from the sensor's database and preprocess the datasets, e.g., data cleaning, data-type converting, unit transferring.
  2. Perform explorative analyses of mobile and stationary datasets.
  3. Join different sensors' datasets according to data rows' timestamp.
  4. Use feature engineering to create new features, e.g., temporal segmentation, based on the datasets' original features.
  5. Implement and evaluate different methods, e.g., neural network or decision tree, for predicting traffic flow based on information provided by traffic sensors, e.g., vehicles' speed and travel time.
  6. Select the best method, i.e., neural network, as the final predictor and deploy the predictor as a web API service on Google Cloud AI Platform.
  7. (Build the pipeline to automate the building of prediction models from raw traffic data gathered from different road segments in the traffic network.)

How to use

  1. Copy source data files in the Data directory to any Google Drive's directory.
  2. Download and open the "traffic_flow_estimation.ipynb" in the src directory in Google Colab.
  3. Mount the directory with source data as the working directory in "traffic_flow_estimation.ipynb"
  4. Run the rest of scripts in traffic_flow_estimation.ipynb to build the traffic flow estimation model and generate the estimation results.

traffic-flow-esimatior's People

Contributors

plhsu19 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.