Table 6 Confusion matrix to present test results for all three models.
From: Identifying high crash risk segments in rural roads using ensemble decision tree-based models
Observed classes | Predicted classes | ||||||||
|---|---|---|---|---|---|---|---|---|---|
DT | RF | XGBoost | |||||||
0 | 1 | 2 +  | 0 | 1 | 2 +  | 0 | 1 | 2 +  | |
0 | 68.48 | 25.60 | 5.91 | 68.26 | 25.62 | 6.12 | 67.62 | 27.67 | 4.72 |
1 | 32.08 | 45.24 | 22.68 | 31.61 | 41.25 | 27.14 | 31.49 | 48.41 | 20.09 |
2 +  | 12.96 | 48.15 | 38.89 | 12.96 | 33.33 | 53.70 | 12.96 | 51.85 | 35.19 |