GithubHelp home page GithubHelp logo

edisonqkj / road-network-classification Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ualsg/road-network-classification

0.0 0.0 0.0 22.15 MB

License: MIT License

Python 29.14% Jupyter Notebook 70.86%

road-network-classification's Introduction

Classification of Urban Morphology with Deep Learning: Application on Urban Vitality

Graphical Abstract

This repository is the official implementation of Classification of Urban Morphology with Deep Learning: Application on Urban Vitality. It includes the major codes (written in Python) involved in the paper. We also offer some tractable tutorials in Notebook to show how to use our two modules, CRHD generator and Morphoindex generator. CRHD generator can automatically produce Colored Road Hierarchy Diagram (CRHD) for a given urban area. Morphoindex generator can automatically generate both traditional morphological indices based on built environment Shapefiles and road network class probabilities based on our road network classification model.

Requirements

To use CRHD generator, you need to install the requirements:

pip install osmnx
pip install geopandas
pip install matplotlib

To use Morphoindex generator, you need to install the additional requirements:

pip install tensorflow
pip install keras
pip install cv2
pip install numpy

If you want to use our Morphoindex generator to calculate road network class probabilities, you should also download config.py, MODEL.py and Build_model.py togehther with morphoindex_generator.py, and put them in the same filepath. Also, make sure you have downloaded our pretrained model which you can find below.

Tutorials

To let you quickly understand how to use our tools, we prepared some easy tutorials for you to have a glance:

CRHD generator tutorial

Morphoindex generator tutorial

Pre-trained Model

You can download our pretrained models here:

Results

Our model achieves the following performance on the testing set:

Confusion matrix and ROC curves:

image

Paper

A paper about the work is available.

If you use this work in a scientific context, please cite this article.

Chen W, Wu AN, Biljecki F (2021): Classification of Urban Morphology with Deep Learning: Application on Urban Vitality. Computers, Environment and Urban Systems 90: 101706.

@article{2021_ceus_dl_morphology,
  author = {Wangyang Chen and Abraham Noah Wu and Filip Biljecki},
  doi = {10.1016/j.compenvurbsys.2021.101706},
  journal = {Computers, Environment and Urban Systems},
  pages = {101706},
  title = {Classification of Urban Morphology with Deep Learning: Application on Urban Vitality},
  url = {https://doi.org/10.1016/j.compenvurbsys.2021.101706},
  volume = {90},
  year = 2021
}

Contact

Chen Wangyang, Urban Analytics Lab, National University of Singapore, Singapore

road-network-classification's People

Contributors

chenww1219 avatar fbiljecki 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.