切换至 "中华医学电子期刊资源库"

中华临床医师杂志(电子版) ›› 2023, Vol. 17 ›› Issue (09) : 955 -961. doi: 10.3877/cma.j.issn.1674-0785.2023.09.005

临床研究

机器学习算法预测老年急性胆囊炎术后住院时间探索
郭震天, 张宗明(), 赵月, 刘立民, 张翀, 刘卓, 齐晖, 田坤   
  1. 100073 北京,国家电网公司北京电力医院普外科
  • 收稿日期:2023-03-30 出版日期:2023-09-15
  • 通信作者: 张宗明
  • 基金资助:
    北京市科技重大专项生物医药与生命科学创新培育研究(Z171100000417056); 国中康健集团科技项目(SGTYHT/21-JS-223)

Machine learning algorithms for predicting postoperative hospital stay in elderly patients with acute cholecystitis

Zhentian Guo, Zongming Zhang(), Yue Zhao, Limin Liu, Chong Zhang, Zhuo Liu, Hui Qi, Kun Tian   

  1. General Surgery Department, State Grid Corporation Beijing Electric Power Hospital, Beijing 100073, China
  • Received:2023-03-30 Published:2023-09-15
  • Corresponding author: Zongming Zhang
引用本文:

郭震天, 张宗明, 赵月, 刘立民, 张翀, 刘卓, 齐晖, 田坤. 机器学习算法预测老年急性胆囊炎术后住院时间探索[J]. 中华临床医师杂志(电子版), 2023, 17(09): 955-961.

Zhentian Guo, Zongming Zhang, Yue Zhao, Limin Liu, Chong Zhang, Zhuo Liu, Hui Qi, Kun Tian. Machine learning algorithms for predicting postoperative hospital stay in elderly patients with acute cholecystitis[J]. Chinese Journal of Clinicians(Electronic Edition), 2023, 17(09): 955-961.

目的

探讨老年急性胆囊炎(AC)患者术后住院时间(POHS)的主要影响因素及预测指标,对比机器学习算法(MLA)与多元线性回归模型(MLR)建立其预测模型的优缺点。

方法

回顾性分析2013年8月~2022年7月北京电力医院普外科手术治疗的287例老年AC患者的临床资料,将POHS分为正常住院时间(ND)组(POHS≤6 d)和长住院时间(LD)组(POHS>6 d),应用MLA与MLR构建预测模型,探讨围手术期变量与POHS的关系,绘制受试者工作特征(ROC)曲线。

结果

287例老年AC手术患者,根据MLA的逻辑回归(LR)、决策树(DT)、朴素贝叶斯(NB)、随机森林(RF)、K最邻近(KNN)算法构建POHS预测模型,绘制ROC曲线,准确率分别为87.9%、84.4%、86.2%、91.3%、74.1%,AUC分别为0.964、0.707、0.973、0.978、0.816,表明上述5种MLA预测模型均具有较好的POHS预测能力。MLR提示合并糖尿病、术前血清白蛋白(ALB)降低、术中出血量多、术后病理报告胆囊化脓或坏疽、术后并发症为老年AC患者POHS的独立危险因素,ROC曲线显示术前ALB的AUC为0.726、术中出血量AUC为0.778,二者的截断值分别是37.35 g/L、12.50 ml。对比两个预测模型,结果发现MLA在预测POHS准确性上优势明显,尤其是其随机森林(RF)算法的准确率最高,而MLR可更为直观地展现预测模型的独立危险因素。

结论

MLA的随机森林算法能更准确预测老年AC患者POHS,MLR提示合并糖尿病、术前ALB降低、术中出血量多、术后病理报告胆囊化脓或坏疽、术后并发症是POHS延长的独立预测因素,据此及时采取有效防治措施,可以缩短POHS,提高医疗质量和服务效率,因此具有临床指导意义。

Objective

