Background <p>Patient satisfaction is a critical indicator of healthcare service quality, particularly in specialized outpatient departments where service processes are complex and resources are constrained. This study aims to develop an explainable artificial intelligence framework to predict patient satisfaction and to identify the key factors influencing satisfaction in a public ophthalmology outpatient department.</p> Methods <p>Survey data were collected and patient satisfaction was transformed into both binary and three-class settings. Multiple machine learning models, including Random Forest, Gradient Boosting, Extreme Gradient Boosting, Categorical Boosting, and Light Gradient Boosting, were evaluated using a nested stratified cross-validation with 5 outer folds and 5 inner GridSearchCV folds. To address class imbalance, SMOTE-NC and G-SMOTENC were applied only within the training folds. Model performance was assessed to identify the best-performing predictive approach, which was subsequently analyzed using SHapley Additive exPlanations (SHAP).</p> Results <p>Among the evaluated models, Gradient Boosting with G-SMOTENC achieved the highest performance in the binary setting, while Random Forest performed best in the three-class setting. SHAP analysis showed that length of stay contributed most strongly to satisfaction predictions in both settings, followed by demographic and visit-related variables.</p> Conclusion <p>The results suggest that combining predictive modeling with SHAP-based interpretation can support transparent, context-specific assessment of patient satisfaction in the studied outpatient setting. The proposed approach provides interpretable, context-specific insights that may support data-driven resource management and future service improvement in specialized outpatient settings.</p>

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Interpretable SHAP-based machine learning framework for patient satisfaction prediction: a case study in Thammasat University Hospital

  • Tanatorn Tanantong,
  • Warut Pannakkong,
  • Nittaya Chemkomnerd,
  • Prachya Boonkwan

摘要

Background

Patient satisfaction is a critical indicator of healthcare service quality, particularly in specialized outpatient departments where service processes are complex and resources are constrained. This study aims to develop an explainable artificial intelligence framework to predict patient satisfaction and to identify the key factors influencing satisfaction in a public ophthalmology outpatient department.

Methods

Survey data were collected and patient satisfaction was transformed into both binary and three-class settings. Multiple machine learning models, including Random Forest, Gradient Boosting, Extreme Gradient Boosting, Categorical Boosting, and Light Gradient Boosting, were evaluated using a nested stratified cross-validation with 5 outer folds and 5 inner GridSearchCV folds. To address class imbalance, SMOTE-NC and G-SMOTENC were applied only within the training folds. Model performance was assessed to identify the best-performing predictive approach, which was subsequently analyzed using SHapley Additive exPlanations (SHAP).

Results

Among the evaluated models, Gradient Boosting with G-SMOTENC achieved the highest performance in the binary setting, while Random Forest performed best in the three-class setting. SHAP analysis showed that length of stay contributed most strongly to satisfaction predictions in both settings, followed by demographic and visit-related variables.

Conclusion

The results suggest that combining predictive modeling with SHAP-based interpretation can support transparent, context-specific assessment of patient satisfaction in the studied outpatient setting. The proposed approach provides interpretable, context-specific insights that may support data-driven resource management and future service improvement in specialized outpatient settings.