Interpretable ensemble learning for hospital prediction duration following total knee arthroplasty: a retrospective temporal validation study

Estimating postoperative length of stay (LOS) following total knee arthroplasty (TKA) may help characterize resource use and identify factors associated with prolonged hospitalization. However, the predictive performance and clinical applicability of machine learning models for continuous LOS estimation remain uncertain. This study aimed to develop and temporally validate interpretable machine learning models for predicting LOS after TKA. A retrospective cohort study was conducted using data from patients undergoing primary TKA at a tertiary centre in Singapore. After missing data imputation, preprocessing, and feature selection within the training cohort, multiple regression-based machine learning models were developed and evaluated using a temporal split. Model performance was primarily assessed using mean absolute error, root mean squared error, R², and calibration-related measures. Tolerance-based accuracy was reported as a supplementary descriptive metric. SHapley Additive exPlanations (SHAP) analysis was used to explore model-dependent feature contributions, and regression-based sensitivity analyses were conducted to assess the consistency of identified associations. A total of 2,414 patients were included. Across the evaluated models, predictive performance was modest, with low explained variance in the temporal test cohort. The Ensemble Voting Regression (EVR) model showed small numerical advantages across several metrics and acceptable average calibration, although differences from other models were small. Operation duration, age, haemoglobin, body mass index, type of anaesthesia, and procedure site contributed to LOS prediction. SHAP-based findings were generally consistent with regression-based analyses for several predictors. Interpretable machine learning models provided modest but clinically informative estimates of postoperative LOS after TKA under temporal validation. EVR showed small numerical advantages and acceptable average calibration, although low explained variance limited individualized prediction. These findings support population-level LOS estimation and preliminary risk stratification and provide a realistic benchmark for future model refinement, recalibration, and validation.

Authors

Institutions

Publication Details

Journal
BMC Medical Informatics and Decision Making
Published
2026-09-09
DOI
https://doi.org/10.1186/s12911-026-03825-2
Primary Topic
Total Knee Arthroplasty Outcomes
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Interpretable ensemble learning for hospital prediction duration following total knee arthroplasty: a retrospective temporal validation study

Song Chen, Wen He
BMC Medical Informatics and Decision Making
Total Knee Arthroplasty Outcomes
article

Interpretable ensemble learning for hospital prediction duration following total knee arthroplasty: a retrospective temporal validation study

Song Chen, Wen He
article en

Abstract

Estimating postoperative length of stay (LOS) following total knee arthroplasty (TKA) may help characterize resource use and identify factors associated with prolonged hospitalization. However, the predictive performance and clinical applicability of machine learning models for continuous LOS estimation remain uncertain. This study aimed to develop and temporally validate interpretable machine learning models for predicting LOS after TKA. A retrospective cohort study was conducted using data from patients undergoing primary TKA at a tertiary centre in Singapore. After missing data imputation, preprocessing, and feature selection within the training cohort, multiple regression-based machine learning models were developed and evaluated using a temporal split. Model performance was primarily assessed using mean absolute error, root mean squared error, R², and calibration-related measures. Tolerance-based accuracy was reported as a supplementary descriptive metric. SHapley Additive exPlanations (SHAP) analysis was used to explore model-dependent feature contributions, and regression-based sensitivity analyses were conducted to assess the consistency of identified associations. A total of 2,414 patients were included. Across the evaluated models, predictive performance was modest, with low explained variance in the temporal test cohort. The Ensemble Voting Regression (EVR) model showed small numerical advantages across several metrics and acceptable average calibration, although differences from other models were small. Operation duration, age, haemoglobin, body mass index, type of anaesthesia, and procedure site contributed to LOS prediction. SHAP-based findings were generally consistent with regression-based analyses for several predictors. Interpretable machine learning models provided modest but clinically informative estimates of postoperative LOS after TKA under temporal validation. EVR showed small numerical advantages and acceptable average calibration, although low explained variance limited individualized prediction. These findings support population-level LOS estimation and preliminary risk stratification and provide a realistic benchmark for future model refinement, recalibration, and validation.

BMC Medical Informatics and Decision Making
Quzhou City People's Hospital (CN), Quzhou University (CN)
Openalex Percentile: Top 8%
Total Knee Arthroplasty Outcomes
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.