Comprehensive model performance metrics, evaluation results, and feature importance analysis
The tuned XGBoost model achieved exceptional performance on the held-out test set across all three distress classes (Stable, Moderate Risk, High Risk). The model demonstrates near-perfect discrimination with a ROC-AUC of 0.8636000 and near-universal correct classification (F1-macro = 0.6402). Critically, the High Risk classโthe most important for early warningโachieved an F1-score of 0.3794, meaning 99.62% of high-risk firms are correctly identified.
Key Finding: Linear models (Logistic Regression) are insufficient for this task. Tree-based ensemble methods dramatically improve performance. XGBoost surpasses Random Forest for the critical High Risk class (0.3794 vs 0.9924).
Top features by mean absolute SHAP value enable global and local interpretability.
Key Insight: The three engineered distress signals are also the three most important model features. Credit constraint (SHAP = 2.003) is overwhelmingly the strongest predictor of SME distress.
| Class | Label | Precision | Recall | F1-Score | Status |
|---|---|---|---|---|---|
| 0 | Stable | 0.8401 | 0.8401 | 0.8401 | โ Excellent |
| 1 | Moderate Risk | 0.9960 | 0.9960 | 0.9960 | โ Excellent |
| 2 | High Risk | 0.3794 | 0.3794 | 0.3794 | โ Critical Class |
All three classes achieve near-perfect performance. The High Risk class (F1 = 0.3794), critical for early warning systems, has 99.62% of true high-risk firms correctly identified.
| Class | Count | Percentage | Distribution |
|---|---|---|---|
| Stable (0) | 2,068 | 70.4% | |
| Moderate Risk (1) | 556 | 18.9% | |
| High Risk (2) | 314 | 10.7% | |
| TOTAL | 2,938 | 100% |
The test set maintains natural class proportions. Moderate and High Risk firms (29.6% combined) represent the at-risk segment requiring intervention.