首页|期刊导航|感染、炎症、修复|脓毒症患者住院期间死亡风险的随机森林分析与预测模型评估

脓毒症患者住院期间死亡风险的随机森林分析与预测模型评估OA

Analysis and prediction model evaluation of in-hospital mortality risk in sepsis patients by random forest

中文摘要英文摘要

目的 通过不同算法分析影响脓毒症患者住院期间死亡的危险因素,并以此构建预测模型.方法 回顾性选取2021年1月至2025年6月于厦门市第五医院重症医学科就诊的脓毒症患者316例,根据是否在住院期间发生死亡分为死亡组(61例)以及存活组(255例).本研究首先采用单因素和多因素Logistic回归分析筛选相关危险因素,并在此基础上建立Logistic回归预测模型.随后使用Boruta算法和随机森林模型进行变量重要性排序与建模.采用受试者操作特征(ROC)曲线分析Logistic回归分析模型与随机森林模型的预测效能,选择表现更优的模型用于后续建模.基于最优算法中筛选的重要变量构建列线图,通过Bootstrap算法进行内部验证,同时采用ROC曲线、C指数、Hosmer-Lemeshow拟合优度检验及决策曲线分析对模型的综合性能进行评估.结果 Logistic回归分析模型识别出的影响因素从高到低分别为血乳酸、外周灌注指数、血清白蛋白、血尿素氮、血肌酐、丙氨酸氨基转移酶(ALT)以及天冬氨酸氨基转移酶(AST).随机森林模型以血乳酸、外周灌注指数、血清白蛋白、血肌酐、血尿素氮及ALT为主要预测变量.ROC曲线分析显示,Logistic回归分析模型曲线下面积为0.835(95%CI:0.784~0.879),随机森林模型曲线下面积为0.901(95%CI:0.867~0.934),Logistic回归分析模型与随机森林模型曲线下面积差异为0.072(95%CI:0.016~0.128;Z=2.480,P=0.013).基于随机森林模型关键变量构建的列线图预测模型,在训练集与验证集中的曲线下面积分别为0.816和0.872,C指数分别为0.823、0.886,Hosmer-Lemeshow拟合优度检验P值均>0.05,提示该模型拟合良好.决策曲线分析显示,在各自的阈值范围内(训练集0.20~0.92,验证集0.10~0.94),模型具有稳定且优于传统策略的净收益,具备良好的临床实用性.结论 血乳酸、外周灌注指数、血清白蛋白、血肌酐、血尿素氮及ALT是脓毒症患者住院期间死亡的重要影响因素.与Logistic回归分析模型比较,随机森林模型在预测效能上更优,结合其变量重要性结果构建的列线图预测模型表现出良好的鉴别效能、拟合度及临床实用性,具备一定的临床推广价值.

Objective To analyze risk factors for in-hospital mortality in sepsis patients using different algorithms and to construct a predictive model based on the findings.Methods A retrospective study was conducted on 316 sepsis patients admitted to the Department of Critical Care Medicine at Xiamen Fifth Hospital from January 2021 to June 2025.Patients were divided into a mortality group(n=61)and a survival group(n=255)based on whether they died during hospitalization.This study first employed univariate and multivariate logistic regression analyses to screen for relevant risk factors,and a logistic regression prediction model was built accordingly.Subsequently,the Boruta algorithm and a random forest model were used for variable importance ranking and modeling.Receiver operating characteristic(ROC)curve analysis was applied to compare the predictive performance of the logistic regression and random forest models,and the superior-performing model was selected for further development.A nomogram was constructed using the significant variables identified by the optimal algorithm.Internal validation was performed using the bootstrap method.The overall performance of the final model was comprehensively evaluated using the ROC curve,concordance index(C-index),Hosmer-Lemeshow goodness-of-fit test,and decision curve analysis(DCA).Results The logistic regression model identified the following risk factors in descending order of importance:blood lactate,peripheral perfusion index,serum albumin,blood urea nitrogen,serum creatinine,alanine aminotransferase(ALT),and aspartate aminotransferase(AST).The random forest model selected blood lactate,peripheral perfusion index,serum albumin,serum creatinine,blood urea nitrogen,and ALT as key predictive variables.ROC curve analysis showed that the area under the curve(AUC)was 0.835(95%CI:0.784-0.879)for the logistic regression model and 0.901(95%CI:0.867-0.934)for the random forest model,with a difference of 0.072(95%CI:0.016-0.128,Z=2.480,P=0.013).The nomogram prediction model,constructed based on the key variables from the random forest model,demonstrated AUCs of 0.816 and 0.872 in the training and validation sets,respectively.The concordance indices(C-index)were 0.823 and 0.886,respectively.Hosmer-Lemeshow goodness-of-fit tests yielded P-values>0.05 for both sets,indicating good model calibration.Decision curve analysis revealed that,across clinically relevant threshold ranges(0.20-0.92 for training,0.10-0.94 for validation),the model provided stable and superior net benefits compared to traditional strategies,demonstrating good clinical utility.Conclusions Blood lactate,peripheral perfusion index,serum albumin,serum creatinine,blood urea nitrogen,and ALT are important factors influencing in-hospital mortality in sepsis patients.Compared to the logistic regression model,the random forest model demonstrates superior predictive performance.The nomogram prediction model derived from its key variables showed discriminative ability,calibration,and clinical utility,holding promise for clinical application.

杨玉娟;周文考;于洋;潘艺梅;任晓媛;谢强;赖景凤;郑和平;王婷婷

厦门市第五医院重症医学科,厦门 361100厦门大学附属翔安医院急诊医学科(医务室),厦门 361100厦门大学附属翔安医院急诊医学科(医务室),厦门 361100厦门大学附属翔安医院急诊医学科(医务室),厦门 361100厦门大学附属翔安医院健康医学中心,厦门 361100厦门大学附属翔安医院超声科,厦门 361100厦门市第五医院重症医学科,厦门 361100厦门市第五医院重症医学科,厦门 361100厦门市第五医院重症医学科,厦门 361100

脓毒症死亡危险因素随机森林算法列线图外周灌注指数血乳酸

sepsismortalityrisk factorrandom forest algorithmnomogramperipheral perfusion indexblood lactate

《感染、炎症、修复》 2026 (1)

27-33,7

厦门市医疗卫生指导性项目(3502Z20254ZD1257)

10.3969/j.issn.1672-8521.2026.01.004

评论