基于XGBoost算法的机器学习模型在急性重症胰腺炎早期预测中的应用
本研究为回顾性队列研究,纳入苏州大学附属第一医院、苏州大学附属第二医院和苏州大学附属常熟医院2020年1月1日至2021年12月31日收治的1183例急性胰腺炎(AP)患者,其中129例(10.9%)进展为重症急性胰腺炎(SAP)。基于XGBoost算法构建SAP早期预测模型,训练集786例、验证集197例、独立测试集200例。结果显示模型预测SAP的准确度为0.830,AUC为0.927,显著优于MCTSI(准确度0.610,AUC 0.689)、Ranson(准确度0.690,AUC 0.631)、BISAP(准确度0.763,AUC 0.875)和SABP(准确度0.625,AUC 0.770)。特征重要性前三位为入院时胸腔积液(0.119)、白蛋白(0.049)和甘油三酯(0.036);SHAP分析显示胸腔积液和低白蛋白血症显著增加SAP风险。
要点
- 基于XGBoost的SAP预测模型在入院48小时内预测SAP的AUC为0.927,准确度0.830,优于MCTSI、Ranson、BISAP和SABP。
- 模型特征重要性前三位为入院时胸腔积液(0.119)、白蛋白(0.049)、甘油三酯(0.036),胸腔积液和低白蛋白血症显著增加SAP风险。
- 传统评分中BISAP表现最佳(AUC 0.875),但XGBoost模型仍显著优于BISAP(AUC 0.927)。
- 纳入1183例AP患者中129例(10.9%)进展为SAP,SAP患者存在呼吸、凝血、肝肾功能和脂代谢异常。
适用人群与场景
- 2020年1月1日至2021年12月31日收治于苏州大学附属第一医院、苏州大学附属第二医院和苏州大学附属常熟医院的急性胰腺炎(AP)患者。
诊断标准与关键阈值
- 模型预测SAP的准确度0.830,AUC 0.927。
- 传统评分预测SAP的准确度和AUC:MCTSI 0.610和0.689,Ranson 0.690和0.631,BISAP 0.763和0.875,SABP 0.625和0.770。
研究设计与关键结果
- 回顾性队列研究,纳入1183例AP患者,其中129例(10.9%)进展为SAP;训练集786例,验证集197例,独立测试集200例。
- 基于XGBoost算法构建的SAP预测模型预测准确度0.830,AUC 0.927,显著优于MCTSI(准确度0.610,AUC 0.689)、Ranson(准确度0.690,AUC 0.631)、BISAP(准确度0.763,AUC 0.875)和SABP(准确度0.625,AUC 0.770)。
- 特征重要性排名前十:入院时胸腔积液(0.119)、白蛋白(Alb,0.049)、甘油三酯(TG,0.036)、Ca2+(0.034)、凝血酶原时间(PT,0.031)、全身炎症反应综合征(SIRS,0.031)、C反应蛋白(CRP,0.031)、血小板计数(PLT,0.030)、乳酸脱氢酶(LDH,0.029)、碱性磷酸酶(ALP,0.028)。
- SHAP贡献分析显示,患者存在胸腔积液时SAP风险显著增加,白蛋白降低时SAP风险显著增加。
证据类型、等级与局限
- 证据类型:回顾性队列研究。
- 局限:原文未报告局限性。
对床旁实践的改变
- 基于XGBoost算法的SAP预测评分系统可在患者入院48小时内预测SAP风险,准确度良好(准确度0.830,AUC 0.927)。
- 入院时胸腔积液和白蛋白降低是SAP的重要预测因素,SHAP分析显示二者分别显著增加SAP风险。
提炼说明
- 本条依据论文摘要整理;摘要未涉及「处置流程与药物剂量」「红旗征与不能漏的情况」「指南或共识出处」,故未列出这些栏目;全文请点「阅读原文」。
英文原文(摘要)· 点击展开
OBJECTIVE: To establish a machine learning model based on extreme gradient boosting (XGBoost) algorithm for early prediction of severe acute pancreatitis (SAP), and explore its predictive efficiency.
METHODS: A retrospective cohort study was conducted. The patients with acute pancreatitis (AP) who admitted to the First Affiliated Hospital of Soochow University, the Second Affiliated Hospital of Soochow University and Changshu Hospital Affiliated to Soochow University from January 1, 2020 to December 31, 2021 were enrolled. Demography information, etiology, past history, and clinical indicators and imaging data within 48 hours of admission were collected according to the medical record system and image system, and the modified CT severity index (MCTSI), Ranson score, bedside index for severity in acute pancreatitis (BISAP) and acute pancreatitis risk score (SABP) were calculated. The data sets of the First Affiliated Hospital of Soochow University and Changshu Hospital Affiliated to Soochow University were randomly divided into training set and validation set according to 8 : 2. Based on XGBoost algorithm, the SAP prediction model was constructed on the basis of hyperparameter adjustment by 5-fold cross validation and loss function. The data set of the Second Affiliated Hospital of Soochow University was served as independent test set. The predictive efficacy of the XGBoost model was evaluated by drawing the receiver operator characteristic curve (ROC curve), and compared it with the traditional AP related severity score; variable importance ranking diagram and Shapley additive explanation (SHAP) diagram were drawn to visually explain the model.
RESULTS: A total of 1 183 AP patients were enrolled finally, of which 129 (10.9%) developed SAP. Among the patients from the First Affiliated Hospital of Soochow University and Changshu Hospital Affiliated to Soochow University, there were 786 patients in the training set and 197 in the validation set; 200 patients from the Second Affiliated Hospital of Soochow University were used as the test set. Analysis of all three datasets showed that patients who advanced to SAP exhibited pathological manifestation such as abnormal respiratory function, coagulation function, liver and kidney function, and lipid metabolism. Based on the XGBoost algorithm, an SAP prediction model was constructed, and ROC curve analysis showed that the accuracy for prediction of SAP reached 0.830, the area under the ROC curve (AUC) was 0.927, which was significantly improved compared with the traditional scoring systems including MCTSI, Ranson, BISAP and SABP, the accuracy was 0.610, 0.690, 0.763, 0.625, and the AUC was 0.689, 0.631, 0.875, and 0.770, respectively. The feature importance analysis based on the XGBoost model showed that the top ten items ranked by the importance of model features were admission pleural effusion (0.119), albumin (Alb, 0.049), triglycerides (TG, 0.036), Ca2+ (0.034), prothrombin time (PT, 0.031), systemic inflammatory response syndrome (SIRS, 0.031), C-reactive protein (CRP, 0.031), platelet count (PLT, 0.030), lactate dehydrogenase (LDH, 0.029), and alkaline phosphatase (ALP, 0.028). The above indicators were of great significance for the XGBoost model to predict SAP. The SHAP contribution analysis based on the XGBoost model showed that the risk of SAP increased significantly when patients had pleural effusion and decreased Alb.
CONCLUSIONS: A SAP prediction scoring system was established based on the machine automatic learning XGBoost algorithm, which can predict the SAP risk of patients within 48 hours of admission with good accuracy.
参考来源
- Gao X, Lin J, Wu A, et al. [Application of machine learning model based on XGBoost algorithm in early prediction of patients with acute severe pancreatitis]. Zhonghua Wei Zhong Bing Ji Jiu Yi Xue. 2023. PMID: 37308200. doi:10.3760/cma.j.cn121430-20221019-00930
供执业医师抢救与诊疗参考,不替代临床判断;剂量请结合体重、肝肾功能和本院药品规格复核,以指南原文为准。