Research Article

Multiclass Classification by Various Machine Learning Algorithms and Interpretation of the Risk Factors of Pedestrian Accidents Using Explainable AI

Table 3

Classification prediction results of pedestrian accident data.

MethodSeverity levelHPOMetricsHPOMetrics
AccuracyRecallPrecisionF1-scoreAccuracyRecallPrecisionF1-score

LR0Default0.6770.4330.6650.525GS0.6770.4330.6660.525
10.3640.2880.3220.3640.2880.322
20.0080.0140.0110.0080.0140.010
NB00.5170.620.570.600.5170.6250.5740.598
10.150.270.200.1540.2730.197
20.910.180.310.9150.1850.307
XGB00.7000.500.670.570.7050.5070.6770.580
10.320.270.390.3160.2700.291
20.020.020.020.0150.0160.015
LGBM00.7080.500.690.580.7050.5090.6770.581
10.320.270.280.3150.2700.291
20.010.020.020.0160.0170.017
CB00.7000.500.670.570.7040.4870.6860.570
10.320.270.290.3290.2760.300
20.010.020.020.0160.0170.017

LR0RS0.6870.4600.6700.545BO0.6880.4600.6700.546
10.3460.2840.3120.3460.2840.312
20.0190.0240.0210.0180.0220.020
NB00.5160.6250.5730.5980.5770.5740.5980.586
10.3320.2730.1970.2170.2820.246
20.0110.1850.3070.5930.1620.254
XGB00.7020.4820.6890.5670.7040.5010.6780.576
10.3320.2750.3010.3210.2720.294
20.0110.0130.0120.0100.0110.010
LGBM00.7070.5000.6780.5760.7080.5020.6870.580
10.3210.2730.2950.3190.2710.293
20.0160.0170.0170.0150.0160.015
CB00.7070.4990.6880.5790.7060.5140.6770.584
10.3210.2700.2930.3110.2670.288
20.0130.0150.0140.0130.0150.014

Four metrics are used to evaluate the model’s performance.