To explore the main influencing factors and predictors of postoperative hospital stay (POHS) in elderly patients with acute cholecystitis (AC), and compare the advantages and disadvantages of machine learning algorithms (MLAs) and multiple linear regression (MLR) in establishing prediction models for POHS.

Methods

The clinical data of 287 elderly AC patients treated by general surgery at Beijing Electric Power Hospital from August 2013 to July 2022 were retrospectively analyzed. Based on the duration of POHS, the patients were divided into a normal duration (ND) group (POHS≤6 days) and a long duration (LD) group (POHS>6 days). Prediction models were built using MLAs and MLR to explore the relationship between perioperative variables and POHS, and receiver operating characteristic (ROC) curve analysis was performed to assess the prediction performance of the models.

Results

Based on the clinical data of 287 elderly patients with AC surgery, POHS prediction models were established using the MLAs logistic regression (LR), decision tree (DT), naive Bayes (NB), random forest (RF), and K nearest neighbor (KNN), and ROC curves were plotted. The accuracy rates of these models were 87.9%, 84.4%, 86.2%, 91.3%, and 74.1%, and their AUC (area under the curve) values were 0.964, 0.707, 0.973, 0.978, and 0.816, respectively, indicating that these five MLA prediction models all had good prediction performance for POHS. MLR suggested that the combination of diabetes, decreased preoperative serum albumin (ALB), high intraoperative blood loss, postoperative pathological report of suppuration or gangrene of the gallbladder, and postoperative complications were independent risk factors for POHS in elderly patients with AC after surgery. ROC curve analysis showed that the AUC values of preoperative ALB and intraoperative blood loss for POHS prediction were 0.726 and 0.778, with the cut-off values of 37.35 g/L and 12.50 ml, respectively. Comparing the prediction models developed based on MLAs and MLR, it was found that MLAs had obvious advantages in the predictive accuracy for POHS, with the RF algorithm having the highest accuracy. MLR can more intuitively display the independent risk factors of the prediction model.

Conclusion

The RF algorithm can more accurately predict POHS in elderly AC patients. MLR suggests that diabetes, preoperative ALB reduction, high intraoperative blood loss, postoperative pathological reports of gallbladder suppuration or gangrene, and postoperative complications are independent predictors of POHS prolongation. Therefore, timely and effective prevention and treatment measures can shorten POHS, improve medical quality and service efficiency, and are of great clinical significance.

