基于机器学习的结直肠癌术后并发症风险预测模型的构建与验证OA
Construction and validation of a risk prediction model for postoperative complications of colorectal cancer based on machine learning
目的:构建并验证基于机器学习的结直肠癌术后并发症风险预测模型,识别影响并发症发生的关键特征.方法:回顾性选取2023年1月—2025年10月河北省沧州中西医结合医院收治的300例结直肠癌患者,收集病历及生化数据.于术后30 d回访,根据是否发生并发症将患者分为发生组和未发生组.通过相关性分析筛选结直肠癌术后并发症发生的相关风险因素.使用随机森林、XGBoost、神经网络构建并发症风险预测模型,采用 5 折交叉验证,利用受试者工作特征(ROC)曲线下面积(AUC)分析模型诊断效能.结果:在分类变量中,两组分化程度、ASA 分级、术中失血量≥100 mL、吸烟史、饮酒史、糖尿病、高血压、患者主观整体评估量表(PG-SGA)评分≥4分及癌胚抗原(CEA)水平比较,差异有统计学意义(P<0.001).在连续变量中,发生组年龄、中性粒细胞计数、CRP 及白蛋白水平均显著高于未发生组(P<0.001).相关性分析显示,以上变量均与并发症发生呈中度或高度正相关.随机森林模型权重排名前五的特征依次为:CRP(0.390)、白蛋白(0.164)、中性粒细胞计数(0.073)、术中失血量≥100 mL(0.072)、吸烟史(0.057);XGBoost 模型权重排名前五的特征依次为:CRP(0.528)、中性粒细胞计数(0.132)、年龄(0.095)、ASA 分级(0.049)、PG-SGA 评分≥4 分(0.042);神经网络模型权重排名前五的特征依次为:CRP(0.720)、PG-SGA评分≥4 分(0.071)、年龄(0.065)、术中失血量≥100 mL(0.042)、分化程度(0.030).CRP 是三种模型中权重均最高的共同核心特征;年龄、PG-SGA 评分≥4 分、中性粒细胞计数、术中失血量≥100 mL 在至少两种模型中位列前五,为模型共同识别的重要特征.模型验证显示,在阈值为 0.24 时,XGBoost 与随机森林模型净收益显著高于神经网络,且能够实现完美风险分层(TP=75,FP=0,FN=0);XGBoost 与随机森林的 AUC均达0.98以上,灵敏度均达0.98以上,特异度均达0.99以上,神经网络AUC为0.951(95%CI:0.912~0.990),灵敏度为0.907、特异度为 0.996.结论:通过多种机器学习分析,CRP 为结直肠癌术后并发症风险的最佳指标,年龄、PG-SGA 评分≥4 分、中性粒细胞计数、术中失血量≥100 mL 为模型共同识别的重要特征,可为临床早期筛选肠癌术后并发症高风险患者提供便捷有效的工具.
Objective:To construct and validate a risk prediction model for postoperative complications of colorectal cancer based on machine learning by retrospectively analyzing patient medical data,and to identify key features affecting the occurrence of complications.Methods:A retrospective analysis was conducted on 300 colorectal cancer patients who were treated at Cangzhou Hospital of Integrated TCM-WM·Hebei from January 2023 to October 2025.Medical records and biochemical data were collected.Patients were followed up at 30 days postoperatively and divided into complication group and non-complication group based on complication occurrence.Correlation analysis was used to screen risk factors associated with postoperative complications.Random forest(RF),XGBoost,and neural network(NN)models were constructed to predict complication risk.Five-fold cross-validation was used,and diagnostic performance was evaluated using the area under the receiver operating characteristic curve(AUC).Results:Comparison between the complication group and the non-complication group indicated that for categorical variables,significant differences were observed in tumor differentiation grade,ASA classification,intraoperative blood loss≥100 mL,smoking history,alcohol history,diabetes,hypertension,patient-generated subjective global assessment(PG-SGA)score≥4,and carcinoembryonic antigen(CEA)elevation(P<0.001).For continuous variables,the complication group had significantly higher age,neutrophil count,CRP levels and albumin levels than the non-complication group(P<0.001).Correlation analysis indicated the above variables had medium to high positive correlation with complication occurrence.The top five features by weight in the RF model were CRP(0.39),albumin(0.164),neutrophil count(0.073),intraoperative blood loss≥100 mL(0.072)and smoking history(0.057);in the XGBoost model were CRP(0.528),neutrophil count(0.132),age(0.095),ASA classification(0.049)and PG-SGA score≥4(0.042);in the NN model were CRP(0.72),PG-SGA score≥4(0.071),age(0.065),intraoperative blood los≥100 mL(0.042)and differentiation grade(0.03).CRP was the highest-weighted core feature across all three models.Age,PG-SGA score≥4,neutrophil count,and intraoperative blood loss≥100 mL were identified as important shared features,appearing in the top five of at least two models.Model validation showed that XGBoost and RF models had significantly higher net benefit than NN and achieved perfect risk stratification(TP=75,FP=0,FN=0)at a threshold of 0.24.XGBoost and RF both achieved AUC above 0.98 with sensitivity above 0.98 and specificity above 0.99.The NN model had AUC=0.951(95%CI:0.912-0.990),sensitivity=0.907,and specificity=0.996.Conclusion:Machine learning analysis identifies CRP as the optimal predictor for postoperative complication risk in colorectal cancer surgery.Age,PG-SGA score≥4,neutrophil count,and intraoperative blood loss≥100 mL are key shared features identified by the models.This provides an efficient tool for early clinical screening of high-risk patients.
丰艳秀;季洪阁;李玉玲;葛金可;刘德华;袁辉平;巩媛媛;马洋洋
河北省沧州中西医结合医院 胃肠腹壁疝外一科 河北 沧州 061001河北省沧州中西医结合医院 胃肠腹壁疝外一科 河北 沧州 061001河北省沧州中西医结合医院 胃肠腹壁疝外二科 河北 沧州 061001河北省沧州中西医结合医院 胃肠腹壁疝外一科 河北 沧州 061001河北省沧州中西医结合医院 胃肠腹壁疝外一科 河北 沧州 061001河北省沧州中西医结合医院 胃肠腹壁疝外一科 河北 沧州 061001河北省沧州中西医结合医院 胃肠腹壁疝外二科 河北 沧州 061001河北省沧州中西医结合医院 胃肠腹壁疝外一科 河北 沧州 061001
医药卫生
机器学习肠癌并发症风险
Machine LearningIntestinal CancerComplicationsRisk
《机器人外科学杂志(中英文)》 2026 (5)
920-927,8
河北省中医药类科学研究课题(2026153)Scientific Research Project in Traditional Chinese Medicine of Hebei Province(2026153)
评论