Informatika Mulawarman: Jurnal Ilmiah Ilmu Komputer
Vol 21, No 1 (2026): Informatika Mulawarman : Jurnal Ilmiah Ilmu Komputer

Traffic Accident Prediction Using Machine Learning Based on PT Jasa Raharja Data

Utomo, Muhammad Fikri (Unknown)
Fikry, Muhammad (Unknown)
Hamdhana, Defry (Unknown)
Abdullah, Dahlan (Unknown)
Nurdin, Nurdin (Unknown)



Article Info

Publish Date
30 Mar 2026

Abstract

Traffic accidents represent a critical issue that significantly affects public safety and generates substantial social and economic impacts, particularly within the operational area of PT. Jasa Raharja Lhokseumawe Branch. The lack of predictive information regarding accident occurrences often results in reactive policy making. This study aims to develop a machine learning–based forecasting model for traffic accident rates using a combination of K-Means Clustering and Recurrent Neural Network (RNN). The dataset consists of historical traffic accident records from 2022 to 2024, which were preprocessed and aggregated on a weekly basis at the district level. K-Means Clustering was employed to group districts according to weekly accident patterns, resulting in two optimal clusters based on silhouette score evaluation. Subsequently, separate RNN models were developed for each cluster to forecast weekly accident occurrences. Model performance was evaluated using Mean Absolute Error (MAE), Mean Squared Error (MSE), and Root Mean Squared Error (RMSE). The results indicate that the RNN model achieved higher prediction accuracy for clusters with more stable accident patterns compared to clusters exhibiting higher fluctuation. Overall, the proposed combination of clustering and RNN demonstrates strong potential in producing accurate traffic accident forecasts

Copyrights © 2026






Journal Info

Abbrev

jim

Publisher

Subject

Computer Science & IT

Description

Journal Informatics Mulawarman Is a means for researchers in the field of computer science to publish his research works. First published in 2007 with a two-yearly published period in February and September. Editorial Board Informatika Mulawarman consists of lecturers of computer science in the ...