A Comparative Framework for Peak-Hour Traffic Accident Prediction with Explainable AI and Time- Series Models

Abstract—Rush-hour traffic accidents seriously impairurban mobility, cause enormous financial and human losses,and necessitate the use of accurate prediction techniques tomake preventative measures. The conventional statisticaltechniques are often hard to represent intricate spatialvariations, and non-uniform time relationships in the actualaccident data. To solve these issues, a time-series forecastingframework is developed on a publicly available AccidentPrediction dataset on Kaggle, to predict peak-hour trafficaccidents. Data preprocessing involves cleaning, normalizingthe data, categorical encoding, exploratory analysis, andfeature engineering based on location and peak-hour features.Some of the model prediction models applied include a longshort-term memory network to model long-term temporaltrends, a multilayer perceptron with lagged inputs, SARIMAXwith exogenous variables, and a Negative Binomial generalizedlinear model. The performance of the model is measured bymean error, mean absolute error, root mean square error,mean absolute percentage error and mean absolute scalederror. The results show that LSTM model makes the bestpredictions, the lowest MAE of about 1.35 and RMSE of about1.85. Explainability is added with LIME and SHAP, and aFlask-based interface allows users to add their ownpredictions, which can enhance the accuracy and usefulness ofpredictions in urban traffic safety

Authors

Institutions

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-06-13
DOI
https://doi.org/10.5281/zenodo.20675639
Primary Topic
Traffic Prediction and Management Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A Comparative Framework for Peak-Hour Traffic Accident Prediction with Explainable AI and Time- Series Models

Mr. G.Rakesh , Mr. Sunil Doddi, Dr.Adimalla Ramarao
Zenodo (CERN European Organization for Nuclear Research)
Traffic Prediction and Management Techniques
article

A Comparative Framework for Peak-Hour Traffic Accident Prediction with Explainable AI and Time- Series Models

Mr. G.Rakesh , Mr. Sunil Doddi, Dr.Adimalla Ramarao
article en

Abstract

Abstract—Rush-hour traffic accidents seriously impairurban mobility, cause enormous financial and human losses,and necessitate the use of accurate prediction techniques tomake preventative measures. The conventional statisticaltechniques are often hard to represent intricate spatialvariations, and non-uniform time relationships in the actualaccident data. To solve these issues, a time-series forecastingframework is developed on a publicly available AccidentPrediction dataset on Kaggle, to predict peak-hour trafficaccidents. Data preprocessing involves cleaning, normalizingthe data, categorical encoding, exploratory analysis, andfeature engineering based on location and peak-hour features.Some of the model prediction models applied include a longshort-term memory network to model long-term temporaltrends, a multilayer perceptron with lagged inputs, SARIMAXwith exogenous variables, and a Negative Binomial generalizedlinear model. The performance of the model is measured bymean error, mean absolute error, root mean square error,mean absolute percentage error and mean absolute scalederror. The results show that LSTM model makes the bestpredictions, the lowest MAE of about 1.35 and RMSE of about1.85. Explainability is added with LIME and SHAP, and aFlask-based interface allows users to add their ownpredictions, which can enhance the accuracy and usefulness ofpredictions in urban traffic safety

Zenodo (CERN European Organization for Nuclear Research)
Massachusetts Institute of Technology (US)
Sustainable cities and communities
Openalex Percentile: Top 8%
Traffic Prediction and Management Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.