首页|基于疾病谱的随机森林算法预测慢加急性肝衰竭患者临床预后研究

基于疾病谱的随机森林算法预测慢加急性肝衰竭患者临床预后研究

扫码查看
目的 分析慢加急性肝衰竭住院患者临床结局及其影响临床预后的相关疾病谱,构建基于疾病谱的随机森林算法临床预后模型.方法 检索某院 2013 年 1 月 1 日-2023 年 12 月 31 日主要诊断为慢加急性肝衰竭患者的住院病案首页数据,采集患者的性别、年龄、入院时间、出院时间、入院途径、主要诊断、其他诊断、离院方式等信息;纳入 1705 例患者,根据患者临床结局分为 2 组,住院死亡组 296 例,住院存活组 1409例.采用卡方检验或t检验方法比较 2 组的差异,采用Lasso回归筛选对临床结局有影响的疾病特征变量,将数据集按 7:3比例随机分为训练集和测试集,在训练集中采用随机森林算法构建慢加急性肝衰竭患者的临床预后模型,并在测试集中进行随机森林算法模型的评价.结果 死亡组患者的平均年龄为(59.57±12.71)岁,存活组患者的平均年龄为(50.01±12.39)岁,组间比较t=-12.01,P<0.001,差异有统计学意义;趋势卡方分析随着患者年龄的增加,住院病死率有随着增加Z=-10.83,P<0.001;急诊来源的患者住院病死率较门诊来源的患者高,χ2=26.48,P<0.001;Lasso回归分析筛选 31个与临床预后有影响的疾病;随机森林算法模型中,肝肾综合征(K76.7)Gini指数为 40.2,对预后影响最大,其次为年龄、肝性脑病(K72.9)、酸中毒(E87.2)、急性肾衰竭(N17.9)、肝恶性肿瘤(C22.9)、脓毒症(A41.9)等;随机森林算法模型在测试集预测患者临床结局的曲线下面积为 0.87,95%CI 0.84~0.91,灵敏度为 0.70,特异度为0.89,Kappa值为0.40,校正曲线显示预测该模型准确度较高,临床决策曲线显示该模型在0.1~0.6的阈概率值范围有临床获益.结论 基于疾病谱的随机森林算法模型对慢加急性肝衰竭患者的临床预后预测有一定临床价值,为改善慢加急性肝衰竭患者的临床预后,高龄、合并肝肾综合征、肝性脑病、酸中毒、急性肾衰竭、脓毒症类患者为临床需重点关注的人群.
A Study on Predicting Clinical Prognosis of Patients with Chronic Acute Liver Failure Based on Disease Diagnosis Using Random Forest Algorithm Model
Objectives To analyze the clinical outcomes and related diseases affecting clinical prognosis of patients with acute-on-chronic liver failure in our hospital,and construct a clinical prognosis model based on disease spectrum using the random forest algorithm.Methods The clinical report data of patients with acute-on-chronic liver failure in a hospital from January 1st,2013 to December 31st,2023 was retrieved,the information on the patients as gender,age,admission time,discharge time,admission route,main diagnosis,other diagnoses,and exit method were collected.Inclusion of 1705 patients,and according to the clinical outcomes of patients,they were divided into two groups,as the inpatient death group(n=296)and the survival group(n=1409).Chi square or t-test methods were used to compare the differences between the two groups.Lasso regression was used to screen for disease characteristic variables that affected the outcomes.The dataset was divided into training and testing sets randomly in a 7:3 ratio,and the random forest algorithm was used to construct a clinical prognosis model of acute-on-chronic liver failure patients in the training set.It was evaluated in the testing set.Results The average age of patients in the death group was 59.57±12.71 year old,the survival group was 50.01±12.39 year old,the difference between groups was statistically significant(t=-12.01,P<0.001).The trend chi square analysis showed an increase in hospitalization mortality rate with the increase of patient's age(Z=-10.83,P<0.001).The in-hospital mortality rate of patients from emergency sources was higher than that of patients from outpatient sources(χ2=26.48,P<0.001).Lasso regression analysis screened 31 diseases that had an impact on clinical prognosis.In the random forest algorithm model,the Gini index of hepatorenal syndrome(K76.7)was 40.2,which had the greatest impact on prognosis,followed by age,hepatic encephalopathy(K72.9),acidosis(E87.2),acute renal failure(N17.9),liver malignancy(C22.9),sepsis(A41.9),etc.The area under the curve(AUC)of the random forest algorithm model for predicting patient mortality outcomes in the test dataset was 0.87(95%CI:0.84-0.91),with a sensitivity of 0.70,specificity of 0.89,and Kappa value of 0.40.The calibration curve showed high prediction accuracy,and the clinical decision curve showed that the random forest algorithm model had clinical benefits in the threshold range of 0.1-0.6.Conclusions The random forest algorithm model based on disease spectrum had certain clinical value in predicting the clinical prognosis of acute-on-chronic liver failure patients.In order to improve the clinical prognosis of acute-on-chronic liver failure patients,elderly patients,those with concomitant hepatorenal syndrome,hepatic encephalopathy,acidosis,acute renal failure,and sepsis were the populations that need to be focused on in clinical practice.

Chronic acute liver failureRandom Forest AlgorithmDisease spectrumPrognosis

万钢、李磊、马静、王佳静、于景祎、王中菲、陈美玲

展开 >

首都医科大学附属北京地坛医院,国家传染病医学中心(北京),北京市,100015

慢加急性肝衰竭 随机森林算法 疾病谱 预后

2024

中国病案
中国医院协会

中国病案

CSTPCD
影响因子:1.197
ISSN:1672-2566
年,卷(期):2024.25(12)