Yang Sun, Kang Yu, Leyao Du, Xiaoyun Hu, Weixuan Sheng, Dongxin Wang, Huihui Miao
{"title":"EXPRESS: XGBoost在老年非心脏大手术患者术后急性疼痛预测中的应用。","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":"{\"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}","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}
Application of XGBoost in the prediction of acute postoperative pain after major noncardiac surgery in older patients.
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.
期刊介绍:
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.