Journal article
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
126 views · 380 downloads
