Giter VIP home page Giter VIP logo

transport-network-analysis's Introduction

Transportation Network Analysis

Graph-based analysis of Milan's public transportation network


Voronoi diagram of the transport network's neighbor graph overlaid on the city map (γ=2km and ρ=5km)

Overview

This work is a graph-based analysis of a city's public transport network. It uses an average, aggregated graph to represent the different means of public transportation offered by the city, inspecting its structure, connectivity and resilience to different failure/attack strategies.

Prerequisites

  • Python 3.0 or greater for the clustering tools and notebooks
  • Python 2.7 for the demo

Installation

$ git clone https://github.com/Dodicin/transportation-network-analysis
$ cd transportation-network-analysis
$ pip install -r requirements.txt

Structure

The project is structured in four main components:

  • Database container containing the raw GTFS data
    • The CSV to GML conversion of the data (with some processing)
  • The graph processing notebook
  • The attacks processing notebook
  • A visualization demo

Accessing the container

$ cd container
# Downloads the dataset
$ python init_data.py
# Launch DB
$ docker-compose up --build

Accessing notebooks

$ jupyter-notebook maps.ipynb

Accessing dash demo locally

$ python2 dash/demo.py

Authors

transport-network-analysis's People

Contributors

nhabbash avatar ricardoanibalmatamorosaragon 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.