Skip to main content

ORIGINAL RESEARCH article

Front. Artif. Intell., 16 August 2022
Sec. Medicine and Public Health
This article is part of the Research Topic Interpretable and Explainable Machine Learning Models in Oncology View all 6 articles

Machine learning: A non-invasive prediction method for gastric cancer based on a survey of lifestyle behaviors

\nSiqing Jiang,&#x;Siqing Jiang1,2Haojun Gao,Haojun Gao1,2Jiajin HeJiajin He1Jiaqi Shi,Jiaqi Shi1,2Yuling Tong
&#x;Yuling Tong3*Jian Wu,
Jian Wu1,2*
  • 1Department of Public Health, Zhejiang University School of Medicine, Zhejiang University, Hangzhou, China
  • 2Real-Doctor Artificial Intelligence Research Center, Zhejiang University, Hangzhou, China
  • 3Department of General Practice/Health Management Center, School of Medicine, The Second Affiliated Hospital of Zhejiang University, Hangzhou, China

Gastric cancer remains an enormous threat to human health. It is extremely significant to make a clear diagnosis and timely treatment of gastrointestinal tumors. The traditional diagnosis method (endoscope, surgery, and pathological tissue extraction) of gastric cancer is usually invasive, expensive, and time-consuming. The machine learning method is fast and low-cost, which breaks through the limitations of the traditional methods as we can apply the machine learning method to diagnose gastric cancer. This work aims to construct a cheap, non-invasive, rapid, and high-precision gastric cancer diagnostic model using personal behavioral lifestyles and non-invasive characteristics. A retrospective study was implemented on 3,630 participants. The developed models (extreme gradient boosting, decision tree, random forest, and logistic regression) were evaluated by cross-validation and the generalization ability in our test set. We found that the model developed using fingerprints based on the extreme gradient boosting (XGBoost) algorithm produced better results compared with the other models. The overall accuracy of which test set was 85.7%, AUC was 89.6%, sensitivity 78.7%, specificity 76.9%, and positive predictive values 73.8%, verifying that the proposed model has significant medical value and good application prospects.

Introduction

Gastric cancer (GC) is a common malignancy arising from the epithelium of the gastric mucosa, with the third-highest mortality rate among the cancers worldwide (Bray et al., 2018), and approximately 478,508 new GC cases in China were confirmed in 2020 (Sung et al., 2021). In most cases, early-stage GC are asymptomatic, and a large proportion of patients are diagnosed at an advanced-stages (Correa, 2013). Unfortunately, the prognosis of advanced GC is poor as a result, with an average five-year survival rate of less than 25%. Suppose populations are screened early to identify those at risk of developing cancer or potential early patients. In that case, the incidence of GC can effectively be reduced, and the 5-year survival rate will be improved through appropriate intervention and prevention (Selgrad et al., 2010). Hence, it is increasingly urgent to seek a diagnosis method of non-invasive, cheap, and time-saving GC identification with high accuracy to achieve early GC prevention.

Currently, methods for diagnosing gastric cancer include traditional approaches based on the physician diagnosis and machine learning methods based on artificial intelligence (AI) (Niu et al., 2020). The former specifically includes endoscopy and histopathological examination (Karimi et al., 2014). Existing circulating biomarkers for GC diagnosis have low sensitivity, and GC diagnosis is only based on invasive procedures such as upper gastrointestinal endoscopy, in spite of the substantial diagnostic precision endoscopy can achieve, it may cause discomfort in patients through an invasive pathway (Leja and Linē, 2021), moreover, the cost-effectiveness of intervention is unreasonable in part of the western populations. The diagnosis of precancerous lesions or cancerous tissues in pathological section examination requires physicians to consume much time marking each region in proper order (Wu et al., 2021). In contrast, machine learning methods show more advantages than traditional methods, they can optimize the feature extraction process and achieve better classification performance and generalization ability (Münzenmayer et al., 2009; Meng et al., 2021). Despite multiple linear regression (Marill, 2004) and logistics regression are widely applied to medical statistics analysis of influence factors and traditional gastric cancer risk early warning. Nevertheless, these statistics analysis methods have limitations that cannot deal well with the nonlinear relationships in biological information. Whereas machine learning (Handelman et al., 2018) (ML) is equipped to coordinate the variance and deviation of original data since both the nonlinear relationship of biomedical knowledge and higher-order interactions between variables can be solved well (Deo, 2015).

To a great extent, the performance of machine learning depends on the rationality of included variables. Lifestyle behaviors such as diet, drinking, and smoking are considered as significant causes of GC and main targets for primary prevention (Katzke et al., 2015). The infection of Helicobacter pylori (H. pylori) is the leading cause of stomach-related diseases and considered as a primary risk factor for GC (Wang et al., 2014). In addition, previous studies have confirmed serum pepsinogen characteristics as early diagnostic characteristics with a substantial precision for gastric cancer (Bornschein et al., 2012; Yuan et al., 2020). These characteristics are non-invasive, simple, and available in the practical work, which can be used as a reliable clinical diagnosis basis for gastric cancer diagnostic. In this work, we collected 13 clinically relevant variables: potential gastric cancer influencing factors (first-degree relatives GC history, vegetable, smoking, etc.) and some non-invasive clinical characteristics (serum pepsinogen level, Hp infection, etc.).

The objectives of the present study were to evaluate and sought out the optimal ML algorithm to develop an efficient, low-cost, safe, and noninvasive diagnostic method for gastric cancer. Fortunately, this study is the first to use both lifestyle behavior information and noninvasive clinical characteristics to diagnose gastric cancer.

Materials and methods

Methods overview

