An interpretable machine learning model for cross-sectional screening of gallstone disease in US adults: A study based on the National Health and Nutrition Examination Survey cohort (2017–2023)
- 1Beijing Key Laboratory of Early Gastrointestinal Cancer Medicine and Medical Devices, China
Abstract
Objective Gallstone disease imposes a substantial clinical burden, yet simple and interpretable models for cross-sectional screening remain limited. This study aimed to develop and internally evaluate an interpretable machine learning model for the cross-sectional classification of prevalent gallstone disease in adults. Methods We analyzed 12,676 adults from the National Health and Nutrition Examination Survey 2017–2020 and 2021–2023 cycles. Participants were stratified into training (70%, n = 8872) and independent test (30%, n = 3804) sets before data-dependent procedures. Within the training set, 62 candidate predictors were processed using random forest imputation, removal of near-zero-variance and collinear variables, and random forest importance filtering. Seven predictors exceeding the importance threshold were retained. Nine machine learning algorithms were compared using stratified fivefold cross-validation, with preprocessing and Synthetic Minority Over-sampling Technique refitted within each training fold. The best model was evaluated once on the independent test set. SHapley Additive exPlanations was used for model interpretation. Results The retained predictors were body mass index, alkaline phosphatase, age, creatine phosphokinase, height, visceral adiposity index, and platelet count. Logistic regression achieved the highest cross-validated area under the receiver operating characteristic curve (0.72) and similar performance in the test set (area under the receiver operating characteristic curve, 0.718, 95% confidence interval: 0.693–0.742; accuracy 0.68, sensitivity 0.66, specificity 0.68, F1 score 0.30, and precision 0.20). The model showed moderate discrimination, while low precision indicated a substantial false-positive burden at the 0.5 threshold. Calibration analysis showed systematic risk overestimation (intercept −2.09, slope 0.81, and Brier score 0.205). SHapley Additive exPlanations identified age, body mass index, creatine phosphokinase, and height as major contributors. An interactive web application was developed. Conclusions We developed an interpretable model for the cross-sectional classification of prevalent gallstone disease using seven routinely available variables. Discrimination was moderate, and calibration requires correction. Therefore, the web application should be considered a prototype screening aid pending recalibration and external validation.
Related
- Association Between Aerobic Physical Activity and Hypertension Among U.S. Adults: A Cross-Sectional Analysis of NHANES (National Health and Nutrition Examination Survey) 2021-2023
- Association Between Sleep Duration and Obesity Phenotypes in Apparently Healthy Korean Adults: A Cross-Sectional Study Using the Korea National Health and Nutrition Examination Survey 2013–2015
- The Weight-Adjusted Waist Index as a Screening Indicator for Obesity-Related Bone Loss in American Men Aged 18-59: Evidence From the National Health and Nutrition Examination Survey
- Exploring the role of unmet healthcare needs in the association between health literacy and health-related quality of life: a cross-sectional study using Korea national health and nutrition examination survey data
- Joint Association of Sedentary Time and Physical Activity with Metabolic Syndrome Among Korean Adults: A Cross-Sectional Analysis of the 2024 Korea National Health and Nutrition Examination Survey.
BibTeX
@article{bin2026interpretable,
title = {{An interpretable machine learning model for cross-sectional screening of gallstone disease in US adults: A study based on the National Health and Nutrition Examination Survey cohort (2017–2023)}},
author = {Chuxuan Bin and Shutian Zhang},
journal = {Journal of International Medical Research},
year = {2026},
month = nov,
doi = {10.1177/03000605261506169},
url = {https://doi.org/10.1177/03000605261506169},
note = {CC BY-NC},
}
RIS
TY - JOUR
TI - An interpretable machine learning model for cross-sectional screening of gallstone disease in US adults: A study based on the National Health and Nutrition Examination Survey cohort (2017–2023)
AU - Chuxuan Bin
AU - Shutian Zhang
PY - 2026
DA - 2026/11/21
JO - Journal of International Medical Research
DO - 10.1177/03000605261506169
UR - https://doi.org/10.1177/03000605261506169
AB - Objective Gallstone disease imposes a substantial clinical burden, yet simple and interpretable models for cross-sectional screening remain limited. This study aimed to develop and internally evaluate an interpretable machine learning model for the cross-sectional classification of prevalent gallstone disease in adults. Methods We analyzed 12,676 adults from the National Health and Nutrition Examination Survey 2017–2020 and 2021–2023 cycles. Participants were stratified into training (70%, n = 8872) and independent test (30%, n = 3804) sets before data-dependent procedures. Within the training set, 62 candidate predictors were processed using random forest imputation, removal of near-zero-variance and collinear variables, and random forest importance filtering. Seven predictors exceeding the importance threshold were retained. Nine machine learning algorithms were compared using stratified fivefold cross-validation, with preprocessing and Synthetic Minority Over-sampling Technique refitted within each training fold. The best model was evaluated once on the independent test set. SHapley Additive exPlanations was used for model interpretation. Results The retained predictors were body mass index, alkaline phosphatase, age, creatine phosphokinase, height, visceral adiposity index, and platelet count. Logistic regression achieved the highest cross-validated area under the receiver operating characteristic curve (0.72) and similar performance in the test set (area under the receiver operating characteristic curve, 0.718, 95% confidence interval: 0.693–0.742; accuracy 0.68, sensitivity 0.66, specificity 0.68, F1 score 0.30, and precision 0.20). The model showed moderate discrimination, while low precision indicated a substantial false-positive burden at the 0.5 threshold. Calibration analysis showed systematic risk overestimation (intercept −2.09, slope 0.81, and Brier score 0.205). SHapley Additive exPlanations identified age, body mass index, creatine phosphokinase, and height as major contributors. An interactive web application was developed. Conclusions We developed an interpretable model for the cross-sectional classification of prevalent gallstone disease using seven routinely available variables. Discrimination was moderate, and calibration requires correction. Therefore, the web application should be considered a prototype screening aid pending recalibration and external validation.
SN - 1473-2300
SN - 0300-0605
ER -