Research Article
Using Multidimensional Data to Analyze Freeway Real-Time Traffic Crash Precursors Based on XGBoost-SHAP Algorithm
Table 6
Distribution of weather features in crash and noncrash data.
| Weather features | Crash | Noncrash | Quantity | Percentage (%) | Quantity | Percentage (%) |
| Rainfall | 0–4 | 131 | 79.88 | 601 | 91.62 | 4–10 | 20 | 12.20 | 39 | 5.95 | >10 | 13 | 7.93 | 16 | 2.44 | Sum | 164 | 100 | 656 | 100 |
| Visibility | <1 | 1 | 0.61 | 2 | 0.30 | 1–5 | 67 | 40.85 | 188 | 28.66 | 5–10 | 83 | 50.61 | 377 | 57.47 | >10 | 13 | 7.93 | 89 | 13.57 | Sum | 164 | 100 | 656 | 100 |
| Dew point | <10 | 18 | 11.69 | 36 | 5.49 | 10–15 | 130 | 84.42 | 573 | 87.35 | 15–20 | 15 | 9.74 | 45 | 6.86 | >20 | 1 | 0.65 | 2 | 0.30 | Sum | 164 | 100 | 656 | 100 |
| Temperature | <10 | 63 | 38.41 | 254 | 38.72 | 10–20 | 36 | 21.95 | 141 | 21.49 | 20–30 | 64 | 39.02 | 257 | 39.18 | >30 | 1 | 0.61 | 4 | 0.61 | Sum | 164 | 100 | 656 | 100 |
| Wind speed | 0–9 | 79 | 48.17 | 319 | 48.63 | 9–18 | 74 | 45.12 | 295 | 44.97 | 18–27 | 9 | 5.49 | 35 | 5.34 | >27 | 2 | 1.22 | 7 | 1.07 | Sum | 164 | 100 | 656 | 100 |
|
|