Home

Awesome

Deep Spatio-Temporal Graph Convolutional Network for Traffic Accident Prediction (DSTGCN)

DSTGCN is a graph-based neural network that predicts the risk of traffic accidents in the future.

Please refer to our Neurocomputing 2021 paper Deep Spatio-Temporal Graph Convolutional Network for Traffic Accident Prediction for more details.

Project Structure

The descriptions of principal files in this project are introduced as follows:

Format of the processed data:

"longitude""latitude""startTime""endTime"
accident longitudeaccident latitudeaccident start timeaccident end time
"longitude""latitude""poi_type"
poi longitudepoi latitudepoi function type
"temp""dewPt""pressure""wspd"...
temperaturedew pointpressurewind speedetc.
"XCoord""YCoord""LENGTH""NUM_NODE""spatial_features"
road segment longituderoad segment latituderoad segment lengthpoints that road segment containsroad segment poi distribution (a list of each poi type numbers)

Parameter Settings

Please refer to our paper for more details of parameter settings. Hyperparameters could be found in utils/config.json and you can adjust them when running the model.

How to use

Principal environmental dependencies

Citation

Please consider citing the following paper when using our data or code.

@article{DBLP:journals/ijon/YuDHSHL21,
  author    = {Le Yu and
               Bowen Du and
               Xiao Hu and
               Leilei Sun and
               Liangzhe Han and
               Weifeng Lv},
  title     = {Deep spatio-temporal graph convolutional network for traffic accident
               prediction},
  journal   = {Neurocomputing},
  volume    = {423},
  pages     = {135--147},
  year      = {2021}
}