Department of Orthopaedics, Peking University Third Hospital, 49 North Garden Rd, Haidian District, Beijing 100191, China; Engineering Research Center of Bone and Joint Precision Medicine, Ministry of Education, Peking University Third Hospital, 49 North Garden Rd, Haidian District, Beijing 100191, China.
Department of Orthopaedics, Peking University Third Hospital, 49 North Garden Rd, Haidian District, Beijing 100191, China; Engineering Research Center of Bone and Joint Precision Medicine, Ministry of Education, Peking University Third Hospital, 49 North Garden Rd, Haidian District, Beijing 100191, China.
Injury. 2024 Nov;55(11):111830. doi: 10.1016/j.injury.2024.111830. Epub 2024 Aug 22.
This study aimed to use machine learning (ML) to establish risk factor and prediction models of osteonecrosis of the femoral head (ONFH) in patients with femoral neck fractures (FNFs) after internal fixation.
We retrospectively collected clinical data of patients with FNFs who were followed up for at least 2 years. Only intracapsular FNFs were included. In total, 437 patients and 24 variables were enrolled. The entire dataset was divided into training (89.5 %) and test (10.5 %) datasets. Six models-logistic regression, naive Bayes, decision tree, random forest, multilayer perceptron, and AdaBoost-were established and validated for predicting postoperative ONFH. We compared the area under the receiver operating characteristic curve (AUC), accuracy, recall, and F1 score of different models. In addition, a confusion matrix, density curve, and learning curve were used to evaluate the model performance.
The logistic regression model performed best at predicting ONFH in patients with FNFs undergoing internal fixation surgery, with an AUC, accuracy, recall, F1 score, and prediction value of 0.84, 0.89, 1.00, 0.94, and 89.1 %, respectively. The learning and density curves demonstrated a good prediction fitting degree and distinct separation. When establishing the ML models, the reduction quality, internal fixation removal, American Society of Anesthesiologists classification, injury mechanism, and displacement distance of the medial cortex were the top five risk factors positively correlated with the occurrence of ONFH.
The logistic regression model had excellent performance in predicting ONFH in patients with FNFs after internal fixation and could provide valuable guidance in clinical decision-making. When choosing treatment options for patients with FNFs, doctors should identify the risk factors and consider using the presented models to help anticipate outcomes and select individualised treatment.
本研究旨在利用机器学习(ML)建立股骨颈骨折(FNF)内固定术后股骨头坏死(ONFH)的危险因素和预测模型。
我们回顾性收集了至少随访 2 年的 FNF 患者的临床资料。仅纳入囊内 FNF。共纳入 437 例患者和 24 个变量。整个数据集分为训练(89.5%)和测试(10.5%)数据集。建立并验证了 6 种模型-逻辑回归、朴素贝叶斯、决策树、随机森林、多层感知机和 AdaBoost-用于预测术后 ONFH。我们比较了不同模型的受试者工作特征曲线(ROC)下面积(AUC)、准确性、召回率和 F1 评分。此外,还使用混淆矩阵、密度曲线和学习曲线来评估模型性能。
逻辑回归模型在预测 FNF 内固定术后患者 ONFH 方面表现最佳,AUC、准确性、召回率、F1 评分和预测值分别为 0.84、0.89、1.00、0.94 和 89.1%。学习曲线和密度曲线显示出良好的预测拟合度和明显的分离度。在建立 ML 模型时,与 ONFH 发生相关的前五个正相关危险因素是降低质量、内固定物取出、美国麻醉师协会分级、损伤机制和内侧皮质位移。
逻辑回归模型在预测 FNF 内固定术后 ONFH 方面具有优异的性能,可以为临床决策提供有价值的指导。在为 FNF 患者选择治疗方案时,医生应识别危险因素,并考虑使用本研究提出的模型来帮助预测结果并选择个体化治疗。