A machine learning-based framework for predicting postpartum chronic pain: a retrospective study.

IF 3.3 3区 医学 Q2 MEDICAL INFORMATICS
Fan Liu, Ting Li, Dongxu Zhou, Shengnan Shi, Xingrui Gong
{"title":"A machine learning-based framework for predicting postpartum chronic pain: a retrospective study.","authors":"Fan Liu, Ting Li, Dongxu Zhou, Shengnan Shi, Xingrui Gong","doi":"10.1186/s12911-025-03004-9","DOIUrl":null,"url":null,"abstract":"<p><strong>Background: </strong>Postpartum chronic pain is prevalent, affecting many women after delivery. Machine learning algorithms have been widely used in predicting postoperative conditions. We investigated the prevalence of and risk factors for postpartum chronic pain, and aimed to develop a machine learning model for its prediction.</p><p><strong>Methods: </strong>Pregnant women in our tertiary hospital were screened from July 2021 to June 2022. Postoperative pain intensity was assessed using the numerical rating scale at 1, 3, and 6 months after delivery. Six machine learning algorithms were benchmarked using the nested resampling method, and their performance was evaluated based on classification error (CE). The algorithm with the best performance evaluation was used to establish the model for predicting chronic pain 6 months after delivery. Shapley additive explanations analysis was used to assess the contribution of each variable to the model.</p><p><strong>Results: </strong>A total of 1,398 postpartum women were included for analysis, among whom 383 developed chronic pain 6 months after delivery. The least absolute shrinkage selection operator identified five relevant factors: numerical rating scale at 3 days after delivery, body mass index before delivery, newborn weight, multiparous delivery, and back pain during gestation. The CEs for the algorithms were as follows: K-nearest neighbor, 0.212; logistic regression, 0.342; linear discriminant analysis, 0.343; naive Bayes, 0.346; ranger, 0.219; and extreme gradient boosting model, 0.147. The extreme gradient boosting model exhibited the best performance (CE = 0.147, F1 = 0.851) and was selected for model establishment. Visualization using Shapley additive explanations facilitated the interpretation of the influence of the five variables in the model.</p><p><strong>Conclusions: </strong>The extreme gradient boosting algorithm, which incorporates five risk factors, demonstrated strong performance in predicting postpartum chronic pain.</p><p><strong>Trial registration: </strong>https//www.chictr.org.cn/ (ChiCTR2300070514).</p>","PeriodicalId":9340,"journal":{"name":"BMC Medical Informatics and Decision Making","volume":"25 1","pages":"168"},"PeriodicalIF":3.3000,"publicationDate":"2025-04-17","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC12007194/pdf/","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"BMC Medical Informatics and Decision Making","FirstCategoryId":"3","ListUrlMain":"https://doi.org/10.1186/s12911-025-03004-9","RegionNum":3,"RegionCategory":"医学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"MEDICAL INFORMATICS","Score":null,"Total":0}
引用次数: 0

Abstract

Background: Postpartum chronic pain is prevalent, affecting many women after delivery. Machine learning algorithms have been widely used in predicting postoperative conditions. We investigated the prevalence of and risk factors for postpartum chronic pain, and aimed to develop a machine learning model for its prediction.

Methods: Pregnant women in our tertiary hospital were screened from July 2021 to June 2022. Postoperative pain intensity was assessed using the numerical rating scale at 1, 3, and 6 months after delivery. Six machine learning algorithms were benchmarked using the nested resampling method, and their performance was evaluated based on classification error (CE). The algorithm with the best performance evaluation was used to establish the model for predicting chronic pain 6 months after delivery. Shapley additive explanations analysis was used to assess the contribution of each variable to the model.

Results: A total of 1,398 postpartum women were included for analysis, among whom 383 developed chronic pain 6 months after delivery. The least absolute shrinkage selection operator identified five relevant factors: numerical rating scale at 3 days after delivery, body mass index before delivery, newborn weight, multiparous delivery, and back pain during gestation. The CEs for the algorithms were as follows: K-nearest neighbor, 0.212; logistic regression, 0.342; linear discriminant analysis, 0.343; naive Bayes, 0.346; ranger, 0.219; and extreme gradient boosting model, 0.147. The extreme gradient boosting model exhibited the best performance (CE = 0.147, F1 = 0.851) and was selected for model establishment. Visualization using Shapley additive explanations facilitated the interpretation of the influence of the five variables in the model.

Conclusions: The extreme gradient boosting algorithm, which incorporates five risk factors, demonstrated strong performance in predicting postpartum chronic pain.

Trial registration: https//www.chictr.org.cn/ (ChiCTR2300070514).

预测产后慢性疼痛的基于机器学习的框架:一项回顾性研究。
背景:产后慢性疼痛是一种普遍现象,影响了许多分娩后的妇女。机器学习算法已广泛用于预测术后情况。我们调查了产后慢性疼痛的患病率和危险因素,并旨在开发一个机器学习模型来预测产后慢性疼痛。方法:对2021年7月至2022年6月在我院三级医院就诊的孕妇进行筛查。术后疼痛强度在分娩后1、3、6个月采用数值评定量表进行评估。采用嵌套重采样方法对6种机器学习算法进行了基准测试,并基于分类误差(CE)对其性能进行了评价。采用性能评价最佳的算法建立分娩后6个月慢性疼痛预测模型。沙普利加性解释分析用于评估每个变量对模型的贡献。结果:共1398名产后妇女纳入分析,其中383人在分娩后6个月出现慢性疼痛。最小绝对收缩选择算子确定了5个相关因素:分娩后3天的数值评定量表、分娩前的体重指数、新生儿体重、多胎分娩和妊娠期间的背部疼痛。各算法的ce值为:k最近邻,0.212;Logistic回归,0.342;线性判别分析,0.343;朴素贝叶斯,0.346;管理员,0.219;极值梯度助推模型为0.147。极值梯度增强模型表现最佳(CE = 0.147, F1 = 0.851),选择极值梯度增强模型建立模型。使用Shapley加性解释的可视化有助于解释模型中五个变量的影响。结论:结合5个危险因素的极端梯度增强算法在预测产后慢性疼痛方面表现出较强的性能。试用注册:https//www.chictr.org.cn/ (ChiCTR2300070514)。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
CiteScore
7.20
自引率
5.70%
发文量
297
审稿时长
1 months
期刊介绍: BMC Medical Informatics and Decision Making is an open access journal publishing original peer-reviewed research articles in relation to the design, development, implementation, use, and evaluation of health information technologies and decision-making for human health.
×
引用
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学术官方微信