Research Article

Traffic Accident Analysis and Prediction Using Machine Learning Models in Türkiye from 2021 to 2024

Volume: 10 Number: 2 December 24, 2025
TR EN

Traffic Accident Analysis and Prediction Using Machine Learning Models in Türkiye from 2021 to 2024

Abstract

Traffic accidents represent a major challenge to public safety and urban development. In recent years, the number of road traffic accidents has been increasing due to the rising global population and the growing number of vehicles, leading to numerous fatalities and injuries. This study examines traffic accidents in five major cities of Türkiye from 2021 to 2024, aiming to identify trends and predict future accidents using linear regression and random forest regressor models. Data for this analysis were obtained from the Gendarmerie General Command of the Ministry of Internal Affairs, Republic of Türkiye. To evaluate model performance, key metrics such as Mean Absolute Error, Mean Squared Error, and R-squared were utilized. The results indicate significant variations in accident patterns across cities, months, and years. Furthermore, findings highlight the effectiveness of machine learning models in predicting traffic incidents with high accuracy. Among the two models, the random forest regressor outperforms linear regression in terms of evaluation metrics. Moreover, the analytical results indicate an upward trend in accidents, fatalities, and injuries across the five cities, particularly in Ankara and İzmir. These predictive and analytical insights can provide valuable guidance for policymakers and researchers in formulating effective strategies to mitigate traffic accidents and enhance road safety.

Keywords

Supporting Institution

The authors declare that they have no financial interests or relationships pertaining to the publication of this article.

Ethical Statement

The study does not require ethics committee approval or any special permission.

References

  1. Aygencel, G., Karamercan, M., Ergin, M. & Telatar, G. (2008). Review of traffic accident cases presenting to an adult emergency service in Turkey. Journal of Forensic and Legal Medicine, 15(1), 1-6. https://doi.org.10.1016/j.jflm.2007.05.005.
  2. World Health Organization. (2023). Global status report on road safety 2023: Summary (Licence: CC BY-NC-SA 3.0 IGO). World Health Organization. https://www.who.int/teams/social-determinants-of-health/safety-and-mobility/global-status-report-on-road-safety-2023.
  3. Turkish Statistical Institute. (2024). Road traffic accident statistics, 2023 (Issue 53479). https://data.tuik.gov.tr/Bulten/Index?p=Road-Traffic-Accident-Statistics-2023-53479&dil=2
  4. Kuyumcu, Z. C., Aslan, H., & Yurtay, N. (2024). Casualty analysis of the drivers in traffic accidents in Turkey: A CHAID decision tree model. Applied Sciences, 14(24), 11693. https://doi.org/10.3390/app142411693
  5. Gendarmerie General Command. (2025, January). Aylık istatistik bültenleri (Monthly statistical bulletins). https://www.jandarma.gov.tr/veriler.
  6. Erdogan, S. (2009). Explorative spatial analysis of traffic accident statistics and road mortality among the provinces of Turkey. Journal of Safety Research, 40(5), 341-351. https://doi.org.10.1016/j.jsr.2009.07.006.
  7. Celik, A. K., & Oktay, E. (2014). A multinomial logit analysis of risk factors influencing road traffic injury severities in the Erzurum and Kars Provinces of Turkey. Accident Analysis & Prevention, 72, 66–77. https://doi.org/10.1016/j.aap.2014.06.010
  8. Sungur, İ., Akdur, R., & Piyal, B. (2014). Analysis of traffic accidents in Turkey, Ankara Medical Journal, 14(3), 114-124.

Details

Primary Language

English

Subjects

Software Engineering (Other)

Journal Section

Research Article

Publication Date

December 24, 2025

Submission Date

March 17, 2025

Acceptance Date

August 6, 2025

Published in Issue

Year 2025 Volume: 10 Number: 2

APA
Hossain, M. A. A., Kahramanli Örnek, H., & Sag, T. (2025). Traffic Accident Analysis and Prediction Using Machine Learning Models in Türkiye from 2021 to 2024. Sinop Üniversitesi Fen Bilimleri Dergisi, 10(2), 354-379. https://doi.org/10.33484/sinopfbd.1659592
AMA
1.Hossain MAA, Kahramanli Örnek H, Sag T. Traffic Accident Analysis and Prediction Using Machine Learning Models in Türkiye from 2021 to 2024. Sinop Uni J Nat Sci. 2025;10(2):354-379. doi:10.33484/sinopfbd.1659592
Chicago
Hossain, Md Al Amin, Humar Kahramanli Örnek, and Tahir Sag. 2025. “Traffic Accident Analysis and Prediction Using Machine Learning Models in Türkiye from 2021 to 2024”. Sinop Üniversitesi Fen Bilimleri Dergisi 10 (2): 354-79. https://doi.org/10.33484/sinopfbd.1659592.
EndNote
Hossain MAA, Kahramanli Örnek H, Sag T (December 1, 2025) Traffic Accident Analysis and Prediction Using Machine Learning Models in Türkiye from 2021 to 2024. Sinop Üniversitesi Fen Bilimleri Dergisi 10 2 354–379.
IEEE
[1]M. A. A. Hossain, H. Kahramanli Örnek, and T. Sag, “Traffic Accident Analysis and Prediction Using Machine Learning Models in Türkiye from 2021 to 2024”, Sinop Uni J Nat Sci, vol. 10, no. 2, pp. 354–379, Dec. 2025, doi: 10.33484/sinopfbd.1659592.
ISNAD
Hossain, Md Al Amin - Kahramanli Örnek, Humar - Sag, Tahir. “Traffic Accident Analysis and Prediction Using Machine Learning Models in Türkiye from 2021 to 2024”. Sinop Üniversitesi Fen Bilimleri Dergisi 10/2 (December 1, 2025): 354-379. https://doi.org/10.33484/sinopfbd.1659592.
JAMA
1.Hossain MAA, Kahramanli Örnek H, Sag T. Traffic Accident Analysis and Prediction Using Machine Learning Models in Türkiye from 2021 to 2024. Sinop Uni J Nat Sci. 2025;10:354–379.
MLA
Hossain, Md Al Amin, et al. “Traffic Accident Analysis and Prediction Using Machine Learning Models in Türkiye from 2021 to 2024”. Sinop Üniversitesi Fen Bilimleri Dergisi, vol. 10, no. 2, Dec. 2025, pp. 354-79, doi:10.33484/sinopfbd.1659592.
Vancouver
1.Md Al Amin Hossain, Humar Kahramanli Örnek, Tahir Sag. Traffic Accident Analysis and Prediction Using Machine Learning Models in Türkiye from 2021 to 2024. Sinop Uni J Nat Sci. 2025 Dec. 1;10(2):354-79. doi:10.33484/sinopfbd.1659592


Articles published in Sinopjns are licensed under CC BY-NC 4.088x31.png