Skip to content

This repository contains code and resources for the paper "Imputing Time Series Pedestrian Volume Data with Consideration of Epidemiological-Environmental (EpiEnv) Variables". It includes methodologies for data imputation in time-series pedestrian volume data considering EpiEnv factors.

License

Notifications You must be signed in to change notification settings

pozapas/PedImpute

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DOI

Description

This project investigates the quality of pedestrian volume data for safety and urban planning purposes. Using statistical, machine learning, and deep learning methods, we detect anomalies in pedestrian activity data and impute missing values. We analyze daily time series data of pedestrian activity at traffic signals in the state of Utah from 2018 to 2022, incorporating Epidemiological-Environmental (EpiEnv) variables including average temperature, precipitation, air quality index, and COVID-19 data. Our findings suggest the superiority of the DBSCAN method for anomaly detection and the effectiveness of Random Forest, LSTM, and GRU techniques in imputing various categories of missing value patterns. The results show the significant effect of EpiEnv variables on the process of anomaly detection and imputation across all traffic signals.

Methodology

Methodology

Installation

This project and PedAnomaly.ipynb notebook require Python and the following Python packages installed:

  • pandas
  • numpy
  • statsmodels
  • matplotlib
  • plotly
  • scipy
  • ruptures
  • scikit-learn
  • pyod
  • datetime
  • torch
  • darts

To install the Python packages, navigate to the local directory where you have cloned this repository and run the following command:

pip install -r requirements.txt

You need to have a requirements.txt file in your repository for this command to work. To create one, you can use the pip freeze command, which outputs all of the packages in the current environment. You can redirect this output to a file using the following command:

pip freeze > requirements.txt

Then you can manually edit requirements.txt to only include the necessary packages.

About

This repository contains code and resources for the paper "Imputing Time Series Pedestrian Volume Data with Consideration of Epidemiological-Environmental (EpiEnv) Variables". It includes methodologies for data imputation in time-series pedestrian volume data considering EpiEnv factors.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published