Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2021 Apr 15;23(4):e25053.
doi: 10.2196/25053.

Establishing Machine Learning Models to Predict Curative Resection in Early Gastric Cancer with Undifferentiated Histology: Development and Usability Study

Affiliations

Establishing Machine Learning Models to Predict Curative Resection in Early Gastric Cancer with Undifferentiated Histology: Development and Usability Study

Chang Seok Bang et al. J Med Internet Res. .

Abstract

Background: Undifferentiated type of early gastric cancer (U-EGC) is included among the expanded indications of endoscopic submucosal dissection (ESD); however, the rate of curative resection remains unsatisfactory. Endoscopists predict the probability of curative resection by considering the size and shape of the lesion and whether ulcers are present or not. The location of the lesion, indicating the likely technical difficulty, is also considered.

Objective: The aim of this study was to establish machine learning (ML) models to better predict the possibility of curative resection in U-EGC prior to ESD.

Methods: A nationwide cohort of 2703 U-EGCs treated by ESD or surgery were adopted for the training and internal validation cohorts. Separately, an independent data set of the Korean ESD registry (n=275) and an Asan medical center data set (n=127) treated by ESD were chosen for external validation. Eighteen ML classifiers were selected to establish prediction models of curative resection with the following variables: age; sex; location, size, and shape of the lesion; and whether ulcers were present or not.

Results: Among the 18 models, the extreme gradient boosting classifier showed the best performance (internal validation accuracy 93.4%, 95% CI 90.4%-96.4%; precision 92.6%, 95% CI 89.5%-95.7%; recall 99.0%, 95% CI 97.8%-99.9%; and F1 score 95.7%, 95% CI 93.3%-98.1%). Attempts at external validation showed substantial accuracy (first external validation 81.5%, 95% CI 76.9%-86.1% and second external validation 89.8%, 95% CI 84.5%-95.1%). Lesion size was the most important feature in each explainable artificial intelligence analysis.

Conclusions: We established an ML model capable of accurately predicting the curative resection of U-EGC before ESD by considering the morphological and ecological characteristics of the lesions.

Keywords: artificial intelligence; dissection; early gastric cancer; endoscopic submucosal dissection; endoscopy; gastric cancer; machine learning; undifferentiated.

PubMed Disclaimer

Conflict of interest statement

Conflicts of Interest: None declared.

Figures

Figure 1
Figure 1
Machine learning classifiers used in this study. AdaBoost: adaptive boosting; CatBoost: categorical boosting; DNN: deep neural network; HistGradientBoosting: histogram-based gradient boosting; kNN: k-nearest neighbors; ML: machine learning; LightGBM: light gradient boosting machine; LDA: linear discriminants analysis; SGD: stochastic gradient descent; SVM: support vector machine; XGBoost: extreme gradient boosting.
Figure 2
Figure 2
Confusion matrix for the extreme gradient boosting classifier in the internal validation cohort. XGBoost: extreme gradient boosting.
Figure 3
Figure 3
Confusion matrix for the extreme gradient boosting classifier in the first external validation cohort. XGBoost: extreme gradient boosting.
Figure 4
Figure 4
Confusion matrix for the extreme gradient boosting in the second external validation cohort. XGBoost: extreme gradient boosting.
Figure 5
Figure 5
Feature importance plot for the extreme gradient boosting classifier in the internal validation cohort. The average F-score was calculated through 50 repetitions of five-fold cross-validation in the training data set.

References

    1. Choi IJ, Lee JH, Kim Y, Kim CG, Cho S, Lee JY, Ryu KW, Nam B, Kook M, Kim Y. Long-term outcome comparison of endoscopic resection and surgery in early gastric cancer meeting the absolute indication for endoscopic resection. Gastrointest Endosc. 2015 Feb;81(2):333–41.e1. doi: 10.1016/j.gie.2014.07.047. - DOI - PubMed
    1. Jeon HK, Kim GH, Lee BE, Park DY, Song GA, Kim DH, Jeon TY. Long-term outcome of endoscopic submucosal dissection is comparable to that of surgery for early gastric cancer: a propensity-matched analysis. Gastric Cancer. 2018 Jan;21(1):133–143. doi: 10.1007/s10120-017-0719-4. - DOI - PubMed
    1. Bang CS, Baik GH. Pitfalls in the Interpretation of Publications about Endoscopic Submucosal Dissection of Early Gastric Cancer with Undifferentiated-Type Histology. Clin Endosc. 2019 Jan;52(1):30–35. doi: 10.5946/ce.2018.158. doi: 10.5946/ce.2018.158. - DOI - DOI - PMC - PubMed
    1. Japanese Gastric Cancer Association Japanese gastric cancer treatment guidelines 2018 (5th edition) Gastric Cancer. 2021 Jan;24(1):1–21. doi: 10.1007/s10120-020-01042-y. http://europepmc.org/abstract/MED/32060757 - DOI - PMC - PubMed
    1. Bang CS, Baik GH, Shin IS, Kim JB, Suk KT, Yoon JH, Kim YS, Kim DJ, Shin WG, Kim KH, Kim HY, Lim H, Kang HS, Kim JH, Kim JB, Jung SW, Kae SH, Jang HJ, Choi MH. Endoscopic submucosal dissection for early gastric cancer with undifferentiated-type histology: A meta-analysis. World J Gastroenterol. 2015 May 21;21(19):6032–43. doi: 10.3748/wjg.v21.i19.6032. https://www.wjgnet.com/1007-9327/full/v21/i19/6032.htm - DOI - PMC - PubMed

Publication types