Matheus Machado Rech, Leandro Luis Corso, Elisa Fioreze Dal Bó, Andressa Daiane Ferraza, Fernanda Tomé, Alana Zulian Terres, Rafael Sartori Balbinot, Raul Angelo Balbinot, Silvana Sartori Balbinot, Jonathan Soldera
{"title":"Development and prospective validation of a machine learning model to predict mortality in cirrhosis with esophageal variceal bleeding.","authors":"Matheus Machado Rech, Leandro Luis Corso, Elisa Fioreze Dal Bó, Andressa Daiane Ferraza, Fernanda Tomé, Alana Zulian Terres, Rafael Sartori Balbinot, Raul Angelo Balbinot, Silvana Sartori Balbinot, Jonathan Soldera","doi":"10.4254/wjh.v18.i2.111099","DOIUrl":null,"url":null,"abstract":"<p><strong>Background: </strong>Acute esophageal variceal bleeding (AEVB) is a critical complication in patients with cirrhosis, associated with high mortality despite advancements in management. Traditional prognostic scores often lack predictive accuracy in this context.</p><p><strong>Aim: </strong>To develop, internally validate, and prospectively validate a machine learning (ML) model to predict 1-year mortality in patients with cirrhosis presenting with AEVB.</p><p><strong>Methods: </strong>A retrospective cohort of 94 patients treated between 2010 and 2016 was used to train ML models, incorporating 36 clinical, laboratory, and imaging variables. Four algorithms (generalized linear models, boosted generalized linear models, naive Bayes, random forests) were evaluated, and the best-performing model was prospectively validated in a cohort of 24 patients treated between 2017 and 2018. Performance metrics included the area under the curve (AUC), sensitivity, specificity, and calibration <i>via</i> Brier scores. Data preprocessing involved k-nearest neighbor imputation, one-hot encoding, and scaling.</p><p><strong>Results: </strong>The random forest model achieved the highest AUC (0.91, 95% confidence interval [CI]: 0.85-0.96) during internal validation and demonstrated robust performance in the prospective cohort (AUC 0.88, 95%CI: 0.80-0.94). Calibration was excellent, with a low Brier score (0.12). The model was deployed as an online prediction tool.</p><p><strong>Conclusion: </strong>This ML model shows promise in improving mortality prediction for AEVB, potentially aiding timely clinical interventions and decision-making. Prospective validation underscores its generalizability and clinical utility. Future research should explore external validation in diverse settings.</p>","PeriodicalId":23687,"journal":{"name":"World Journal of Hepatology","volume":"18 2","pages":"111099"},"PeriodicalIF":3.4000,"publicationDate":"2026-02-27","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC12968690/pdf/","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"World Journal of Hepatology","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.4254/wjh.v18.i2.111099","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"GASTROENTEROLOGY & HEPATOLOGY","Score":null,"Total":0}
引用次数: 0
Abstract
Background: Acute esophageal variceal bleeding (AEVB) is a critical complication in patients with cirrhosis, associated with high mortality despite advancements in management. Traditional prognostic scores often lack predictive accuracy in this context.
Aim: To develop, internally validate, and prospectively validate a machine learning (ML) model to predict 1-year mortality in patients with cirrhosis presenting with AEVB.
Methods: A retrospective cohort of 94 patients treated between 2010 and 2016 was used to train ML models, incorporating 36 clinical, laboratory, and imaging variables. Four algorithms (generalized linear models, boosted generalized linear models, naive Bayes, random forests) were evaluated, and the best-performing model was prospectively validated in a cohort of 24 patients treated between 2017 and 2018. Performance metrics included the area under the curve (AUC), sensitivity, specificity, and calibration via Brier scores. Data preprocessing involved k-nearest neighbor imputation, one-hot encoding, and scaling.
Results: The random forest model achieved the highest AUC (0.91, 95% confidence interval [CI]: 0.85-0.96) during internal validation and demonstrated robust performance in the prospective cohort (AUC 0.88, 95%CI: 0.80-0.94). Calibration was excellent, with a low Brier score (0.12). The model was deployed as an online prediction tool.
Conclusion: This ML model shows promise in improving mortality prediction for AEVB, potentially aiding timely clinical interventions and decision-making. Prospective validation underscores its generalizability and clinical utility. Future research should explore external validation in diverse settings.