پژوهشنامه حمل و نقل

پژوهشنامه حمل و نقل

تحلیل شدت تصادفات دوخودرویی درون‌شهری با الگوریتم جنگل تصادفی (RF) و تحلیل SHAP

نوع مقاله : مقاله پژوهشی

نویسندگان
1 گروه مهندسی عمران، دانشگاه پیام نور، تهران، ایران
2 کارشناس ارشد مهندسی راه و ترابری, دانشگاه پیام نور تهران, ایران
3 گروه مهندسی عمران، دانشگاه پیام نور، تهران، ایران.
10.22034/tri.2026.584305.3462
چکیده
تصادفات دو‌خودرویی درون‌شهری یکی از مهم‌ترین انواع تصادفات درون‌شهری محسوب می‌شوند که سهم قابل‌توجهی در تلفات انسانی و خسارات اقتصادی دارند. شناسایی عوامل مؤثر بر شدت این نوع تصادفات می‌تواند نقش مهمی در برنامه‌ریزی‌های ایمنی و مدیریت ترافیک شهری ایفا نماید. هدف این پژوهش، تحلیل عوامل مؤثر بر شدت تصادفات دو‌خودرویی درون‌شهری با استفاده از مدل‌های یادگیری ماشین و روش‌های تفسیرپذیر است. داده‌های مورد استفاده شامل 586 فقره تصادف دو‌خودرویی ثبت‌شده در شهرستان شهرضا طی سال‌های 1401 تا 1404 بود که از پایگاه اطلاعات پلیس راهور استخراج گردید. در مرحله پیش‌پردازش، داده‌ها کدگذاری و متعادل‌سازی شده و سپس مدل جنگل تصادفی (RF) به‌عنوان مدل اصلی توسعه یافت. همچنین عملکرد این مدل با دو مدل پایه شامل رگرسیون لجستیک (LR) و درخت تصمیم (DT) مقایسه شد. نتایج ارزیابی مدل‌ها نشان داد که مدل RF با دقت 89 درصد، مقدار AUC برابر با 92/0 و مقادیر بالاتر Precision، Recallو F1-score نسبت به سایر مدل‌ها، بهترین عملکرد را در پیش‌بینی شدت تصادفات ارائه می‌دهد. به‌منظور تفسیرپذیری نتایج، از روش SHAP استفاده شد. یافته‌ها نشان داد که متغیرهای روز هفته، نوع خودرو، زمان وقوع تصادف، مانور خودرو، هندسه راه، وضعیت روشنایی و کنترل ترافیک از مهم‌ترین عوامل مؤثر بر شدت تصادفات دو‌خودرویی هستند. همچنین مشخص گردید وقوع تصادفات در شب، نبود کنترل ترافیک، راه‌های دوطرفه و حضور خودروهای سنگین احتمال بروز تصادفات فوتی را افزایش می‌دهد. نتایج این پژوهش نشان می‌دهد که ترکیب مدل‌های یادگیری ماشین و روش‌های تفسیرپذیر می‌تواند ابزار مؤثری برای تحلیل شدت تصادفات و تدوین راهکارهای ارتقای ایمنی ترافیک شهری باشد.
کلیدواژه‌ها
موضوعات

عنوان مقاله English

Analysis of the Severity of Urban Two-Vehicle Crashes Using the Random Forest (RF) Algorithm and SHAP Analysis

نویسندگان English

hamed saify 1
mohammad koohi 2
shahin shabani 3
1 department. faculty.payame noor university. tehran.iran
2 civil engineering, tehran pnu university, iran
3 department.faculty.payame noor university. tehran.iran
چکیده English

Urban two-vehicle crashes constitute one of the most significant types of traffic crashes, accounting for a substantial proportion of human casualties and economic losses. Identifying the factors influencing the severity of these crashes can play a crucial role in urban traffic management and safety planning. This study aims to analyze the factors affecting the severity of urban two-vehicle crashes using machine learning models and interpretable methods. The dataset comprised 586 recorded two-vehicle crashes in Shahrud County between 2022 and 2025, extracted from the Traffic Police database. During the preprocessing stage, the data were encoded and balanced, followed by the development of the Random Forest (RF) model as the primary classifier. The performance of the RF model was compared with two baseline models: Logistic Regression (LR) and Decision Tree (DT). Evaluation results indicated that the RF model achieved the best performance in predicting collision severity, with an accuracy of 89%, an AUC of 0.92, and higher Precision, Recall, and F1-score values compared to the other models. To enhance the interpretability of the results, the SHAP method was employed. The findings revealed that the day of the week, vehicle type, time of occurrence, vehicle maneuver, road geometry, lighting conditions, and traffic control are the most significant factors affecting collision severity. Furthermore, the analysis indicated that crashes occurring at night, the absence of traffic control, two-way roads, and the presence of heavy vehicles increase the likelihood of fatal accidents. The results demonstrate that combining machine learning models with interpretable methods can serve as an effective tool for analyzing collision severity and formulating strategies to enhance urban traffic safety.

کلیدواژه‌ها English

Two-vehicle crashes
Severity analysis
Random Forest (RF)
SHAP analysis

مقالات آماده انتشار، پذیرفته شده
انتشار آنلاین از 03 مرداد 1405