Development and validation of an explainable web-based machine learning model for predicting early postoperative hypocalcemia in patients with differentiated thyroid cancer.
Jiaqi Ye, Yuanyuan Wang
Department of Operating Room, The First Hospital of China Medical University, Shenyang, China. · Department of Vascular and Thyroid Surgery, The First Hospital of China Medical University, Shenyang, China.
Key points
From the paper's conclusion- We developed an explainable web-based LGBM model that showed good predictive performance for early postoperative hypocalcemia in patients with DTC. By combining accurate risk estimation with transparent interpretation, this tool may help clinicians identify high-risk patients and support individualized perioperative management.
Abstract
BACKGROUND: Early postoperative hypocalcemia is one of the most common complications after surgery for differentiated thyroid cancer (DTC) and may lead to prolonged hospitalization and impaired postoperative recovery. Most existing prediction tools are based on conventional regression methods and may be insufficient to capture complex interactions among clinical variables. This study aimed to develop and validate an interpretable machine learning model and a web-based calculator for early prediction of postoperative hypocalcemia in patients with DTC. METHODS: This retrospective cohort study included 1,222 patients with DTC who underwent surgery at a tertiary hospital between February 2021 and October 2025. Candidate predictors were screened using a combined feature selection strategy incorporating least absolute shrinkage and selection operator (LASSO) regression and the Boruta algorithm. Eight machine learning algorithms were developed and compared. Model performance was evaluated using the area under the receiver operating characteristic curve (AUC) and calibration metrics. Model interpretability was assessed using SHapley Additive exPlanations (SHAP), and the optimal model was deployed as a web-based calculator. RESULTS: Seven consensus variables were selected for final model construction. Among the eight algorithms, the light gradient boosting machine (LGBM) achieved the best overall performance in the testing cohort, with an AUC of 0.875 [95% confidence interval (CI): 0.838-0.912] and a Brier score of 0.132, indicating good discrimination and calibration. SHAP analysis showed that bilateral central lymph node dissection (CLND), severe preoperative vitamin D deficiency, and thyroid capsular invasion were the most influential predictors of postoperative hypocalcemia. The final model was implemented as a freely accessible web-based clinical tool. CONCLUSIONS: We developed an explainable web-based LGBM model that showed good predictive performance for early postoperative hypocalcemia in patients with DTC. By combining accurate risk estimation with transparent interpretation, this tool may help clinicians identify high-risk patients and support individualized perioperative management.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Development and validation of prediction models for biochemical hypocalcemia after parathyroidectomy in primary hyperparathyroidism.Gland surgery · 2026
- Development and External Validation of Machine Learning Models for Ionized Calcium Estimation in Hypoalbuminemia.Diagnostics (Basel, Switzerland) · 2026
- Interpretable Machine Learning for Predicting Radiation-Induced Hypothyroidism in Head and Neck Cancer: A Dual-Center Retrospective Study.Cancers · 2026
- Construction and validation of a hypoglycemia risk prediction model for hospitalized type 2 diabetes patients based on machine learningBMC Endocrine Disorders · 2025
- Development and external validation of an explainable machine-learning model for early complications following robot-assisted radical prostatectomy: a multicenter study.Journal of robotic surgery · 2026
- Development and External Validation of an Interpretable Machine Learning Model for Predicting Positive Surgical Margin After Robot-Assisted Radical Prostatectomy.Cancer management and research · 2026