This work mainly includes five sections: data collection, variable selection, feature extraction, model training, and intelligent prediction. The framework of our experiment procedure was showed in Figure 1. Information was collected by measuring subjects using questionnaires (self-reported). Investigators were demanded to uniform standards and questioning patterns and conducted special training on the questioning pattern and classification of qualitative characteristics.

FIGURE 1
www.frontiersin.org

Figure 1. The workflow of current research.

The selection criteria of independent variables included in the machine learning model are as follows:

• Variables should be a potential GC influencing factor.

• Variables must possess the exact definition and use the same measurement methods throughout the experiment and investigation.

According to the criterion mentioned earlier, 13 variables were eligible for further study (Table 1).

TABLE 1
www.frontiersin.org

Table 1. Variable inclusion in ML algorithms.

This study conducted a novel machine learning algorithm, XGBoost, compared with three other machine learning algorithms. The research data were divided randomly into training and test sets with a ratio of 4:1 (2,904/726). GridSearch (Bao and Liu, 2006) was used to find the optimal parameters of the model. Evaluation indicators such as accuracy, area under the receiver operator characteristic curve (AUC), positive predictive value, and sensitivity were calculated to compare the performance of algorithms. The best machine learning algorithm with optimal parameters was obtained while the highest AUC in our test set.

Ethics and consent

This study was approved and authorized by ethics approval. The ethical review process for the medical institution is shown in Figure 2, informed consent was obtained from all the patients before enrolment, and the use of information must be approved by the applicant or their guardian. The relevant laboratory data during the survey period were retrieved from the patient's electronic medical records.

FIGURE 2
www.frontiersin.org

Figure 2. The ethical review process of subjects.

Study subjects

We conducted a retrospective study with 4,382 subjects from September 2017 to June 2020, and the details of the survey process were shown in Table 2.

TABLE 2
www.frontiersin.org

Table 2. Details of annual survey subjects and information collection.

