Hui Yujian, Hu Hengda, Xiang Jinghua, Du Xingye
Department of Orthopedics, Jiangyin People's Hospital, The Affiliated Jiangyin Hospital of Nantong University, 214400, Jiangyin, Jiangsu, People's Republic of China.
Department of Surgery, Shanghai Jinshan District Central Hospital, Jinshan District Central Hospital Affiliated to Shanghai University of Medicine & Health Sciences, Jinshan Branch of the Sixth People's Hospital of Shanghai, 147 Jiankang Road, Jinshan District, Shanghai, People's Republic of China.
J Orthop Traumatol. 2025 Aug 18;26(1):56. doi: 10.1186/s10195-025-00869-4.
This study aimed to evaluate the performance of five machine learning algorithms in predicting tibial intramedullary nail length using patient demographic data (gender, height, age, and weight), with the goal of developing a clinically relevant and accurate predictive model.
Retrospective data from 155 patients who underwent tibial intramedullary nailing at the Affiliated Jiangyin Hospital of Nantong University were analyzed. After data cleaning, outlier handling, and gender encoding, the dataset was divided into an 80% training set and 20% testing set. Models were trained and evaluated using root mean squared error (RMSE), mean absolute error (MAE), coefficient of determination (R), and correlation analysis. Key variables included height (cm), weight (kg), age (years), and gender.
The XGBoost model demonstrated superior clinical precision, achieving the lowest testing RMSE (9.15 mm) and MAE (7.56 mm), with an R of 0.871, explaining 87.1% of variance in nail length. While the random forest model had the highest R (0.874) and correlation coefficient (r = 0.935), XGBoost outperformed all models in error metrics, critical for minimizing surgical complications. Variable importance analysis identified height as the most influential factor, followed by weight and age. All models achieved acceptable accuracy (≥ 86.21%) within a ± 15 mm error margin, compatible with intraoperative adjustments.
Machine learning, particularly XGBoost, significantly improves preoperative prediction of tibial intramedullary nail length compared with traditional methods.
本研究旨在评估五种机器学习算法利用患者人口统计学数据(性别、身高、年龄和体重)预测胫骨髓内钉长度的性能,目标是开发一个具有临床相关性且准确的预测模型。
分析了南通大学附属江阴医院155例行胫骨髓内钉固定术患者的回顾性数据。经过数据清理、异常值处理和性别编码后,将数据集分为80%的训练集和20%的测试集。使用均方根误差(RMSE)、平均绝对误差(MAE)、决定系数(R)和相关性分析对模型进行训练和评估。关键变量包括身高(厘米)、体重(千克)、年龄(岁)和性别。
XGBoost模型表现出卓越的临床精度,测试RMSE最低(9.15毫米),MAE为(7.56毫米),R为0.871,解释了钉长度方差的87.1%。虽然随机森林模型的R最高(0.874)且相关系数(r = 0.935),但在误差指标方面XGBoost优于所有模型,这对于将手术并发症降至最低至关重要。变量重要性分析确定身高是最具影响力的因素,其次是体重和年龄。所有模型在±15毫米误差范围内均达到了可接受的准确率(≥86.21%),与术中调整相兼容。
与传统方法相比,机器学习,尤其是XGBoost,显著改善了胫骨髓内钉长度的术前预测。