Integrating the Hospital Frailty Risk Score into Explainable Machine Learning to Predict Mortality in Older Adults with Pneumonia: A Chilean Population-Based Study
Abstract
Background/Objectives: Community-acquired pneumonia (CAP) is a leading cause of mortality in older adults. Traditional prognostic scores may underestimate risk in frail patients by assuming linear relationships between predictors and outcomes. This study aimed to develop and validate explainable machine learning models integrating the administrative Hospital Frailty Risk Score (HFRS) to predict in-hospital mortality in a nationwide cohort of older adults in Chile. Methods: A retrospective cohort study was conducted using anonymized hospital discharge records from the Chilean National Health Fund (FONASA), including 58,306 hospitalization episodes of adults aged >= 60 years across 72 public hospitals. Fourteen supervised machine learning algorithms were trained using five routinely collected predictors: age, sex, HFRS, Charlson Comorbidity Index, and length of stay. Model performance was evaluated on an independent test set using AUC-ROC. SHAP (SHapley Additive exPlanations) values were calculated to assess global and individual predictor contributions. Results: The Extra Trees classifier achieved the highest discriminative performance (AUC-ROC 0.862), outperforming logistic regression (0.642) and other linear models. SHAP analyses identified HFRS as the most influential predictor (mean |SHAP| = 0.66), followed by length of stay, age, and comorbidities. Conclusions: Ensemble tree-based models incorporating administrative frailty measures provide superior mortality prediction compared to traditional linear approaches. Frailty emerged as the primary driver of risk, supporting scalable early stratification using routinely available hospital data.
Más información
| Título según WOS: | ID WOS:001775269900001 Not found in local WOS DB |
| Título de la Revista: | DIAGNOSTICS |
| Volumen: | 16 |
| Número: | 10 |
| Editorial: | MDPI |
| Fecha de publicación: | 2026 |
| DOI: |
10.3390/diagnostics16101506 |
| Notas: | ISI |