The questionnaire consisted of baseline information (age, sex, and nationality); lifestyle (smoking consumption condition{at least a cigarette a day, > 1 year}, smokers were asked for the number of cigarettes and duration of smoking, drinking state{alcohol consumption at least twice a week, over a year}, and the drink frequency; dietary habits (the intake of salt more than 10 g a day as a high-salt diet, approximately assessment intake of daily oil, protein{bean, egg, milk, and meat}, spicy and sugar); green vegetables and fresh fruits {> 3 times a week}; The first-degree relatives gastric cancer history. Inclusion criteria during survey: (1) Guarantee a good compliance during the physical examination; (2) Age 25–85 years. And the exclusion criteria are as follows: (1) Refuse to sign informed consent; (2) History of esophageal, gastric polyp, and ulcer; (3) Existence of gastrointestinal warning symptoms such as gastrointestinal bleeding, persistent vomiting, anemia, abdominal mass, and dysphagia. (4) Severe mental illness affects normal investigation or compliance is poor, (5) Incomplete data (absence data of quantitative characteristics or individual total information missing rate>30%). In total, 3,630 subjects were enrolled in further study, the details of sample inclusion and elimination are shown in Figure 3.

FIGURE 3
www.frontiersin.org

Figure 3. The process of inclusion and elimination.

Clinical and biochemical data collection

Clinical data included H. pylori, PGI, and PGII. If these clinical indicators have been tested earlier, the relevant laboratory data during the survey period were retrieved from patient's electronic medical records. If there is no previous testing or record of clinical indicators, we would inform patients to sign informed consent forms and visit the nearest medical facility for examination, which included the serological markers and H. pylori (Ono et al., 2000).

Statistical analyses

SPSS 19.0 software was used for statistical analysis. Quantitative variables were expressed by mean ± SD, a T-test was used to compare two continuous variable groups that follow a normal distribution, and a Chi-square test was used to compare the adoption rate or percentage of the categorical data. Variables with statistically significant differences in single factor analysis were included in multivariate analysis, OR-value and 95% CI were calculated to assess the related factors. P < 0.05 was considered as a statistically significant difference.

Study outcome

According to the Operative Link on Gastritis Assessment (OLGA, which is a judgment indicator of the gastric mucosa atrophy degree in a patient by a professional physician and obtained from the laboratory data) standards and the Sydney level system (Dixon et al., 1996; Zhou et al., 2016), basic statistical information of subjects was compared among the NAG (non-atrophy group, OLGA-0 group), MAG (mild-moderate atrophy group, OLGA I-II group), SAG (severe-atrophy group, OLGA III-IV group) and GC (gastric cancer) groups. In the machine learning prediction process, we split the results into gastric cancer (+) and non-gastric cancer (-). We defined the NAG, MAG, and SAG groups combined as the non-gastric cancer group and compared them the gastric cancer (GC) group.

Training algorithm

Machine learning aims to make the learned functions apply well to the “new sample,” defining that the ability to use the intellectual process to a new sample is known as generalization ability. These algorithms attempt to excavate from many historical data implicit rules and are used to predict or classify. XGBoost (eXtreme Gradient Boosting) (Chen and Guestrin, 2016) was constructed with the Scikit-Learn package in Python. The architecture of the XGBoost is shown in Figure 4. XGBoost is an efficient algorithm based on the Gradient Boosted Decision Tree (GBDT) (Safavian and Landgrebe, 1991), which has attracted extensive attention because of its excellent learning capacity and efficient training speed. Compared with the GBDT, the proposed XGBoost algorithm mainly optimized objective function through the following three steps:

• The second order Taylor expansion removes constant and optimizes the loss function term.

• Regularization term expansion, removes constant term, and further optimizes regularization term.

• The final objective function is obtained by combining the first- and second-term coefficients.

FIGURE 4
www.frontiersin.org

Figure 4. The framework of extreme gradient boosting algorithm.

The algorithm principle of XGBoost

There is a training dataset {DT = (x1, y1), (x2, y2), …, (xn, yn)}, parameter x means the input feature part of the training dataset, and parameter y represents the label (OLGA-I, II, III, and IV levels), sample (xi, yi) ranks ith in the training dataset, the theory was as follows.

1. First, initialized the model and get a general expression for the prediction:

ŷi=k=1Kfk(xi)

Where fk (xi) is the initialized learner.

2. The overall objective function can be written as:

ζ(Φ)=il(yi,ŷi)+kΩ(fk)

Where the loss l(yi, ŷi) and the regularization term Ω(f):

Ω(f)=γT+12λ||w||2

3. The quadratic Taylor expansion can be obtained by substituting it into the objective function:

L(t)=i=1n[l(yi,ŷi(t-1))+gift(xi)+12hift2(xi)]+kΩ(fk)

Where gi and hi are, respectively, the first and second derivatives of l(yi,ŷi(t-1)), removing constant term l(yi,ŷi(t-1)), given the leaf node Ij = {i|q(xi) = j}, mapping the sample to the leaf space (T) in order to get a quadratic function of ωj, obtained the final objective function:

L~(t)=i=1n[gift(xi)+12hift2(xi)]+(γT+12λj=1Tωj2)        =j=1T[(iIjgi)ωj+12(iIjhi+λ)ωj2]+γT        =j=1T[Gjωj+12(Hj+λ)ωj2]+γT

4. Determined the optimal segmentation point and the optimal objective value:

ωj*=-GjHj+λL~(t)=-12j=1TGj2Hj+λ+γT

5. The Segmentation Point With Maximum Gain Was Found by GL, HL, GR, and HR, and the Output Is the Split With max Score:

Score=Max(Score,GL2HL+λ+GR2HR+λ-G2H+λ)

Where G means the sum of the second derivatives of all the samples, and H means the sum of the first derivatives of all the samples, G = GL + GR and H = HL + HR.

Tuning parameters of XGBoost

The parameters of XGBoost consist mainly of general parameter, booster parameter, and objective parameter. We set the general parameters (nthread and silent) to a default value, the objective parameter as “Linear,” and the reg_lambda parameter to 0.4 to prevent model overfitting. The booster parameters were tuned as follows:

• Booster parameters adopted default values of which the max_depth=6 and min_child_weight=1. A GridSearch was used to find optimum n_estimator and learning_rate to search the maximum number of iterations and appropriate learning efficiency.

• The n_estimator search range was set from 0 to 1,000. The step was 100, the initial learning rate was 0.01, step of 0.02. We selected the optimal parameters with the highest accuracy, and it was found that the n_estimator was 100 and the learning rate was 0.31 works optimal.

• Then performed, a further precise search for these parameters, n_estimator was set from 0 to 100 and the step was 1, the initial learning rate was 0.29, step=0.005. While n_estimator=18 and learning_rate=0.305, XGBoost algorithm reached higher accuracy.

• N_estimator was set to 18, and the learning rate was 0.305, fixed at this stage. GridSearch was be used to select the optimum max_depth and sub_sample parameters to find the maximum depth of the tree. The proportion of random sampling, a finite set for grid search max_depth was {3,4,5,6,7,8,9,10}, the search range of sub_sample was set from 0.55 to 1, the optimal parameters of max_depth and sub_sample were 5 and 0.9, which won the highest accuracy and the parameter of optimal performance was displayed in Table 3.

TABLE 3
www.frontiersin.org

Table 3. Parameter presupposition of XGBoost algorithm.

Testing algorithm

After completing the training of the gastric cancer diagnostic model training, a test set consisting of 726 subjects was applied to evaluate the algorithm's performance. The receiver operating characteristics curve (ROC) was plotted by a threshold of 0.5. In total, four common effect indicators were used to evaluate the performance of different algorithms in GC diagnostic tasks:

Acc=TP+TNTP+TN+FP+FNSens=TPTP+FNSpec=TNTN+FPPPv=TPTP+FP

Where,

–True Positive (TP): Correctly predicted as positive.

–True Negative (TN): Correctly predicted as negative.

–False Positive (FP): Incorrectly predicted as positive.

–False Negative (FN): Incorrectly predicted as negative.

Result

Statistical analyses of baseline information

As shown in Table 4, 3,630 subjects were finally enrolled in this study. Of these subjects, 56.1% (2,034/3,630) were men and 43.9% (1,596/3,630) women, with an average age of 54.76±11.24 (years) and sex ratio of 1.276:1 (men/women). There were 2,983 samples in the NAG group (82.2%), 446 in the MAG group (12.3%), 77 in the SAG group (2.1%), and 124 in the GC group (3.4%), while the infection rate of H. pylori was 68.9%. The pepsinogen I (PGI) levels were statistically significantly lower in men than women in the OLGA-II and OLGA-III groups (p < 0.05), and the levels of pepsinogen II (PGII) in the OLGA-IV group was statistical significantly higher than OLGA-I, OLGA-II, and OLGA-III groups (p < 0.05).

TABLE 4
www.frontiersin.org

Table 4. Characteristics of the subjects.

We performed multivariate analysis by selecting variables (p < 0.05) in Table 4 and found statistically significant differences in age, family history, vegetables, fruits, alcohol, smoking, high salt diet, H. pylori, and PGII (Table 5).

TABLE 5
www.frontiersin.org

Table 5. Multivariate logistics regression analysis of influencing factors of gastric cancer.

The model was constructed according to the beta coefficients obtained for the independent characteristics. The clinical characteristics of the training and test dataset are shown in Table 6.

TABLE 6
www.frontiersin.org

Table 6. Clinicopathologic characteristics of subjects in the training and test dataset.

Performance of machine learning

Summarized evaluation results (test set for prediction) of the XGBoost algorithm and the other three machine learning algorithms are presented in Table 7. The corresponding training and test sets receiver operating characteristics curves of binary classifications (non-cancer as negative GC group and gastric cancer as positive GC group) were shown in Figure 5. The extreme gradient boosting algorithm achieved the optimal effect with an AUC of 0.891 (95% CI: 0.875–0.907), with a sensitivity of 0.787, specificity of 0.769, and positive predictive value of 0.738 at the operating point determined by the maximum Youden Index (Youden, 1950). The XGboost algorithm achieved significantly higher both AUC (0.891) and accuracy (0.857) compared with the other three machine learning algorithms (all P < 0.01). Compared with the random forest and logistic regression algorithms, the mean value of AUC in the decision tree algorithm was significantly different (P < 0.01), while no significant difference in AUC between random forest and logistic regression (P = 0.17).

TABLE 7
www.frontiersin.org

Table 7. Performance among algorithms on the diagnosis of gastric cancer.

FIGURE 5
www.frontiersin.org

Figure 5. Receiver operating curve for algorithms.

The algorithm of the decision tree had the highest score of 0.566 in terms of the maximum Youden Index (sensitivity + specificity-1) among four algorithms, followed by XGBoost (0.556), logistic regression (0.542), and random forest (0.513) algorithm. Interestingly, the XGBoost algorithm performed the least specificity but the optimal sensitivity compared with the other three (all P < 0.01). Discrimination of the mean sensitivity between the XGBoost algorithm and the second highest one was 4.2%. In comparison, the discrimination of the mean positive predictive value of the XGBoost algorithm and the second one was 4.9%. Compared with XGBoost (73.8%), random forest (66.3%), and decision tree (68.9%), a baseline comparison logistic regression had the lowest PPV of 53.1%.

Feature importance of variables among algorithms

We further analyzed the feature importance of these eight variables among the four machine learning algorithms by calculating the feature score (F-score) of each variable for the predicted results, the higher the feature score is, the more contribution a variable makes to the detective of gastric cancer, and the relative contribution of each characteristic vector for mean AUC was quantified by the normalization of F-score. Figure 6 presented the variable rankings among different algorithms, although some discrepancies did exist, XGBoost and decision tree were very similar in variable rankings. Of these four algorithms, H. pylori, smoking, and age were considered as top-ranked variables while PGII had the least contribution to gastric cancer prediction. Compared with the other three algorithms, logistics regression model paid more attention to age (31%) and family history (14%) variables, ranked 1st and 3rd, respectively, while the smoking variable had a smaller influence on accurate prediction of the gastric cancer status (ranked 4th). We selected the XGBoost model (performed optimal in test set) for further analysis, and found that H. pylori was the most reliable variable, closely followed by smoking, age, vegetable intake, alcohol consumption, family history of GC, fruits, and PGII, which is similar to the previous study (Bornschein et al., 2012; Wang et al., 2014). Whereas further studies are required to explain the effectiveness of PGII in the decision tree-based algorithm gastric cancer prediction model.

FIGURE 6
www.frontiersin.org

Figure 6. Characteristics ranking among different algorithms.

Discussion

The majority of patients with early GC are curable by appropriate treatments. With the progress made in radiotherapy, chemotherapy, and endoscopic resection, the 5-year survival rate of early GC can reach at least 95% (Song et al., 2017; Tan, 2019). Hence, early diagnosis plays a vital role in reducing the fatality rate (Karimi et al., 2014). Stomach endoscopic visualization is the only method available currently to detect gastric neoplasia and its precursors (Fernandes and Devis, 1994). However, despite the growing body of evidence on the practicability of endoscopic diagnostic for GC, the evidence remains poor, for it is based on studies other than randomized controlled trials (Hamashima, 2016). In addition, endoscopic diagnosis has the limitation of infection, invasiveness, and expensiveness. Thus, there is a crying demand to develop a safe, non-invasive, and cheap gastric cancer prediction diagnostic method with high accuracy for the early GC stage population.

This study found that age, family history, smoking, alcohol, fruits, vegetables, H. pylori infection, and PGII(ng/ml) were statistically significant factors for GC diagnosis. The multiple logistic regression analysis (Table 4) showed that age was one of the risk factors for the AG/GC group, especially subjects older than 65 years (OR = 4.20). Other risk factors included family history (OR = 1.12), alcohol (OR = 2.95), smoking (OR = 1.55), H. pylori infection (OR = 4.04), and PGII (OR = 1.76), while the intake of fruit (OR = 0.16) and vegetable (OR = 0.38) were two potential protective factors for the gastric carcinoma. A 20-year prospective cohort study in a Japanese population reported that the combination of serum pepsinogens (PGs) levels and H. pylori antibody was a powerful indicator of GC risk (Ikeda et al., 2016). Kikuchi et al. (1994) found serum pepsinogens could reflect the morphology and function of the gastric mucosa. Combining high-pepsinogen II levels with low-pepsinogen I/II ratios may be an efficient diagnostic method for gastric cancer in populations at increased risk. Shin et al. (2010) found that individuals with one first-degree family member with GC (OR = 2.7, 95% CI: 1.7–4.3) had a higher risk of gastric cancer. Furthermore, individuals with at least two first-degree family members with gastric cancer (OR = 9.6, 95%CI: 1.2–73.4) were at higher risk than single first-degree relatives. A meta-analysis study (Poorolajal et al., 2020) consisting of 232 studies demonstrated that H. pylori infection (OR = 2.65, 95%CI: 2.23–3.14) and current smoking (OR = 1.61, 95%CI: 1.49–1.75) were the first and second most important risk factors for gastric cancer, while fresh fruit (OR = 0.48, 95%CI: 0.37–0.63) and green vegetable (OR = 0.62, 95%CI: 0.49–0.79) intake were the top one and top two protective factors for GC. Our findings were consistent with previous reports.

Some researchers use tissue biomarkers (TFF2, mir-124a-3p, etc.), innovative blood biomarkers, and other low-cost markers (CEA, CA19-9, MUC16, etc.) to predict and evaluate the risk of gastric cancer. The comparison between other studies and our research results is shown in Table 8. For example, Kuo et al. (2017) found that serum TFF2 levels were associated with the degree of SPEM and the risk of GC. However, tissue biomarkers have the disadvantages of being invasive, the risk of adverse events (stress reaction), and the performance depend to some extent on the sampling site. Innovative blood biomarkers such as cell-free DNA and RNA (miR-25, miR-486-5p, etc.) achieve high accuracy in early diagnosis and can be obtained through minimally invasive methods. Zhu et al. (2014) found that a combination of plasma miR-92a, miR-16, and miR-25 indicated as a potential biomarker for diagnosing non-cardia gastric cancer, with an AUC of 0.812. Liu et al. (2011) showed that the performance of machine learning using plasma miR-20a, miR-1, miR-423-5p, and miR-34 reached an AUC of 0.867. Unfortunately, innovative blood biomarkers are not available in many medical institutions due to complexity and expensiveness. Non-invasive gastric cancer markers researcher Zhu et al. (2020) proposed a gastric cancer diagnosis method using the GBDT algorithm based on subjects' non-invasive characteristics (CEA, CA19-9, etc.), with an accuracy of 0.83. Nevertheless, conventional serum tumor biomarkers such as carcinoembryonic and carbohydrate antigen (CA) 19-9 are unsuitable for early gastric cancer diagnosis due to insufficient specificity and sensitivity.

TABLE 8
www.frontiersin.org

Table 8. Comparison of different studies.

The prevalence rate of gastric cancer is 3.4% (124/3,630) in this study, there is a problem of imbalance in training samples. We simulated 500 positive samples of gastric cancer by SMOTE algorithm (Blagus and Lusa, 2013), then set the scale_pos_weight parameter to 0.178 (positive sample/negative sample), the purpose is to over-sample few sample categories and under-sample the various sample categories to balance the learning degree of the two types of labels. In the unbalanced problem, the value of AUC has a higher priority than accuracy, and the positive predictive value is more relevant in a clinical setting because it assesses the probability that patients who test positive will develop the target cancer. The sensitivity of diagnostic tests is more important than specificity in the early diagnosis of cancer-related diseases (Pinsky, 2015). Whereas the low prevalence in the gastric cancer diagnostic environment resulted in a very high negative predictive value, which was useless in rare disease to assess the performance of the model for providing less information (Pinsky, 2015). Compared with the other three models, the XGBoost model performed optimal in sensitivity (78.7%) and positive predictive value (73.8%). Logistic regression (Marill, 2004) is commonly applied to medical statistical analysis of the influencing factors. The main reason logistic regression in terms of AUC and positive predictive value is lower than XBGoost is that the characteristics of logistic regression of each dimension are independent, so it only has the ability to the existing feature space segmentation (Hou et al., 2020). Moreover, XGBoost does not raise the dimension of the feature space and seeks the split-point with the smallest residuals, so it will automatically seek other features that can minimize residuals under the current split subtree (Li et al., 2021), and in this manner, it will automatically have the performance of finding good feature combinations and give essential elements according to the residuals decrease. The decision tree is used usually in feature selection or classification problems with a significant difference in data attribute range and sparse data. It is widely used in financial sub-control (Nobre and Neves, 2019), medically assisted diagnosis, and other fields with satisfactory results. However, compared with the decision tree, the random forest has higher stability, the prediction results are obtained by referring to multiple decision trees, which reduces the influence of outliers. In this study, random forest and decision tree algorithms have obtained AUC of 0.79 and 0.83, respectively. The better effect of decision trees may be due to the inaccurate prediction of some decision trees due to the influence of outliers. Early studies have shown that XGBoost works better in low-dimensional data, XGBoost has better generalization ability and stability when dealing with unbalanced data sets. Small changes in hyperparameters of the random forest will affect almost all the decision trees and change the prediction results, while XGBoost pays more attention to functional space and can achieve stable and efficient prediction with very few parameters (Li et al., 2018). Random forest is an ensemble classifier method based on a decision tree with strong noise resistance and robustness. Compared with the XGBoost algorithm, the random forest performs better in high-dimensional data with more noise (Kong et al., 2017).

The most significant highlight of the current study is that this is the first study to develop a GC-predictive model based on lifestyle behavior and non-invasive characteristics using machine learning methods. In addition, the medical cost of this study is acceptable, and similar information of subjects is procurable in many digestive system departments of medical institutions. Nevertheless, limitations also existed in this study. A significant disadvantage of this study is that the sample size of gastric patients with gastric cancer is limited, leading to differences in the learning degree of different types of the training process so that the learning degree of patients with non-gastric cancer is easy to overfit but still under-fitting for patients with gastric cancer. Second, there would be some subjective bias involving the variable assignments and the survey of lifestyle behavior, which may influence the prediction results. In addition, a limitation of this approach was not the part of a clinical trial and cannot be used to diagnose gastric cancer clinically until further investigation and approval of authorities. At last, the results require further validation because of the relatively imbalanced small sample size.

Conclusion

The study aimed at working out the problem that the prediction accuracy and the generalization performance of proposed methods are not satisfied in the field of predicting the risk of suffering from gastric cancer. The gastric cancer status of random samples was predicted based on the personal information, eating habits, family history of the included population surveyed, and several non-invasive biochemical data collections. Our research has shown that the novel machine-learning algorithm XGBoost achieved better discriminatory precision in identifying individuals' gastric cancer status than the other three algorithms, which is the optimal choice for developing a GC diagnosis model using a combination of non-invasive clinical characteristics and lifestyle behaviors factors. We will better estimate the risk of potential patients with gastric cancer and provides new ideas for intelligent prevention of gastrointestinal diseases in the future.

Data availability statement

The original contributions presented in the study are included in the article/supplementary material, further inquiries can be directed to the corresponding authors.

Ethics statement

The studies involving human participants were reviewed and approved by Nos. 2015-082 and 2019-132, authorized by the Second Affiliated Hospital of Zhejiang University. The patients/participants provided their written informed consent to participate in this study.

Author contributions

SJ, HG, JS, and JW: conceptualization. JS, SJ, and HG: methodology. JS and SJ: software. JS and HG: validation. SJ and HG: formal analysis and visualization. JW: resources and supervision. YT and SJ: data curation. SJ: writing—original draft preparation. SJ and JW: writing—review and editing. YT and JW: project administration and funding acquisition. All authors have read and agreed to the published version of the manuscript.

Conflict of interest

The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Publisher's note

All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.

References

Bao, Y., and Liu, Z. (2006). “A Fast grid search method in support vector regression forecasting time series,” in Intelligent Data Engineering and Automated Learning? IDEAL 2006. IDEAL 2006. Lecture Notes in Computer Science, vol. 4224, eds E. Corchado, H. Yin, V. Botti, and C. Fyfe (Berlin; Heidelberg: Springer). doi: 10.1007/11875581_61

CrossRef Full Text | Google Scholar

Blagus, R., and Lusa, L. (2013). SMOTE for high-dimensional class-imbalanced data. BMC Bioinf. 14, 106. doi: 10.1186/1471-2105-14-106

PubMed Abstract | CrossRef Full Text | Google Scholar

Bornschein, J., Selgrad, M., Wex, T., Kuester, D., and Malfertheiner, P. (2012). Serological assessment of gastric mucosal atrophy in gastric cancer. BMC Gastroenterol. 12, 10. doi: 10.1186/1471-230X-12-10

PubMed Abstract | CrossRef Full Text | Google Scholar

Bray, F., Ferlay, J., Soerjomataram, I., Siegel, R. L., Torre, L. A., and Jemal, A. (2018). Global cancer statistics 2018: GLOBOCAN estimates of incidence and mortality worldwide for 36 cancers in 185 countries. CA Cancer J. Clin. 68, 394–424. doi: 10.3322/caac.21492

PubMed Abstract | CrossRef Full Text | Google Scholar

Chen, T., and Guestrin, C. (2016). “XGBoost: a scalable tree boosting system,” in Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (KDD '16) (New York, NY: Association for Computing Machinery), 785–794. doi: 10.1145/2939672.2939785

PubMed Abstract | CrossRef Full Text | Google Scholar

Correa, P. (2013). Gastric cancer: overview. Gastroenterol. Clin. North Am. 42, 211–217. doi: 10.1016/j.gtc.2013.01.002

PubMed Abstract | CrossRef Full Text | Google Scholar

Deo, R. C. (2015). Machine learning in medicine. Circulation. 132, 1920–1930. doi: 10.1161/CIRCULATIONAHA.115.001593

PubMed Abstract | CrossRef Full Text | Google Scholar

Dixon, M. F., Genta, R. M., and Yardley, J. H. (1996). Classifcation and grading of gastritis. The updated Sydney System. International Workshop on the Histopathology of Gastritis. Houston 1994. Am J Surg Pathol. 20, 1161–1181. doi: 10.1097/00000478-199610000-00001

PubMed Abstract | CrossRef Full Text | Google Scholar

Fernandes, E., and Devis, G. (1994). Endoscopic examination of the operated stomach: a review and a systematic approach. J. Gastroenterol. 29, 792–796. doi: 10.1007/BF02349290

PubMed Abstract | CrossRef Full Text | Google Scholar

Hamashima, C. (2016). Benefits and harms of endoscopic diagnostic for gastric cancer. World J. Gastroenterol. 22, 6385–6392. doi: 10.3748/wjg.v22.i28.6385

PubMed Abstract | CrossRef Full Text | Google Scholar

Handelman, G. S., Kok, H. K., Chandra, R. V., Razavi, A. H., Lee, M. J., and Hamed, A. (2018). eDoctor: machine learning and the future of medicine. J. Intern. Med. 284, 603–619. doi: 10.1111/joim.12822

PubMed Abstract | CrossRef Full Text | Google Scholar

Hou, N., Li, M., He, L., Xie, B., Wang, L., Zhang, R., et al. (2020). Predicting 30-days mortality for MIMIC-III patients with sepsis-3: a machine learning approach using XGboost. J. Transl. Med. 18, 462. doi: 10.1186/s12967-020-02620-5

PubMed Abstract | CrossRef Full Text | Google Scholar

Ikeda, F., Shikata, K., Hata, J., Fukuhara, M., Hirakawa, Y., Ohara, T., et al. (2016). Combination of Helicobacter pylori antibody and serum pepsinogen as a good predictive tool of gastric cancer incidence: 20-year prospective data from the Hisayama study. J. Epidemiol.26, 629–636. doi: 10.2188/jea.JE20150258

PubMed Abstract | CrossRef Full Text | Google Scholar

Karimi, P., Islami, F., Anandasabapathy, S., Freedman, N. D., and Kamangar, F. (2014). Gastric cancer: descriptive epidemiology, risk factors, diagnostic, and prevention. Cancer Epidemiol. Biomarkers Prev. 23, 700–713. doi: 10.1158/1055-9965.EPI-13-1057

PubMed Abstract | CrossRef Full Text | Google Scholar

Katzke, V. A., Kaaks, R., and Kühn, T. (2015). Lifestyle and cancer risk. Cancer J. 21, 104–110. doi: 10.1097/PPO.0000000000000101

PubMed Abstract | CrossRef Full Text | Google Scholar

Kikuchi, S., Wada, O., Miki, K., Nakajima, T., Nishi, T., Kobayashi, O., et al. (1994). Serum pepsinogen as a new marker for gastric carcinoma among young adults. Research group on prevention of gastric carcinoma among young adults. Cancer. 73, 2695–2702. doi: 10.1002/1097-0142(19940601)73:11<2695::aid-cncr2820731108>3.0.co

PubMed Abstract | CrossRef Full Text | Google Scholar

Kong, Q., Gong, H., Ding, X., and Hou, R. C. (2017). “Classification application based on mutual information and random forest method for high dimensional data,” in 2017 9th International Conference on Intelligent Human-Machine Systems and Cybernetics (IHMSC) (Qingdao).

Google Scholar

Kuo, H. Y., Chang, W. L., Yeh, Y. C., Tsai, Y. C., Wu, C. T., Cheng, H. C., et al. (2017). Serum level of trefoil factor 2 can predict the extent of gastric spasmolytic polypeptide-expressing metaplasia in the H. pylori-infected gastric cancer relatives. Helicobacter 22, 12320. doi: 10.1111/hel.12320

PubMed Abstract | CrossRef Full Text | Google Scholar

Leja, M., and Linē, A. (2021). Early diagnosis of gastric cancer beyond endoscopy - new methods. Optim. Pract. Res. Clin. Gastroenterol. 50–51, 101731. doi: 10.1016/j.bpg.2021.101731

PubMed Abstract | CrossRef Full Text | Google Scholar

Li, B., Zhang, N., Wang, Y. G., George, A. W., Reverter, A., and Li, Y. (2018). Genomic prediction of breeding values using a subset of SNPs identified by three machine learning methods. Front. Genet. 9, 237. doi: 10.3389/fgene.2018.00237

PubMed Abstract | CrossRef Full Text | Google Scholar

Li, J., Shi, Z., Liu, F., Fang, X., Cao, K., Meng, Y., et al. (2021). XGBoost classifier based on computed tomography radiomics for prediction of tumor-infiltrating CD8+ T-cells in patients with pancreatic ductal adenocarcinoma. Front. Oncol. 11, 671333. doi: 10.3389/fonc.2021.671333

PubMed Abstract | CrossRef Full Text | Google Scholar

Liu, R., Zhang, C., Hu, Z., Li, G., Cheng, W., Yang, C., et al. (2011). A five-microRNA signature identified from genome-wide serum microRNA expression profiling serves as a fingerprint for gastric cancer diagnosis. Eur. J. Cancer 47, 784–791. doi: 10.1016/j.ejca.2010.10.025

PubMed Abstract | CrossRef Full Text | Google Scholar

Marill, K. A. (2004). Advanced statistics: linear regression, part II: multiple linear regression. Acad. Emerg. Med. 11, 94–102. doi: 10.1111/j.1553-2712.2004.tb01379.x

PubMed Abstract | CrossRef Full Text | Google Scholar

Meng, Z., Zhao, Z., Li, B., Su, F., and Guo, L. (2021). A Cervical Histopathology Dataset for Computer Aided Diagnosis of Precancerous Lesions. IEEE Trans. Med. Imaging. 40, 1531–1541. doi: 10.1109/TMI.2021.3059699

PubMed Abstract | CrossRef Full Text | Google Scholar

Münzenmayer, C., Kage, A., Wittenberg, T., and Mühldorfer, L. (2009). Computer-assisted diagnosis for precancerous lesions in the esophagus. Methods Inf. Med. 48, 324–330. doi: 10.3414/ME9230

PubMed Abstract | CrossRef Full Text | Google Scholar

Niu, P. H., Zhao, L. L., Wu, H. L., Zhao, D. B., and Chen, Y. T. (2020). Artificial intelligence in gastric cancer: Application and future perspectives. World J. Gastroenterol. 26, 5408–5419. doi: 10.3748/wjg.v26.i36.5408

PubMed Abstract | CrossRef Full Text | Google Scholar

Nobre, J., and Neves, R. F. (2019). Combining Principal Component Analysis, Discrete Wavelet Transform and XGBoost to trade in the financial markets. Expert. Syst. Appl. 125, 181–194. doi: 10.1016/j.eswa.2019.01.083

CrossRef Full Text | Google Scholar

Ono, H., Kondo, H. G., Gotoda, T., Shirao, K., Yamaguchi, H., Saito, D., et al. (2000). Endoscopic mucosal resection for treatment of early gastric cancer. Gastrointest. Endosc. 51(Part 2), AB213. doi: 10.1016/S0016-5107(00)14569-9

CrossRef Full Text | Google Scholar

Pinsky, P. F. (2015). Principles of Cancer diagnostic. Surg. Clin. North Am. 95, 953–966. doi: 10.1016/j.suc.2015.05.009

PubMed Abstract | CrossRef Full Text | Google Scholar

Poorolajal, J., Moradi, L., Mohammadi, Y., Cheraghi, Z., Gohari-Ensaf, F., et al. (2020). Risk factors for stomach cancer: a systematic review and meta-analysis. Epidemiol. Health. 42, e2020004. doi: 10.4178/epih.e2020004

PubMed Abstract | CrossRef Full Text | Google Scholar

Safavian, S. R., and Landgrebe, D. (1991). A survey of decision tree classifier methodology. IEEE Trans. Syst. Man Cybern. 21, 660–674. doi: 10.1109/21.97458

CrossRef Full Text | Google Scholar

Selgrad, M., Bornschein, J., Rokkas, T., and Malfertheiner, P. (2010). Clinical aspects of gastric cancer and Helicobacter pylori–diagnostic, prevention, and treatment. Helicobacter. 15 (Suppl 1), 40–45. doi: 10.1111/j.1523-5378.2010.00783.x

PubMed Abstract | CrossRef Full Text | Google Scholar

Shin, C. M., Kim, N., Yang, H. J., Cho, S. I., Lee, H. S., Kim, J. S., et al. (2010). Stomach cancer risk in gastric cancer relatives: interaction between Helicobacter pylori infection and family history of gastric cancer for the risk of stomach cancer. J. Clin. Gastroenterol. 44, e34–e39. doi: 10.1097/MCG.0b013e3181a159c4

PubMed Abstract | CrossRef Full Text | Google Scholar

Song, Z., Wu, Y., Yang, J., Yang, D., and Fang, X. (2017). Progress in the treatment of advanced gastric cancer. Tumour Biol. 39, 1010428317714626. doi: 10.1177/1010428317714626

PubMed Abstract | CrossRef Full Text | Google Scholar

Sung, H., Ferlay, J., Siegel, R. L., Laversanne, M., Soerjomataram, I., Jemal, A., et al. (2021). Global Cancer Statistics 2020: GLOBOCAN Estimates of Incidence and Mortality Worldwide for 36 Cancers in 185 Countries. CA Cancer J. Clin. 71, 209–249. doi: 10.3322/caac.21660

PubMed Abstract | CrossRef Full Text | Google Scholar

Tan, Z. (2019). Recent advances in the surgical treatment of advanced gastric cancer: a review. Med. Sci. Monit. 25, 3537–3541. doi: 10.12659/MSM.916475

PubMed Abstract | CrossRef Full Text | Google Scholar

Wang, F., Meng, W., Wang, B., and Qiao, L. (2014). Helicobacter pylori-induced gastric inflammation and gastric cancer. Cancer Lett. 345, 196–202. doi: 10.1016/j.canlet.2013.08.016

PubMed Abstract | CrossRef Full Text | Google Scholar

Wu, Y., Sang, J., Zhou, J., and Ying, F. (2021). Comparative analysis of differences between preoperative endoscopic biopsy and postoperative pathological examination for diagnosis of gastric intraepithelial neoplasia. J. Int. Med. Res. 49, 300060521994929. doi: 10.1177/0300060521994929

PubMed Abstract | CrossRef Full Text | Google Scholar

Youden, W. J. (1950). Index for rating diagnostic tests. Cancer 3, 32–5. doi: 10.1002/1097-0142(1950)3:1<32::aid-cncr2820030106>3.0.co

CrossRef Full Text | Google Scholar

Yuan, P., Lin, L., Zheng, K., Wang, W., Wu, S. H., Huang, L. X., et al. (2020). Risk factors for gastric cancer and related serological levels in Fujian, China: hospital-based case-control study. BMJ Open 10, e042341. doi: 10.1136/bmjopen-2020-042341

PubMed Abstract | CrossRef Full Text | Google Scholar

Zhou, Y., Li, H. Y., Zhang, J. J., Chen, X. Y., and Ge, Z. Z. (2016). Operative link on gastritis assessment stage is an appropriate predictor of early gastric cancer. World J. Gastroenterol. 22, 3670. doi: 10.3748/wjg.v22.i13.3670

PubMed Abstract | CrossRef Full Text | Google Scholar

Zhu, C., Ren, C., Han, J., et al. (2014). A five-microRNA panel in plasma was identified as potential biomarker for early diagnosis of gastric cancer. Br. J. Cancer 110, 2291–2299. doi: 10.1038/bjc.2014.119

PubMed Abstract | CrossRef Full Text | Google Scholar

Zhu, S. L., Dong, J., Zhang, C., Huang, Y. B., and Pan, W. S. (2020). Application of machine learning in the diagnosis of gastric cancer based on noninvasive characteristics. PLoS ONE 15, e0244869. doi: 10.1371/journal.pone.0244869

PubMed Abstract | CrossRef Full Text | Google Scholar

Keywords: gastric cancer, non-invasive, machine learning, behavioral lifestyles, retrospective study

Citation: Jiang S, Gao H, He J, Shi J, Tong Y and Wu J (2022) Machine learning: A non-invasive prediction method for gastric cancer based on a survey of lifestyle behaviors. Front. Artif. Intell. 5:956385. doi: 10.3389/frai.2022.956385

Received: 30 May 2022; Accepted: 11 July 2022;
Published: 16 August 2022.

Edited by:

Tonghe Wang, Emory University, United States

Reviewed by:

Saeed Alahmari, Najran University, Saudi Arabia
Elena Sizikova, New York University, United States

Copyright © 2022 Jiang, Gao, He, Shi, Tong and Wu. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

*Correspondence: Jian Wu, d3VqaWFuMjAwMCYjeDAwMDQwO3pqdS5lZHUuY24=; Yuling Tong, dG9uZ3lsMDMxMyYjeDAwMDQwO3pqdS5lZHUuY24=

These authors have contributed equally to this work

Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.