Submitted:
16 September 2025
Posted:
16 September 2025
You are already at the latest version
Abstract
Keywords:
1. Introduction
2. Literature Review
3. Data
4. Methodology
4.1. Data Preprocessing: Handling Missing Values
4.2. Model Validation Strategy
4.3. Balancing Approach
4.4. Feature Selection
4.5. ML Models
4.5.1. Random Forest (RF)
4.5.2. Adaptive Boosting
4.5.4. Extreme Gradient Boosting
4.6. Text Mining Techniques
4.6.1. TF-IDF
- -
- Term Frequency (TF)
- -
- Inverse Document Frequency (IDF)
- -
- TF-IDF Score
4.6.2. Word2Vec
4.7. Evaluation Metrics
- -
- Precision (P)
- -
- Recall (R) (Sensitivity)
- -
- F1-score (F1)
- -
- Macro Average F1-score
- -
- Weighted (Micro) Average F1-score
- -
- Accuracy
5. Results and Discussion
6. Conclusion
References
- Khairuddin, M.Z.F.; Sankaranarayanan, S.; Hasikin, K.; Razak, N.A.A.; Omar, R. Contextualizing injury severity from occupational accident reports using an optimized deep learning prediction model. PeerJ Comput. Sci. 2024, 10, e1985. [CrossRef]
- Goldberg, D.M. Characterizing accident narratives with word embeddings: Improving accuracy, richness, and generalizability. J. Saf. Res. 2022, 80, 441–455. [CrossRef]
- Shaaban, K.; Ibrahim, M. Analysis and Identification of Contributing Factors of Traffic Crashes in New York City. Transp. Res. Procedia 2021, 55, 1696–1703. [CrossRef]
- Bhuiyan, H.; Ara, J.; Hasib, K.M.; Sourav, I.H.; Karim, F.B.; Sik-Lanyi, C.; Governatori, G.; Rakotonirainy, A.; Yasmin, S. Crash severity analysis and risk factors identification based on an alternate data source: a case study of developing country. Sci. Rep. 2022, 12, 1–22. [CrossRef]
- Zhipeng, P.; Yuan, R.; Qin, Y.; Wang, Y.; Gu, X. A comparative analysis of factors affecting injury severity in speeding-related crashes on rural and urban roads. Int. J. Crashworthiness 2024, 29, 794–805. [CrossRef]
- Qiu, B.; Fan, W.(. Mixed logit models for examining pedestrian injury severities at intersection and non-intersection locations. J. Transp. Saf. Secur. 2021, 14, 1333–1357. [CrossRef]
- Ahmed, S.; Hossain, A.; Bhuiyan, M.I.; Ray, S.K. A Comparative Study of Machine Learning Algorithms to Predict Road Accident Severity. 2021 20th International Conference on Ubiquitous Computing and Communications (IUCC/CIT/DSCI/SmartCNS). 2021; pp. 390–397.
- Jiang, Y.; Qu, X.; Zhang, W.; Guo, W.; Xu, J.; Yu, W.; Chen, Y. Analyzing Crash Severity: Human Injury Severity Prediction Method Based on Transformer Model. Vehicles 2025, 7, 5. [CrossRef]
- Li, P.; Chen, S.; Yue, L.; Xu, Y.; Noyce, D.A. Analyzing relationships between latent topics in autonomous vehicle crash narratives and crash severity using natural language processing techniques and explainable XGBoost. Accid. Anal. Prev. 2024, 203, 107605. [CrossRef]
- Shao, Y.; Shi, X.; Zhang, Y.; Shiwakoti, N.; Xu, Y.; Ye, Z. Injury severity prediction and exploration of behavior-cause relationships in automotive crashes using natural language processing and extreme gradient boosting. Eng. Appl. Artif. Intell. 2024, 133. [CrossRef]
- Mbarga, N.F.; Abubakari, A.-R.; Aminde, L.N.; Morgan, A.R. Seatbelt use and risk of major injuries sustained by vehicle occupants during motor-vehicle crashes: a systematic review and meta-analysis of cohort studies. BMC Public Heal. 2018, 18, 1413. [CrossRef]
- Mujahid, M.; Kına, E.; Rustam, F.; Villar, M.G.; Alvarado, E.S.; Diez, I.D.L.T.; Ashraf, I. Data oversampling and imbalanced datasets: an investigation of performance for machine learning and feature engineering. J. Big Data 2024, 11, 1–32. [CrossRef]
- Acuna, E., and C. Rodriguez. The treatment of missing values and its effect on classifier accuracy.In Classification, Clustering, and Data Mining Applications: Proceedings of the Meeting of the International Federation of Classification Societies (IFCS), Illinois Institute of Technology, Chicago, 15–18 July 2004, Springer, 2004. pp. 639-647.
- Imtiaz, S.A.; Shah, S.L. Treatment of missing values in process data analysis. Can. J. Chem. Eng. 2008, 86, 838–858. [CrossRef]
- Yan, Y.; Zheng, Z.; Zhang, Y.; Zhang, Y.; Yao, Y. CPS-3WS: A critical pattern supported three-way sampling method for classifying class-overlapped imbalanced data. Inf. Sci. 2024, 676. [CrossRef]
- Chawla, N.V.; Bowyer, K.W.; Hall, L.O.; Kegelmeyer, W.P. SMOTE: Synthetic Minority Over-sampling Technique. J. Artif. Intell. Res. 2002, 16, 321–357. [CrossRef]
- Sampath, P.; Elangovan, G.; Ravichandran, K.; Shanmuganathan, V.; Pasupathi, S.; Chakrabarti, T.; Chakrabarti, P.; Margala, M. Robust diabetic prediction using ensemble machine learning models with synthetic minority over-sampling technique. Sci. Rep. 2024, 14, 1–15. [CrossRef]
- Kaur, A., K. Guleria, and N. K. Trivedi. Feature selection in machine learning: Methods and comparison.In 2021 International Conference on Advance Computing and Innovative Technologies in Engineering (ICACITE), IEEE, 2021. pp. 789-795.
- Chen, J.; Tao, W.; Jing, Z.; Wang, P.; Jin, Y. Traffic accident duration prediction using multi-mode data and ensemble deep learning. Heliyon 2024, 10, e25957. [CrossRef]
- Li, Y.; Li, T.; Liu, H. Recent advances in feature selection and its applications. Knowl. Inf. Syst. 2017, 53, 551–577. [CrossRef]
- Breiman, L. Random forests. Machine learning, Vol. 45, 2001, pp. 5-32.
- Ying, C., M. Qi-Guang, L. Jia-Chen, and G. Lin. Advance and prospects of AdaBoost algorithm. Acta Automatica Sinica, Vol. 39, No. 6, 2013, pp. 745-758.
- Kavzoglu, T.; Teke, A. Predictive Performances of Ensemble Machine Learning Algorithms in Landslide Susceptibility Mapping Using Random Forest, Extreme Gradient Boosting (XGBoost) and Natural Gradient Boosting (NGBoost). Arab. J. Sci. Eng. 2022, 47, 7367–7385. [CrossRef]
- Al-Obaydy, W.N.I.; Hashim, H.A.; Najm, Y.A.; Jalal, A.A. Document classification using term frequency-inverse document frequency and K-means clustering. Indones. J. Electr. Eng. Comput. Sci. 2022, 27, 1517–1524. [CrossRef]
- Mikolov, T., K. Chen, G. Corrado, and J. Dean. Efficient estimation of word representations in vector space. arXiv preprint arXiv:1301.3781, 2013.
- Rahman, F.; Zhang, X.; Chen, M.; Shiwakoti, N. Evaluating Effect of Operating Speed on Crashes of Rural Two-Lane Highways. J. Adv. Transp. 2023, 2023, 1–13. [CrossRef]
- Rahman, F. Incorporating speed into crash modeling for rural two-lane highways. 2022.
- Zhu, S.; Wang, K.; Li, C. Crash Injury Severity Prediction Using an Ordinal Classification Machine Learning Approach. Int. J. Environ. Res. Public Heal. 2021, 18, 11564. [CrossRef]

| Feature | Category | Number | Percentage of Traffic Crash Severity (%) | |||
| Fatal | Major Injury | Minor Injury | Possible Injury | |||
| Speed Limit | 0 - 25 | 1110 | 1.09 | 6.84 | 40.27 | 51.80 |
| 30 - 50 | 10503 | 1.96 | 7.40 | 39.28 | 5136 | |
| 55 - 75 | 20727 | 4.15 | 12.42 | 38.58 | 44.85 | |
| Gender | Male | 16583 | 4.45 | 13.23 | 39.73 | 42.59 |
| Female | 15713 | 2.16 | 7.85 | 38.00 | 52.00 | |
| Age | 22 > | 7026 | 2.01 | 9.05 | 38.86 | 50.09 |
| 22 - 65 | 21507 | 3.49 | 11.24 | 39.36 | 45.91 | |
| > 65 | 3412 | 5.33 | 10.11 | 38.04 | 46.51 | |
| Alcohol | Yes | 1609 | 9.63 | 22.68 | 40.09 | 27.59 |
| No | 21196 | 2.91 | 10.10 | 39.94 | 47.05 | |
| Crash Type | Angle | 4762 | 2.33 | 6.22 | 36.92 | 54.54 |
| Backing | 66 | 1.52 | 3.03 | 39.39 | 56.06 | |
| Head on | 2634 | 8.12 | 19.13 | 35.73 | 37.02 | |
| Left turn | 1020 | 0.98 | 8.14 | 44.41 | 46.47 | |
| Rear end | 7710 | 1.14 | 4.81 | 35.67 | 58.38 | |
| Rear to rear | 137 | 0.73 | 6.57 | 38.69 | 54.01 | |
| Sideswipe-O-Dir | 1064 | 3.38 | 8.74 | 42.39 | 45.49 | |
| Sideswipe-Dir | 1732 | 0.92 | 6.12 | 40.01 | 52.94 | |
| Single vehicle | 13214 | 4.55 | 14.86 | 41.19 | 39.40 | |
| Light Condition | Dawn | 702 | 2.99 | 7.12 | 40.46 | 49.43 |
| Daylight | 21891 | 2.63 | 9.68 | 37.73 | 49.96 | |
| Dusk | 746 | 5.63 | 14.75 | 41.96 | 37.67 | |
| Dark-HWY lighted/off | 491 | 4.68 | 15.07 | 39.31 | 40.94 | |
| Dark-HWY lighted/on | 3006 | 3.06 | 9.25 | 44.64 | 43.05 | |
| Dark-HWY not lighted | 4948 | 6.24 | 14.96 | 38.74 | 40.06 | |
| Dark (unknown light) | 510 | 2.16 | 10.39 | 48.04 | 39.41 | |
| Other | 15 | 0.00 | 0.00 | 26.67 | 73.33 | |
| Unknown | 28 | 17.86 | 10.71 | 35.71 | 35.71 | |
| Airbag | On | 18342 | 3.48 | 10.39 | 39.65 | 46.48 |
| Off | 814 | 2.21 | 10.32 | 40.79 | 46.68 | |
| Not Presented | 13184 | 3.2 | 10.91 | 37.65 | 48.23 | |
| Weather | Blowing Snow | 36 | 2.78 | 2.78 | 69.44 | 25 |
| Clear | 20662 | 3.58 | 11.67 | 39.28 | 45.47 | |
| Cloudy | 6192 | 3.04 | 9.9 | 36.72 | 50.34 | |
| Fog with rain | 73 | 1.37 | 6.85 | 45.21 | 46.58 | |
| Raining | 4525 | 2.63 | 7.18 | 38.43 | 51.76 | |
| Crosswinds | 45 | 0 | 17.78 | 35.56 | 46.67 | |
| Sleet, hail | 178 | 4.49 | 8.99 | 49.44 | 37.08 | |
| Snowing | 360 | 1.94 | 5.28 | 43.06 | 49.72 | |
| Fog | 205 | 5.37 | 10.24 | 43.9 | 40.49 | |
| Smog, smoke | 7 | 0 | 28.57 | 28.57 | 42.86 | |
| Other | 55 | 7.27 | 9.09 | 52.73 | 30.91 | |
| Person Type | Driver | 22806 | 3.39 | 10.99 | 39.95 | 45.68 |
| Passenger | 8664 | 2.1 | 8.75 | 35.66 | 53.49 | |
| Pedestrian | 668 | 16.62 | 20.21 | 39.37 | 23.8 | |
| Animal-drawn/ridden | 29 | 0 | 20.69 | 41.38 | 37.93 | |
| Bicyclist | 159 | 8.18 | 13.21 | 54.09 | 24.53 | |
| Property owner | 14 | 0 | 14.29 | 57.14 | 28.57 | |
| Variable changes | Percentage (%) | Possible injury | Minor injury | Major injury | Fatal |
| R2L_Speed Limit 55&50 to 45 mph (R1) | 29 | 40503 | 22250 | 3061 | 1969 |
| Increasing Speed Limit 5 mph (R2) | 100 | 40487 | 22263 | 3064 | 1969 |
| No Impairment (R3) | 8 | 40499 | 22256 | 3059 | 1969 |
| No Roadway Departure (R4) | 47 | 40728 | 22205 | 2881 | 1969 |
| Using Helmet (by bicyclist and motorcyclist) (R5) | 1.7 | 40508 | 22271 | 3035 | 1969 |
| No Alcohol (R6) | 2.2 | 40546 | 22217 | 3056 | 1964 |
| No Exceeded from Speed Limit (R7) | 1 | 40517 | 22244 | 3061 | 1961 |
| No Ejection (R8) | 2 | 40567 | 22315 | 2946 | 1955 |
| Under Proper Control (R9) | 10 | 40688 | 22088 | 3061 | 1946 |
| Using Seat Belt (R10) | 5.2 | 40705 | 22334 | 2869 | 1875 |
| No Trapp (R11) | 5.4 | 40877 | 22604 | 2443 | 1859 |
| Baseline Prediction (Rb) | - | 40497 | 22253 | 3064 | 1969 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).