Analisis Klasifikasi Kecelakaan Lalu Lintas di KotaPalembang Menggunakan Algoritma Decision Tree

Authors

  • Elsada Abelia Author
  • Rossi Passarella Author

Abstract

Kecelakaan lalu lintas merupakan permasalahan serius
dengan dampak sosial dan ekonomi yang signifikan. Penelitian ini
bertujuan untuk melakukan klasifikasi jenis kecelakaan serta
mengetahui pola-pola yang muncul berdasarkan karakteristik
kecelakaan di Kota Palembang tahun 2021–2024 dengan beberapa
pendekatan machine learning. Dataset berisi 2.637 baris data dengan
fitur-fitur seperti tipe kecelakaan, kondisi cahaya, cuaca, fungsi jalan,
kelas jalan, tipe jalan, bentuk geometri, dan kondisi permukaan jalan.
Setelah tahap prapemrosesan dan seleksi fitur, dilakukan pemodelan
menggunakan Decision Tree, Random Forest, K-Nearest Neighbors
(KNN), dan XGBoost. Hasil evaluasi menunjukkan bahwa model
Decision Tree memiliki performa terbaik dengan akurasi 0,64. Analisis
juga mengindikasikan bahwa kendaraan roda dua paling banyak
terlibat dalam kecelakaan, terutama di jalan arteri saat cuaca cerah.
Hasil penelitian ini diharapkan dapat menjadi bahan pertimbangan
kebijakan peningkatan keselamatan lalu lintas di Palembang.

References

[1] N. Casado-Sanz, B. Guirao, and M. Attard, “Analysis of the risk factors

affecting the severity of traffic accidents on spanish crosstown roads: The

driver’s perspective,” Sustain., vol. 12, no. 6, 2020, doi:

10.3390/su12062237.

[2] S. Djalante, “Traffic Accident Characteristic Assessment to Enhance

Sustainability in Road and Transportation Infrastructures in Indonesia,”

OALib, vol. 07, no. 10, pp. 1–12, 2020, doi: 10.4236/oalib.1106796.

[3] W. Zhou, “Traffic Accident Severity Prediction Based on Data Cleaning

and Machine Learning (Random Forest / Xgboost),” Highlights Sci. Eng.

Technol., vol. 85, pp. 376–388, 2024, doi: 10.54097/h8cq6864.

[4] M. Megnidio-Tchoukouegno and J. A. Adedeji, “Machine Learning for

Road Traffic Accident Improvement and Environmental Resource

Management in the Transportation Sector,” Sustain., vol. 15, no. 3, 2023,

doi: 10.3390/su15032014.

[5] A. Adefabi, S. Olisah, C. Obunadike, O. Oyetubo, E. Taiwo, and

E. Tella, “Predicting Accident Severity: An Analysis of Factors Affecting

Accident Severity Using Random Forest Model,” Int. J. Cybern.

Informatics, vol. 12, no. 6, pp. 107–121, 2023, doi:

10.5121/ijci.2023.120609.

[6] Ç. İ. Acı, G. Mutlu, M. Ozen, and M. Acı, “Enhanced Multi-Class Driver

Injury Severity Prediction Using a Hybrid Deep Learning

and Random Forest Approach,” Appl. Sci., vol. 15, no. 3, 2025, doi:

10.3390/app15031586.

[7] Z. Wu, A. Misra, and S. Bao, “Modeling Pedestrian Injury Severity: A

Case Study of Using Extreme Gradient Boosting Vs Random Forest in

Feature Selection,” Transp. Res. Rec., vol. 2678, no. 1, pp. 1–11, 2024, doi:

10.1177/03611981231170014.

[8] A. Nippani, D. Li, H. Ju, H. N. Koutsopoulos, and H. R. Zhang, “Graph

Neural Networks for Road Safety Modeling: Datasets and Evaluations for

Accident Analysis,” Adv. Neural Inf. Process. Syst., vol. 36, no. NeurIPS,

2023.

[9] X. Gao et al., “Uncertainty-aware probabilistic graph neural networks for

road-level traffic crash prediction,” Accid. Anal. Prev., vol. 208, no.

October, p. 107801, 2024, doi: 10.1016/j.aap.2024.107801.

[10] H. Li and L. Chen, “Traffic accident risk prediction based on deep learning

and spatiotemporal features of vehicle trajectories,” PLoS One, vol. 20, no.

5 May, pp. 1–28, 2025, doi: 10.1371/journal.pone.0320656.

[11] J. Alotaibi, “Enhancing Traffic Accident Severity Prediction: Feature

Identification Using Explainable AI,” Vehicles, vol. 7, no. 2, p. 38, 2025,

doi: 10.3390/vehicles7020038.

[12] P. Infante et al., “Comparison of Statistical and Machine-Learning Models

on Road Traffic Accident Severity Classification,” Computers, vol. 11, no.

5, pp. 1–12, 2022, doi: 10.3390/computers11050080.

[13] E. Kuşkapan, M. Y. Çodur, and M. A. Sahraei, “Investigation of the Effect

of Slope and Road Surface Conditions on Traffic Accidents Occurring in

Winter Months: Spatial and Machine Learning Approaches,” Appl. Sci.,

vol. 14, no. 24, 2024, doi: 10.3390/app142411629.

[14] H. H. Pour et al., “A Machine Learning Framework for Automated Accident

Detection Based on Multimodal Sensors in Cars,” Sensors, vol. 22, no. 10,

pp. 1–21, 2022, doi: 10.3390/s22103634.

[15] R. Shafique, F. Rustam, S. Murtala, A. D. Jurcut, and G. S. Choi,

“Advancing Autonomous Vehicle Safety: Machine Learning to Predict

Sensor-Related Accident Severity,” IEEE Access, vol. 12, no. January, pp.

25933–25948, 2024, doi: 10.1109/ACCESS.2024.3366990.

[16] I. Aldhari, M. Almoshaogeh, A. Jamal, F. Alharbi, M. Alinizzi, and H.

Haider, “Severity Prediction of Highway Crashes in Saudi Arabia Using

Machine Learning Techniques,” Appl. Sci., vol. 13, no. 1, 2023, doi:

10.3390/app13010233.

[17] B. Muktar and V. Fono, “Toward Safer Roads: Predicting the Severity of

Traffic Accidents in Montreal Using Machine Learning,” Electron., vol.

13, no. 15, 2024, doi: 10.3390/electronics13153036.

[18] A. ÇELİK and O. SEVLİ, “Predicting Traffic Accident Severity Using

Machine Learning Techniques,” Türk Doğa ve Fen Derg., vol. 11, no. 3,

pp. 79–83, 2022, doi: 10.46810/tdfd.1136432.

[19] A. Sysoev, V. Klyavin, A. Dvurechenskaya, A. Mamedov, and V.

Shushunov, “Applying Machine Learning Methods and Models to Explore

the Structure of Traffic Accident Data,” Computation, vol. 10, no. 4, pp. 1–

12, 2022, doi: 10.3390/computation10040057.

[20] Z. C. Kuyumcu, H. Aslan, and N. Yurtay, “Casualty Analysis of the

Drivers in Traffic Accidents in Turkey: A CHAID Decision Tree Model,”

Appl. Sci., vol. 14, no. 24, 2024, doi: 10.3390/app142411693.

Downloads

Published

2025-12-01