Skip to content

About

Using Non-negative Matrix Factorization (NMF) to extract spatiotemporal patterns from urban mobility flow data, this project uncovers how human mobility behaviors respond and adapt to extreme weather events.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

Urban Mobility Flow Decomposition and Analysis under Disruptive Weather Events

This repository provides the code supporting the findings of the research article published in International Journal of Geographical Information Science (IJGIS):
"Uncovering human behavioral heterogeneity in urban mobility under the impacts of disruptive weather events".

Overview

The codebase enables the decomposition of spatiotemporal urban mobility flow matrices, visualization of mobility patterns, statistical fitting of mobility flow distributions, land use analysis, and robustness checks. These tools were used to analyze human behavioral heterogeneity in urban mobility, particularly under the influence of disruptive weather events.

File Descriptions

  • 1_NMF4L1.py
    Implements Non-negative Matrix Factorization (NMF) for decomposing spatiotemporal flow matrices. This model extracts latent patterns in urban mobility data.

  • 2_PlotDecomp.py
    Visualizes the decomposed patterns obtained from NMF, aiding interpretation of mobility components.

  • 3_TruncatedPowerLaw.py
    Performs truncated power law fitting on the flow data and visualizes the results. Useful for understanding the heavy-tailed nature of mobility flows.

  • 4_LandUse.py
    Conducts analyses leveraging land use data to interpret and contextualize mobility patterns.

  • 5_CV_robustness.py
    Performs cross-validation and robustness tests on the decomposition results, ensuring the reliability of findings.

  • utils.py
    Contains utility functions used across the analysis scripts.

Citation

If you use this code, please cite our article. Thanks!

Gong, Z., Deng, Z., Tang, J., Zhao, H., Liu, Z., & Zhao, P. (2024). Uncovering human behavioral heterogeneity in urban mobility under the impacts of disruptive weather events. International Journal of Geographical Information Science, 39(5), 951–974.

About

Using Non-negative Matrix Factorization (NMF) to extract spatiotemporal patterns from urban mobility flow data, this project uncovers how human mobility behaviors respond and adapt to extreme weather events.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages