Related Experiment Video
Updated: Aug 14, 2026

A Personalized 3D-Printed Model for Preoperative Evaluation in Thyroid Surgery
Published on: February 17, 2023
Development and validation of an explainable web-based machine learning model for predicting early postoperative
1Department of Operating Room, The First Hospital of China Medical University, Shenyang, China.
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.