表1 老年AC患者病例资料与实验室检查
表2 老年AC术中指标及术后病理
表3 老年AC术后并发症
图1 老年AC患者POHS的数据分布:回归标准化残差的直方图 注:AC为急性胆囊炎;POHS为术后住院时间
表4 老年AC影响POHS因素的多因素分析
图2 多元线性回归模型评估老年急性胆囊炎患者术后住院时间的ROC曲线
图3 老年AC患者围术期独立危险因素特征相关热图
表5 老年AC患者五种MLA算法评价
图4 五种机器学习算法评估老年急性胆囊炎患者术后住院时间的ROC曲线
1
Zhang Z, Dong J, Lin F, et al. Focus on the hotspots and difficulties of biliary surgery in older patients [J]. Chin Med J (Engl), 2023, 136(7): 1037-1046.
2
Yokoe M, Hata J, Takada T, et al. Tokyo Guidelines 2018: diagnostic criteria and severity grading of acute cholecystitis (with videos) [J]. J Hepatobiliary Pancreat Sci, 2018, 25(1): 41-54
3
Morimoto Y, Mizuno H, Akamaru Y, et alPredicting prolonged hospital stay after laparoscopic cholecystectomy [J]. Asian J Endosc Surg, 2015, 8(3): 289-295.
4
Nick TG, Campbell KM. Logistic regression [J]. Methods Mol Biol, 2007, 404: 273-301.
5
Jiang H, Mao H, Lu H, et al. Machine learning-based models to support decision-making in emergency department triage for patients with suspected cardiovascular disease [J]. Int J Med Inform, 2021, 145: 104326.
6
Sugahara S, Ueno M. Exact learning augmented naive bayes classifier [J]. Entropy (Basel), 2021, 23(12): 1703.
7
Rigatti SJ. Random forest [J]. J Insur Med, 2017, 47(1): 31-39.
8
Salvador-Meneses J, Ruiz-Chavez Z, Garcia-Rodriguez J. Compressed kNN: K-Nearest neighbors with data compression [J]. Entropy (Basel), 2019, 21(3): 234.
9
Zhang Z, Zhao Y, Lin F, et al. Protective and therapeutic experience of perioperative safety in extremely elderly patients with biliary diseases [J]. Medicine (Baltimore), 2021, 100(21): e26159.
10
Irigonhê ATD, Franzoni AAB, Teixeira HW, et al. Epidemiological and clinical assessment of patients undergoing videolaparoscopic cholecystectomy at a curitiba teaching hospital [J]. Rev Col Bras Cir, 2020, 47: e20202388.
11
Hussain A. Difficult laparoscopic cholecystectomy: current evidence and strategies of management [J]. Surg Laparosc Endosc Percutan Tech, 2011, 21(4): 211-217.
12
Dolan JP, Diggs BS, Sheppard BC, et al. The national mortality burden and significant factors associated with open and laparoscopic cholecystectomy: 1997~2006 [J]. J Gastrointest Surg, 2009, 13(12): 2292-2301.
13
Kologlu M, Tutuncu T, Yuksek YN, et al. Using a risk score for conversion from laparoscopic to open cholecystectomy in resident training [J]. Surgery, 2004, 135(3): 282-287.
14
Buia A, Stockhausen F, Filmann N, et al. 2D vs. 3D imaging in laparoscopic surgery-results of a prospective randomized trial [J]. Langenbecks Arch Surg, 2017, 402(8): 1241-1253.
15
Yetkin G, Uludag M, Citgez B, et al. Predictive factors for conversion of laparoscopic cholecystectomy in patients with acute cholecystitis [J]. Bratisl Lek Listy, 2009, 110(11): 688-691.
16
Rosen M, Brody F, Ponsky J. Predictive factors for conversion of laparoscopic cholecystectomy [J]. Am J Surg, 2002, 184(3): 254-258.
17
Ko-Iam W, Sandhu T, Paiboonworachat S, et al. Predictive factors for a long hospital stay in patients undergoing laparoscopic cholecystectomy [J]. Int J Hepatol, 2017, 2017: 5497936.
18
Inukai K. Predictive factors for a long postoperative stay after emergency laparoscopic cholecystectomy using the 2013 Tokyo guidelines: A retrospective study [J]. Minim Invasive Surg, 2019, 2019: 3942584.
19
Shiraki T, Iida O, Takahara M, et al. Predictors of delayed wound healing after endovascular therapy of isolated infrapopliteal lesions underlying critical limb ischemia in patients with high prevalence of diabetes mellitus and hemodialysis [J]. Eur J Vasc Endovasc Surg, 2015, 49(5): 565-573.
20
Azuma N, Uchida H, Kokubo T, et al. Factors influencing wound healing of critical ischaemic foot after bypass surgery: Is the angiosome important in selecting bypass target artery? [J]. Eur J Vasc Endovasc Surg, 2012, 43(3): 322-328.
21
Takahara M, Iida O, Soga Y, et al. Length and cost of hospital stay in poor-risk patients with critical limb ischemia undergoing revascularization [J]. Circ J, 2018, 82(10): 2634-2639.
22
Huang Y, Mao Y, Xu L, et al. Exploring risk factors for cervical lymph node metastasis in papillary thyroid microcarcinoma: construction of a novel population-based predictive model [J]. BMC Endocr Disord, 2022, 22(1): 269.
23
张驰, 李彦青, 刘德平, 等. 临床医学研究生学习行为的预测模型研究-线性回归和机器学习的对比分析 [J]. 中华医学教育探索杂志, 2021, 20(3): 350-355.
[1] 李晓玉, 江庆, 汤海琴, 罗静枝. 围手术期综合管理对胆总管结石并急性胆管炎患者ERCP +LC术后心肌损伤的影响研究[J]. 中华普外科手术学杂志(电子版), 2024, 18(01): 57-60.
[2] 甄子铂, 刘金虎. 基于列线图模型探究静脉全身麻醉腹腔镜胆囊切除术患者术后肠道功能紊乱的影响因素[J]. 中华普外科手术学杂志(电子版), 2024, 18(01): 61-65.
[3] 李凤仪, 李若凡, 高旭, 张超凡. 目标导向液体干预对老年胃肠道肿瘤患者术后血流动力学、胃肠功能恢复的影响[J]. 中华普外科手术学杂志(电子版), 2024, 18(01): 29-32.
[4] 易明超, 汪鑫, 向涵, 苏怀东, 张伟. 一种T型记忆金属线在经脐单孔腹腔镜胆囊切除术中的临床应用[J]. 中华普外科手术学杂志(电子版), 2023, 17(06): 599-599.
[5] 易明超, 汪鑫, 向涵, 苏怀东, 张伟. 一种T型记忆金属线在经脐单孔腹腔镜胆囊切除术中的临床应用[J]. 中华普外科手术学杂志(电子版), 2023, 17(06): 599-599.
[6] 晏晴艳, 雍晓梅, 罗洪, 杜敏. 成都地区老年转移性乳腺癌的预后及生存因素研究[J]. 中华普外科手术学杂志(电子版), 2023, 17(06): 636-638.
[7] 鲁鑫, 许佳怡, 刘洋, 杨琴, 鞠雯雯, 徐缨龙. 早期LC术与PTCD续贯LC术治疗急性胆囊炎对患者肝功能及预后的影响比较[J]. 中华普外科手术学杂志(电子版), 2023, 17(06): 648-650.
[8] 张建波, 东爱华. 不同腹腔镜手术治疗胆囊结石合并胆总管结石的疗效及并发症对比[J]. 中华普外科手术学杂志(电子版), 2023, 17(06): 693-696.
[9] 宋红霞, 杨英, 陈芳. 老年COPD患者并发骨质疏松症相关危险因素的研究进展[J]. 中华肺部疾病杂志(电子版), 2023, 16(06): 895-898.
[10] 王晓栋, 蔡凤军, 白燕萍, 杨永生. ICG荧光导航在腹腔镜胆囊切除术中应用的关键问题探讨[J]. 中华肝脏外科手术学电子杂志, 2024, 13(01): 16-20.
[11] 张天献, 吕云福, 郑进方. LC+LCBDE与ERCP/EST+LC治疗胆囊结石合并胆总管结石效果Meta分析[J]. 中华肝脏外科手术学电子杂志, 2024, 13(01): 45-50.
[12] 牛朝, 李波, 张万福, 靳文帝, 王春晓, 李晓刚. 腹腔镜袖状胃切除联合胆囊切除治疗肥胖合并胆囊结石安全性和疗效[J]. 中华肝脏外科手术学电子杂志, 2023, 12(06): 635-639.
[13] 陈意志. 老年人肾小球滤过率估算公式的选择及预后意义:基于循证医学的证据解读[J]. 中华肾病研究电子杂志, 2023, 12(06): 360-360.
[14] 单秋洁, 孙立柱, 徐宜全, 王之霞, 徐妍, 马浩, 刘田田. 中老年食管癌患者调强放射治疗期间放射性肺损伤风险模型构建及应用[J]. 中华消化病与影像杂志(电子版), 2023, 13(06): 388-393.
[15] 姜里蛟, 张峰, 周玉萍. 多学科诊疗模式救治老年急性非静脉曲张性上消化道大出血患者的临床观察[J]. 中华消化病与影像杂志(电子版), 2023, 13(06): 520-524.
阅读次数
全文


摘要