Prediction of Road Traffic Accident Severity based on Random Forest
Road traffic accident severity prediction is an important research direction in intelligent transportation systems. Different from studies focusing on accident causes and mechanism interpretation, this paper adopts a purely prediction-oriented paradigm. Based on UK road accident data from 2019 to 2021, a Random Forest prediction model is constructed with accident severity as the prediction target and 13 scene attributes as input features. The model achieves an overall accuracy of 79.10% on the held-out test set; iterative hyperparameter adjustment identifies a favourable configuration of 100 trees with a maximum depth of 7, and the results indicate that increasing the model complexity does not necessarily improve the accuracy. The feature importance analysis shows that the number of vehicles, the number of casualties, the speed limit, the accident time and the road type are the main inputs on which the prediction relies, and the 10-feature subset selected by a cumulative importance of 95% still maintains an accuracy of 79.01%. The per-class evaluation shows that the highly imbalanced class distribution constrains the discrimination of the rare classes: a valid AUC cannot be computed for the fatal class under the one-vs-rest evaluation framework, and the AUC of the slight class (0.36) is below 0.5. This study presents a complete and feasible pipeline from accident data to severity prediction, targeting post-hoc severity assessment of occurred accidents rather than pre-crash real-time risk forecasting; future work will introduce cross-validation for hyperparameter tuning and combine resampling and cost-sensitive learning to improve the prediction of rare classes.
Authors
- 向向 乔
- Jiali Che
- Haoqing Ren
- Tingting Sun
Institutions
- Sias University (CN)
Publication Details
- Journal
- Frontiers in Computing and Intelligent Systems
- Published
- 2026-11-29
- DOI
- https://doi.org/10.54097/ybgee727
- Primary Topic
- Traffic and Road Safety
- Type
- article
- Field-Weighted Citation Impact
- 0.00