Application of XGBoost in the prediction of acute postoperative pain after major noncardiac surgery in older patients.

IF 2.8 3区 医学 Q2 NEUROSCIENCES
Molecular Pain Pub Date : 2025-01-01 Epub Date: 2025-08-26 DOI:10.1177/17448069251376199
Yang Sun, Kang Yu, Leyao Du, Xiaoyun Hu, Weixuan Sheng, Dongxin Wang, Huihui Miao
{"title":"Application of XGBoost in the prediction of acute postoperative pain after major noncardiac surgery in older patients.","authors":"Yang Sun, Kang Yu, Leyao Du, Xiaoyun Hu, Weixuan Sheng, Dongxin Wang, Huihui Miao","doi":"10.1177/17448069251376199","DOIUrl":null,"url":null,"abstract":"<p><strong>Background: </strong>Acute postoperative pain (APP) are key factors in the recovery of surgical patients after surgery. This study used the machine learning eXtreme Gradient Boosting (XGBoost) algorithm for the prediction of acute postoperative pain after major noncardiac surgery in older patients.</p><p><strong>Methods: </strong>This was a secondary analysis of data from a randomized controlled trial containing 1720 older patients undergoing general anesthesia. The training and test sets were divided according to the timeline. The Boruta function was made to screen for relevant characteristic variables. The XGBoost model was built on the training set using 10-fold cross-validation and hyperparameter optimization, and the tuned optimal model plotted the importance ranking diagram of feature variables, partial dependence profile (PDP) and Break down profile (BDP). The optimal model was used to calculate the confusion matrices and their parameters for the training and validation sets, and to plot the receiver operating characteristic curve (ROC), precision recall curve (PRC), calibration curve and Clinical decision curve (CDC) on the validation set.</p><p><strong>Results: </strong>The Boruta function was used to screen the relevant characteristic variables, and the screened postoperative acute pain characteristic variables were CHARLSON score, Mini-Mental State Examination (MMSE), duration of surgery, preoperative depression score, smoking or not, duration of anesthesia, intraoperative mean heart rate, lidocaine dosage, age, intraoperative morphine dosage, grouping, preoperative anxiety score, loperamide dosage, intraoperative colloid amount, APACHE -II score, postoperative ICU or not, surgical site and postoperative tracheal intubation or not. Test set and validation set accuracy (ACC) for acute postoperative pain: 0.921 and 0.871; AUC-ROC: 0.964 and 0.920; AUC-PRC: 0.983 and 0.959; Brier: 0.067 and 0.098; Matthews Correlation Coefficient (MCC): 0.847 and 0.746.</p><p><strong>Conclusions: </strong>A high-performance algorithm was developed and validated to predict the degree of change in postoperative pain; controlling important characterizing variables may be helpful for postoperative analgesia.</p>","PeriodicalId":19010,"journal":{"name":"Molecular Pain","volume":" ","pages":"17448069251376199"},"PeriodicalIF":2.8000,"publicationDate":"2025-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC12464423/pdf/","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Molecular Pain","FirstCategoryId":"3","ListUrlMain":"https://doi.org/10.1177/17448069251376199","RegionNum":3,"RegionCategory":"医学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2025/8/26 0:00:00","PubModel":"Epub","JCR":"Q2","JCRName":"NEUROSCIENCES","Score":null,"Total":0}
引用次数: 0

Abstract

Background: Acute postoperative pain (APP) are key factors in the recovery of surgical patients after surgery. This study used the machine learning eXtreme Gradient Boosting (XGBoost) algorithm for the prediction of acute postoperative pain after major noncardiac surgery in older patients.

Methods: This was a secondary analysis of data from a randomized controlled trial containing 1720 older patients undergoing general anesthesia. The training and test sets were divided according to the timeline. The Boruta function was made to screen for relevant characteristic variables. The XGBoost model was built on the training set using 10-fold cross-validation and hyperparameter optimization, and the tuned optimal model plotted the importance ranking diagram of feature variables, partial dependence profile (PDP) and Break down profile (BDP). The optimal model was used to calculate the confusion matrices and their parameters for the training and validation sets, and to plot the receiver operating characteristic curve (ROC), precision recall curve (PRC), calibration curve and Clinical decision curve (CDC) on the validation set.

Results: The Boruta function was used to screen the relevant characteristic variables, and the screened postoperative acute pain characteristic variables were CHARLSON score, Mini-Mental State Examination (MMSE), duration of surgery, preoperative depression score, smoking or not, duration of anesthesia, intraoperative mean heart rate, lidocaine dosage, age, intraoperative morphine dosage, grouping, preoperative anxiety score, loperamide dosage, intraoperative colloid amount, APACHE -II score, postoperative ICU or not, surgical site and postoperative tracheal intubation or not. Test set and validation set accuracy (ACC) for acute postoperative pain: 0.921 and 0.871; AUC-ROC: 0.964 and 0.920; AUC-PRC: 0.983 and 0.959; Brier: 0.067 and 0.098; Matthews Correlation Coefficient (MCC): 0.847 and 0.746.

Conclusions: A high-performance algorithm was developed and validated to predict the degree of change in postoperative pain; controlling important characterizing variables may be helpful for postoperative analgesia.

EXPRESS: XGBoost在老年非心脏大手术患者术后急性疼痛预测中的应用。
背景:急性术后疼痛(APP)是影响手术患者术后恢复的关键因素。本研究使用机器学习极限梯度增强(XGBoost)算法预测老年患者重大非心脏手术后急性术后疼痛。方法:这是对一项随机对照试验数据的二次分析,该试验包含1720名接受全身麻醉的老年患者。根据时间线划分训练集和测试集。利用Boruta函数筛选相关特征变量。通过10倍交叉验证和超参数优化,在训练集上建立XGBoost模型,调整后的最优模型绘制了特征变量、部分依赖剖面(PDP)和分解剖面(BDP)的重要性排序图。利用最优模型计算训练集和验证集的混淆矩阵及其参数,并在验证集上绘制受试者工作特征曲线(ROC)、精确召回率曲线(PRC)、校准曲线和临床决策曲线(CDC)。结果:采用Boruta函数筛选相关特征变量,筛选出的术后急性疼痛特征变量为CHARLSON评分、最小精神状态检查(MMSE)、手术时间、术前抑郁评分、是否吸烟、麻醉时间、术中平均心率、利多卡因用量、年龄、术中吗啡用量、分组、术前焦虑评分、洛哌丁胺用量、术中胶质量、APACHE -II评分、术后是否ICU,手术部位及术后是否气管插管。术后急性疼痛的检验集和验证集准确度(ACC)分别为0.921和0.871;AUC-ROC: 0.964、0.920;AUC-PRC: 0.983和0.959;荆棘:0.067和0.098;马修斯相关系数(MCC): 0.847和0.746。结论:开发并验证了一种高性能算法来预测术后疼痛的变化程度;控制重要的特征变量可能有助于术后镇痛。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Molecular Pain
Molecular Pain 医学-神经科学
CiteScore
5.60
自引率
3.00%
发文量
56
审稿时长
6-12 weeks
期刊介绍: Molecular Pain is a peer-reviewed, open access journal that considers manuscripts in pain research at the cellular, subcellular and molecular levels. Molecular Pain provides a forum for molecular pain scientists to communicate their research findings in a targeted manner to others in this important and growing field.
×
引用
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学术文献互助群
群 号:604180095
Book学术官方微信