{"title":"Predicting MASLD in Gallstone Patients: An Interpretable Machine Learning Model with External Validation.","authors":"Ziwen Pan, Xiaoqing Chen","doi":"10.2147/IJGM.S628985","DOIUrl":null,"url":null,"abstract":"<p><strong>Background: </strong>Previous studies have shown a higher prevalence of Metabolic Dysfunction-Associated Steatotic Liver Disease (MASLD) in individuals with gallstones, as both conditions share common risk factors, including hyperlipidemia, obesity, physical inactivity, and diabetes. This study aimed to develop and validate a machine learning (ML)-based model for predicting MASLD risk in gallstone patients.</p><p><strong>Methods: </strong>A multicenter retrospective cross-sectional study was conducted, enrolling 390 gallstone patients from the Guanggu Branch of our hospital (January 2023-August 2025) as the internal cohort for model development. An external validation cohort of 134 subjects from the Shouyi Branch, matched in timeframe, was also included. The Synthetic Minority Oversampling Technique (SMOTE) was applied to address class imbalance in the internal training set. Feature selection was performed using Least Absolute Shrinkage and Selection Operator (LASSO) logistic regression and the Boruta algorithm, followed by model development and validation using seven ML algorithms. Model performance was evaluated using calibration curves, and decision curves. The Support Vector Machines (SVM)-based diagnostic model was further interpreted using SHapley Additive exPlanations (SHAP).</p><p><strong>Results: </strong>In the study cohort, 15.46% of gallstone patients were diagnosed with MASLD. Seven variables were identified as significant predictors of comorbid MASLD in patients with gallstones. Among the seven ML models, the SVM algorithm achieved the highest AUC (0.902; 95% confidence interval: 0.857-0.946). The model's performance was confirmed in both the internal and external validation groups, with AUC values exceeding 0.7 in both cases. Calibration curves indicated strong model calibration. SHAP interpretation revealed that the top three predictive features were AIP, hyperlipidemia, and hemoglobin.</p><p><strong>Conclusion: </strong>A predictive model for concurrent MASLD risk in gallstone patients was developed and validated using seven clinical indicators.</p>","PeriodicalId":14131,"journal":{"name":"International Journal of General Medicine","volume":"19 ","pages":"628985"},"PeriodicalIF":2.3000,"publicationDate":"2026-10-08","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC13656928/pdf/","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"International Journal of General Medicine","FirstCategoryId":"3","ListUrlMain":"https://doi.org/10.2147/IJGM.S628985","RegionNum":4,"RegionCategory":"医学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2026/1/1 0:00:00","PubModel":"eCollection","JCR":"Q2","JCRName":"MEDICINE, GENERAL & INTERNAL","Score":null,"Total":0}
引用次数: 0
Abstract
Background: Previous studies have shown a higher prevalence of Metabolic Dysfunction-Associated Steatotic Liver Disease (MASLD) in individuals with gallstones, as both conditions share common risk factors, including hyperlipidemia, obesity, physical inactivity, and diabetes. This study aimed to develop and validate a machine learning (ML)-based model for predicting MASLD risk in gallstone patients.
Methods: A multicenter retrospective cross-sectional study was conducted, enrolling 390 gallstone patients from the Guanggu Branch of our hospital (January 2023-August 2025) as the internal cohort for model development. An external validation cohort of 134 subjects from the Shouyi Branch, matched in timeframe, was also included. The Synthetic Minority Oversampling Technique (SMOTE) was applied to address class imbalance in the internal training set. Feature selection was performed using Least Absolute Shrinkage and Selection Operator (LASSO) logistic regression and the Boruta algorithm, followed by model development and validation using seven ML algorithms. Model performance was evaluated using calibration curves, and decision curves. The Support Vector Machines (SVM)-based diagnostic model was further interpreted using SHapley Additive exPlanations (SHAP).
Results: In the study cohort, 15.46% of gallstone patients were diagnosed with MASLD. Seven variables were identified as significant predictors of comorbid MASLD in patients with gallstones. Among the seven ML models, the SVM algorithm achieved the highest AUC (0.902; 95% confidence interval: 0.857-0.946). The model's performance was confirmed in both the internal and external validation groups, with AUC values exceeding 0.7 in both cases. Calibration curves indicated strong model calibration. SHAP interpretation revealed that the top three predictive features were AIP, hyperlipidemia, and hemoglobin.
Conclusion: A predictive model for concurrent MASLD risk in gallstone patients was developed and validated using seven clinical indicators.
期刊介绍:
The International Journal of General Medicine is an international, peer-reviewed, open access journal that focuses on general and internal medicine, pathogenesis, epidemiology, diagnosis, monitoring and treatment protocols. The journal is characterized by the rapid reporting of reviews, original research and clinical studies across all disease areas.
A key focus of the journal is the elucidation of disease processes and management protocols resulting in improved outcomes for the patient. Patient perspectives such as satisfaction, quality of life, health literacy and communication and their role in developing new healthcare programs and optimizing clinical outcomes are major areas of interest for the journal.
As of 1st April 2019, the International Journal of General Medicine will no longer consider meta-analyses for publication.