Skripsi
ANALISIS PERBANDINGAN ALGORITMA MACHINE LEARNING UNTUK KLASIFIKASI TINGKAT KEPARAHAN KECELAKAAN LALU LINTAS PADA KENDARAAN TRUK
Traffic accidents, particularly those involving trucks, are a serious problem that can result in human casualties and property damage. This study aims to classify accident severity into two categories, namely injury (fatalities and injuries) and non-injury (no casualties), using the Random Forest, XGBoost, and LightGBM algorithms. Model evaluation was conducted using accuracy, precision, recall, and F1-score, with F1-score as the primary metric due to the imbalanced class distribution. The results show that LightGBM delivers the best performance with an accuracy of 0.7740, precision of 0.7720, recall of 0.9801, and an F1-score of 0.8637. Confusion matrix analysis indicates the model correctly classifies most data, particularly in the injury class. An interpretability analysis using SHAP indicates that accident type (tipo_acidente), accident cause factors, and vehicle characteristics are the features most influential on classification results. This study demonstrates that XGBoost is effective in classifying the severity of truck accidents and provides insight into the factors influencing prediction outcomes.
| Title | Edition | Language |
|---|---|---|
| PENERAPAN MACHINE LEARNING DALAM SISTEM KLASIFIKASI PENYAKIT MANUSIA DENGAN MODEL DECISION TREE DAN NEURAL NETWORK | id |