开发和验证机器学习模型来预测全膝关节置换术后的慢性疼痛

IF 1.6 4区 医学 Q3 ORTHOPEDICS
Knee Pub Date : 2025-05-21 DOI:10.1016/j.knee.2025.05.011
Ziliang Cheng , Jingjing Li , Weishan Wu , Jiguang Yin , Xiangpeng Wang
{"title":"开发和验证机器学习模型来预测全膝关节置换术后的慢性疼痛","authors":"Ziliang Cheng ,&nbsp;Jingjing Li ,&nbsp;Weishan Wu ,&nbsp;Jiguang Yin ,&nbsp;Xiangpeng Wang","doi":"10.1016/j.knee.2025.05.011","DOIUrl":null,"url":null,"abstract":"<div><h3>Objective</h3><div>This study aims to compare the performance of various machine learning algorithms in predicting chronic pain after total knee arthroplasty (CPSP).</div></div><div><h3>Methods</h3><div>Patients with CPSP after total knee arthroplasty at the same medical center between January 1, 2021, and January 1, 2023, were selected for this study. A retrospective cohort design was employed to collect samples, which were then randomly divided into a training set and a test set in a 7:3 ratio. Valid high-risk factors were identified using the Least Absolute Shrinkage and Selection Operator (LASSO) method. Subsequently, five predictive models were constructed and evaluated based on machine learning (ML) algorithms, including Decision Tree (DT), Light Gradient Boosting Machine (LGBM), Support Vector Machine (SVM), Random Forest (RF), and Extreme Gradient Boosting (XGBoost). In the test dataset, the model’s performance was evaluated using metrics including accuracy, precision, recall, specificity, F1-score, Brier score, and area under the curve (AUC). The Brier score helped identify the most suitable model, and SHAP values were explained to analyze the key factors affecting the predictions.</div></div><div><h3>Results</h3><div>This study enrolled 785 patients who underwent total knee arthroplasty, with 549 in the training − set and 236 in the test − set. The overall CPSP incidence was 39.6%. Nine high − risk factors were identified: hospital stay length, albumin levels, acute postoperative pain status (APSP), non-operative pain status, pain catastrophizing, osteoporosis, preoperative operative-area pain score, education level, and rehabilitation site. The AUC values were: DT(0.877), LGBM(0.914), SVM(0.890), RF(0.918), and XGBoost(0.898). The Brier scores were: DT (0.123), LGBM (0.119), SVM (0.126), RF (0.111), and XGBoost (0.124). These findings suggest that the RF model had the best performance.</div></div><div><h3>Conclusion</h3><div>The incidence of CPSP in TKA patients is high, which has a significant adverse effect on body function and needs to be paid attention to. Nine risk factors have been identified. RF model can effectively identify CPSP patients, which is helpful for clinical medical staff to early identify and intervene in high-risk patients.</div></div>","PeriodicalId":56110,"journal":{"name":"Knee","volume":"56 ","pages":"Pages 52-65"},"PeriodicalIF":1.6000,"publicationDate":"2025-05-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Developing and validating a machine learning model to predict chronic pain following total knee arthroplasty\",\"authors\":\"Ziliang Cheng ,&nbsp;Jingjing Li ,&nbsp;Weishan Wu ,&nbsp;Jiguang Yin ,&nbsp;Xiangpeng Wang\",\"doi\":\"10.1016/j.knee.2025.05.011\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><h3>Objective</h3><div>This study aims to compare the performance of various machine learning algorithms in predicting chronic pain after total knee arthroplasty (CPSP).</div></div><div><h3>Methods</h3><div>Patients with CPSP after total knee arthroplasty at the same medical center between January 1, 2021, and January 1, 2023, were selected for this study. A retrospective cohort design was employed to collect samples, which were then randomly divided into a training set and a test set in a 7:3 ratio. Valid high-risk factors were identified using the Least Absolute Shrinkage and Selection Operator (LASSO) method. Subsequently, five predictive models were constructed and evaluated based on machine learning (ML) algorithms, including Decision Tree (DT), Light Gradient Boosting Machine (LGBM), Support Vector Machine (SVM), Random Forest (RF), and Extreme Gradient Boosting (XGBoost). In the test dataset, the model’s performance was evaluated using metrics including accuracy, precision, recall, specificity, F1-score, Brier score, and area under the curve (AUC). The Brier score helped identify the most suitable model, and SHAP values were explained to analyze the key factors affecting the predictions.</div></div><div><h3>Results</h3><div>This study enrolled 785 patients who underwent total knee arthroplasty, with 549 in the training − set and 236 in the test − set. The overall CPSP incidence was 39.6%. Nine high − risk factors were identified: hospital stay length, albumin levels, acute postoperative pain status (APSP), non-operative pain status, pain catastrophizing, osteoporosis, preoperative operative-area pain score, education level, and rehabilitation site. The AUC values were: DT(0.877), LGBM(0.914), SVM(0.890), RF(0.918), and XGBoost(0.898). The Brier scores were: DT (0.123), LGBM (0.119), SVM (0.126), RF (0.111), and XGBoost (0.124). These findings suggest that the RF model had the best performance.</div></div><div><h3>Conclusion</h3><div>The incidence of CPSP in TKA patients is high, which has a significant adverse effect on body function and needs to be paid attention to. Nine risk factors have been identified. RF model can effectively identify CPSP patients, which is helpful for clinical medical staff to early identify and intervene in high-risk patients.</div></div>\",\"PeriodicalId\":56110,\"journal\":{\"name\":\"Knee\",\"volume\":\"56 \",\"pages\":\"Pages 52-65\"},\"PeriodicalIF\":1.6000,\"publicationDate\":\"2025-05-21\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Knee\",\"FirstCategoryId\":\"3\",\"ListUrlMain\":\"https://www.sciencedirect.com/science/article/pii/S0968016025001176\",\"RegionNum\":4,\"RegionCategory\":\"医学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q3\",\"JCRName\":\"ORTHOPEDICS\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Knee","FirstCategoryId":"3","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0968016025001176","RegionNum":4,"RegionCategory":"医学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"ORTHOPEDICS","Score":null,"Total":0}
引用次数: 0

摘要

目的比较不同机器学习算法在全膝关节置换术(CPSP)后慢性疼痛预测中的性能。方法选择于2021年1月1日至2023年1月1日在同一医疗中心接受全膝关节置换术后发生CPSP的患者进行研究。采用回顾性队列设计收集样本,然后按7:3的比例随机分为训练集和测试集。使用最小绝对收缩和选择算子(LASSO)方法确定有效的高风险因素。随后,基于决策树(DT)、光梯度增强机(LGBM)、支持向量机(SVM)、随机森林(RF)和极端梯度增强(XGBoost)五种机器学习算法构建并评估了五种预测模型。在测试数据集中,使用准确性、精密度、召回率、特异性、f1评分、Brier评分和曲线下面积(AUC)等指标来评估模型的性能。Brier评分有助于确定最合适的模型,并解释SHAP值来分析影响预测的关键因素。结果本研究纳入785例接受全膝关节置换术的患者,其中549例为训练组,236例为测试组。CPSP总发病率为39.6%。确定了9个高危因素:住院时间、白蛋白水平、术后急性疼痛状态(APSP)、非手术疼痛状态、疼痛灾难化、骨质疏松症、术前手术区疼痛评分、教育程度和康复地点。AUC分别为:DT(0.877)、LGBM(0.914)、SVM(0.890)、RF(0.918)、XGBoost(0.898)。Brier评分分别为:DT(0.123)、LGBM(0.119)、SVM(0.126)、RF(0.111)、XGBoost(0.124)。这些结果表明,射频模型具有最好的性能。结论TKA患者CPSP发生率高,对机体功能有明显不良影响,需要引起重视。已经确定了9个风险因素。RF模型能有效识别CPSP患者,有助于临床医护人员对高危患者进行早期识别和干预。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Developing and validating a machine learning model to predict chronic pain following total knee arthroplasty

Objective

This study aims to compare the performance of various machine learning algorithms in predicting chronic pain after total knee arthroplasty (CPSP).

Methods

Patients with CPSP after total knee arthroplasty at the same medical center between January 1, 2021, and January 1, 2023, were selected for this study. A retrospective cohort design was employed to collect samples, which were then randomly divided into a training set and a test set in a 7:3 ratio. Valid high-risk factors were identified using the Least Absolute Shrinkage and Selection Operator (LASSO) method. Subsequently, five predictive models were constructed and evaluated based on machine learning (ML) algorithms, including Decision Tree (DT), Light Gradient Boosting Machine (LGBM), Support Vector Machine (SVM), Random Forest (RF), and Extreme Gradient Boosting (XGBoost). In the test dataset, the model’s performance was evaluated using metrics including accuracy, precision, recall, specificity, F1-score, Brier score, and area under the curve (AUC). The Brier score helped identify the most suitable model, and SHAP values were explained to analyze the key factors affecting the predictions.

Results

This study enrolled 785 patients who underwent total knee arthroplasty, with 549 in the training − set and 236 in the test − set. The overall CPSP incidence was 39.6%. Nine high − risk factors were identified: hospital stay length, albumin levels, acute postoperative pain status (APSP), non-operative pain status, pain catastrophizing, osteoporosis, preoperative operative-area pain score, education level, and rehabilitation site. The AUC values were: DT(0.877), LGBM(0.914), SVM(0.890), RF(0.918), and XGBoost(0.898). The Brier scores were: DT (0.123), LGBM (0.119), SVM (0.126), RF (0.111), and XGBoost (0.124). These findings suggest that the RF model had the best performance.

Conclusion

The incidence of CPSP in TKA patients is high, which has a significant adverse effect on body function and needs to be paid attention to. Nine risk factors have been identified. RF model can effectively identify CPSP patients, which is helpful for clinical medical staff to early identify and intervene in high-risk patients.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
Knee
Knee 医学-外科
CiteScore
3.80
自引率
5.30%
发文量
171
审稿时长
6 months
期刊介绍: The Knee is an international journal publishing studies on the clinical treatment and fundamental biomechanical characteristics of this joint. The aim of the journal is to provide a vehicle relevant to surgeons, biomedical engineers, imaging specialists, materials scientists, rehabilitation personnel and all those with an interest in the knee. The topics covered include, but are not limited to: • Anatomy, physiology, morphology and biochemistry; • Biomechanical studies; • Advances in the development of prosthetic, orthotic and augmentation devices; • Imaging and diagnostic techniques; • Pathology; • Trauma; • Surgery; • Rehabilitation.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信