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 featuresCrashNoncrash
QuantityPercentage (%)QuantityPercentage (%)

Rainfall0–413179.8860191.62
4–102012.20395.95
>10137.93162.44
Sum164100656100

Visibility<110.6120.30
1–56740.8518828.66
5–108350.6137757.47
>10137.938913.57
Sum164100656100

Dew point<101811.69365.49
10–1513084.4257387.35
15–20159.74456.86
>2010.6520.30
Sum164100656100

Temperature<106338.4125438.72
10–203621.9514121.49
20–306439.0225739.18
>3010.6140.61
Sum164100656100

Wind speed0–97948.1731948.63
9–187445.1229544.97
18–2795.49355.34
>2721.2271.07
Sum164100656100