Interpretable Machine Learning Models to Distinguish Gastric Cancer Cases from Controls Using Demographic, Lifestyle, Clinical History, and Dietary Data: A Case–Control Study

Background: Gastric cancer (GC) remains a major health challenge, particularly in East Asia. This study aimed to develop and internally validate interpretable machine learning (ML) models that distinguish newly diagnosed GC from controls using demographic, lifestyle, clinical history, and dietary information. Methods: A case–control study was conducted in Fujian, China, between January 2023 and November 2024. Newly diagnosed hospital cases and community controls were divided into training and internal validation sets (70:30). Least absolute shrinkage and selection operator (LASSO) regression selected predictors within the training set. Eight classification models were developed, with hyperparameters tuned using 10-fold cross-validation within the training set. Discrimination was assessed using the area under the receiver operating characteristic curve (AUC-ROC). Paired DeLong tests with Holm correction compared the best-performing model with the other models. Shapley additive explanations (SHAP) and local interpretable model-agnostic explanations (LIME) characterized the best-performing model predictions. Results: A total of 884 participants (456 cases and 428 controls) were included. No significant differences in baseline characteristics were observed between the training and internal validation sets. Fourteen predictors were selected for model development, including demographic, lifestyle, and dietary variables. Among the eight evaluated algorithms, Random Forest (RF) achieved the highest observed AUC-ROC (0.896; 95%CI: 0.859–0.933), followed by extreme gradient boosting (0.890) and support vector machine (0.889). After Holm correction, RF differed significantly only from the neural network (adjusted p = 0.011). Age group, tea drinking, history of chronic diseases, occupation, and history of upper gastrointestinal diseases ranked highest by mean absolute SHAP values. Conclusions: The models distinguished newly diagnosed GC cases from community controls in the internal validation set. Prospective studies are needed to determine whether these models can predict incident GC or support screening in asymptomatic individuals.

Authors

Institutions

Publication Details

Journal
Nutrients
Published
2026-11-30
DOI
https://doi.org/10.3390/nu18234037
Primary Topic
Artificial Intelligence in Healthcare
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Interpretable Machine Learning Models to Distinguish Gastric Cancer Cases from Controls Using Demographic, Lifestyle, Clinical History, and Dietary Data: A Case–Control Study

Li Ping Wong, Shihan Wang, Yulan Lin, Qingying Wang et al.
Nutrients
Artificial Intelligence in Healthcare
article

Interpretable Machine Learning Models to Distinguish Gastric Cancer Cases from Controls Using Demographic, Lifestyle, Clinical History, and Dietary Data: A Case–Control Study

Li Ping Wong, Shihan Wang, Yulan Lin, Qingying Wang, Sifang Li, Fengqin Zou, Yaqing Wu, Xinyu Chen, Wanling Zeng
article en

Abstract

Background: Gastric cancer (GC) remains a major health challenge, particularly in East Asia. This study aimed to develop and internally validate interpretable machine learning (ML) models that distinguish newly diagnosed GC from controls using demographic, lifestyle, clinical history, and dietary information. Methods: A case–control study was conducted in Fujian, China, between January 2023 and November 2024. Newly diagnosed hospital cases and community controls were divided into training and internal validation sets (70:30). Least absolute shrinkage and selection operator (LASSO) regression selected predictors within the training set. Eight classification models were developed, with hyperparameters tuned using 10-fold cross-validation within the training set. Discrimination was assessed using the area under the receiver operating characteristic curve (AUC-ROC). Paired DeLong tests with Holm correction compared the best-performing model with the other models. Shapley additive explanations (SHAP) and local interpretable model-agnostic explanations (LIME) characterized the best-performing model predictions. Results: A total of 884 participants (456 cases and 428 controls) were included. No significant differences in baseline characteristics were observed between the training and internal validation sets. Fourteen predictors were selected for model development, including demographic, lifestyle, and dietary variables. Among the eight evaluated algorithms, Random Forest (RF) achieved the highest observed AUC-ROC (0.896; 95%CI: 0.859–0.933), followed by extreme gradient boosting (0.890) and support vector machine (0.889). After Holm correction, RF differed significantly only from the neural network (adjusted p = 0.011). Age group, tea drinking, history of chronic diseases, occupation, and history of upper gastrointestinal diseases ranked highest by mean absolute SHAP values. Conclusions: The models distinguished newly diagnosed GC cases from community controls in the internal validation set. Prospective studies are needed to determine whether these models can predict incident GC or support screening in asymptomatic individuals.

NutrientsVol. 18(23)
Fujian Medical University (CN), Korea University (KR), University of Malaya (MY)
Artificial Intelligence in Healthcare
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon