Related Experiment Video
Updated: Feb 17, 2026

Author Spotlight: Advancing Early Detection and Treatment of Gastrointestinal Tumors
Published on: February 16, 2024
Risk prediction for chronic atrophic gastritis using a random forest model: A multicenter study
Hui Cao1, Jing-Lue Han1, Hao Wu2
1Department of Gastroenterology, National Clinical Research Center for Digestive Diseases (Xi'an) Jiangsu Branch, Affiliated Wuxi People's Hospital of Nanjing Medical University, Wuxi Medical Center, Nanjing Medical University, Wuxi 214000, Jiangsu Province, China.
Background:
Chronic atrophic gastritis (CAG) is a significant precancerous condition of gastric cancer (GC). CAG often lacks typical symptoms in its early stages, and clinical diagnosis relies on gastroscopy and pathological examination, which are invasive and have limitations such as poor patient compliance. Therefore, developing a noninvasive, simple, and generalizable prediction tool is crucial for the early identification of CAG.
Aim:
To construct and validate a CAG risk prediction model to achieve noninvasive and accurate identification of high-risk patients.
Methods:
This study included 1268 subjects from a GC screening program. Multimodal data, including serological marker, demographic, lifestyle, and family history data, were collected. Subjects were grouped by pathological biopsy results. Least absolute shrinkage and selection operator regression was used for feature selection. A model was constructed using the random forest algorithm, evaluated with metrics such as the area under the curve (AUC), and interpreted using the SHapley Additive exPlanation (SHAP) method. The model was validated in an independent external cohort, and a web-based prediction platform was developed using Shiny.
Results:
Six key features were ultimately included: Age, Helicobacter pylori (H. pylori) infection status, pepsinogen I/II ratio (PGR), smoking history, alcohol consumption history, and family history of GC. The model achieved AUCs of 0.8542 and 0.8073 in the training and testing sets, respectively, and an AUC of 0.8505 in the external validation cohort, demonstrating good generalizability and stability. SHAP analysis indicated that H. pylori infection, age, and PGR were the most important variables influencing CAG risk. The final model was successfully embedded into a web-based platform for convenient clinical application.
Conclusion:
The random forest-based CAG prediction model is a highly accurate and interpretable tool with significant clinical utility in early screening and identifying high-risk patients.
