<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.4 20241031//EN" "JATS-journalpublishing1-4.dtd">
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" article-type="research-article" dtd-version="1.4" xml:lang="en">
  <front>
    <journal-meta>
      <journal-id journal-id-type="publisher-id">jcc</journal-id>
      <journal-title-group>
        <journal-title>Journal of Computer and Communications</journal-title>
      </journal-title-group>
      <issn pub-type="epub">2327-5227</issn>
      <issn pub-type="ppub">2327-5219</issn>
      <publisher>
        <publisher-name>Scientific Research Publishing</publisher-name>
      </publisher>
    </journal-meta>
    <article-meta>
      <article-id pub-id-type="doi">10.4236/jcc.2026.149006</article-id>
      <article-id pub-id-type="publisher-id">jcc-154137</article-id>
      <article-categories>
        <subj-group>
          <subject>Article</subject>
        </subj-group>
        <subj-group>
          <subject>Computer Science</subject>
          <subject>Communications</subject>
        </subj-group>
      </article-categories>
      <title-group>
        <article-title>A Sequential Logistic Regression-Gradient Boosting Framework for Diabetes Classification</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author" corresp="yes">
          <name name-style="western">
            <surname>Li</surname>
            <given-names>Moyang</given-names>
          </name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <name name-style="western">
            <surname>Cai</surname>
            <given-names>Bowen</given-names>
          </name>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
      </contrib-group>
      <aff id="aff1"><label>1</label> Shady Side Academy, Pittsburgh, PA, USA </aff>
      <aff id="aff2"><label>2</label> School of Environment, Tsinghua University, Beijing, China </aff>
      <author-notes>
        <fn fn-type="conflict" id="fn-conflict">
          <p>The authors declare no conflicts of interest regarding the publication of this paper.</p>
        </fn>
      </author-notes>
      <pub-date pub-type="epub">
        <day>16</day>
        <month>09</month>
        <year>2026</year>
      </pub-date>
      <pub-date pub-type="collection">
        <month>09</month>
        <year>2026</year>
      </pub-date>
      <volume>14</volume>
      <issue>09</issue>
      <fpage>71</fpage>
      <lpage>92</lpage>
      <history>
        <date date-type="received">
          <day>21</day>
          <month>07</month>
          <year>2026</year>
        </date>
        <date date-type="accepted">
          <day>20</day>
          <month>09</month>
          <year>2026</year>
        </date>
        <date date-type="published">
          <day>23</day>
          <month>09</month>
          <year>2026</year>
        </date>
      </history>
      <permissions>
        <copyright-statement>© 2026 by the authors and Scientific Research Publishing Inc.</copyright-statement>
        <copyright-year>2026</copyright-year>
        <license license-type="open-access">
          <license-p> This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license ( <ext-link ext-link-type="uri" xlink:href="https://creativecommons.org/licenses/by/4.0/">https://creativecommons.org/licenses/by/4.0/</ext-link> ). </license-p>
        </license>
      </permissions>
      <self-uri content-type="doi" xlink:href="https://doi.org/10.4236/jcc.2026.149006">https://doi.org/10.4236/jcc.2026.149006</self-uri>
      <abstract>
        <p>Diabetes mellitus, particularly type 2 diabetes, is a major global public health problem, making early detection and intervention essential for reducing disease incidence. This study used the Pima Indians Diabetes Dataset as the source of the training and internal validation sets and the Frankfurt Diabetes Dataset as the external test set. Since the outcome is imbalanced, with non-diabetic cases (Outcome = 0) as the majority class, a two-stage integrated model (a sequential two-stage classification framework) was proposed to reduce the false negative rate. Logistic regression first identifies high-confidence positive cases and immediately classifies them as diabetic; remaining patients are passed to GBM as a second stage. The final classification combines positive predictions from both stages, providing an additional opportunity to identify Outcome = 1 cases while reducing false-negative predictions. The two-stage model achieved an accuracy of 77.27% with a false negative rate of 38.89% on the internal validation set and an accuracy of 89.35% with a false negative rate of 20.47% on the external test set, demonstrating strong robustness and transferability. Additionally, SHAP was applied to enhance model interpretability, identifying Glucose and Insulin as the most important features, followed by BMI, DiabetesPedigreeFunction, and Age.</p>
      </abstract>
      <kwd-group kwd-group-type="author-generated" xml:lang="en">
        <kwd>Diabetes</kwd>
        <kwd>Classification</kwd>
        <kwd>Sequential Framework</kwd>
        <kwd>Two-Stage Model</kwd>
        <kwd>SHAP</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec1">
      <title>1. Introduction</title>
      <p>Type 2 diabetes mellitus (T2DM) is a growing global public health challenge that impacts over 800 million people worldwide, causing serious complications including blindness, kidney failure, heart attacks, and strokes, and causing the death of millions every year [<xref ref-type="bibr" rid="B1">1</xref>]. In fact, the global number of adults with diabetes has increased by 630 million from 1990 to 2022, showing an unprecedented surge in the risk of various complications caused by diabetes [<xref ref-type="bibr" rid="B2">2</xref>]. Before developing diabetes, most people go through a pre-diabetic stage where they have high blood glucose either resulting from insulin resistance or insulin deficiency [<xref ref-type="bibr" rid="B3">3</xref>]. Because timely identification can support clinical management, accurate detection and classification of diabetes are important for patients and healthcare systems.</p>
      <p>Early detection requires a comprehensive evaluation of various biochemical and physical risk variables. Obesity, defined as having a high Body Mass Index (BMI), is a significant risk factor [<xref ref-type="bibr" rid="B4">4</xref>]. High blood pressure and blood glucose levels are also key features for determining a person’s prediabetic state [<xref ref-type="bibr" rid="B4">4</xref>]. Furthermore, non-modifiable characteristics such as age, family history, and reproductive history are also important traits that need to be monitored [<xref ref-type="bibr" rid="B5">5</xref>]. Besides, since decreased insulin production is essential to the development of chronic diabetes conditions, insulin level is also a crucial risk variable [<xref ref-type="bibr" rid="B6">6</xref>].</p>
      <p>Machine learning (ML) techniques have emerged as a useful tool in making classifications for diabetes: it succeeds by applying to datasets such as Pima Indians Diabetes Dataset collected by the National Institute of Diabetes and Digestive and Kidney Diseases [<xref ref-type="bibr" rid="B7">7</xref>]. For example, Zou <italic>et al.</italic> [<xref ref-type="bibr" rid="B8">8</xref>] demonstrated the effectiveness of ML methods like Random Forest and Neural Networks: it successfully found intricate patterns such as non-linear connections in biochemical indicators, which are used to be challenging with conventional statistical techniques. Moreover, Kiran <italic>et al.</italic> [<xref ref-type="bibr" rid="B9">9</xref>] show a trend from traditional methods toward advanced ensemble models, such as Random Forest or Gradient Boosting. It suggests the effectiveness of ensemble-based machine learning methods in the prediction and interpretation of T2DM. However, class imbalance remains a major challenge in diabetes prediction: dominance of non-diabetic cases causes models to favor the majority class and reduce their ability to identify diabetic patients [<xref ref-type="bibr" rid="B10">10</xref>].</p>
      <p>Building on these challenges, this study proposes a sequential two-stage classification framework in <xref ref-type="fig" rid="fig1">Figure 1</xref>, aiming to improve diabetes classifications while reducing missed diagnoses: using the Pima Indians Diabetes Dataset to prioritize lowering false negatives, which is crucial for medical safety because missed diagnosis can result in serious problems. The first step is data cleaning and preprocessing, including RF imputing missing data and SMOTE addressing data imbalance. Then, four main algorithms (RF, SVM, ANN, and GBM) were evaluated, with GBM standing out with the highest accuracy of 76.62%. In addition, to reduce false negative rate, a two-stage model was created: this approach uses Logistic Regression (LR) as a high-confidence positive identification stage. Gradient Boosting Machines (GBM) are then used to identify overlooked instances in the remaining subset.</p>
      <p>This two-stage model was trained on the 80% training set drawn from the Pima Indians Diabetes Dataset. The remaining 20% was used as the internal validation set to evaluate the model’s performance; additionally, the Frankfurt Diabetes Dataset was used as the external test set to assess model’s generalizability. On the internal validation set, the model achieved an overall accuracy of 77.27% with a false negative rate of 38.89%; on the external test set, the model achieved a higher accuracy of 89.35% and a lower false negative rate of 20.47%. The results demonstrate model’s strong robustness and transferability.</p>
      <fig id="fig1">
        <label>Figure 1</label>
        <graphic xlink:href="https://html.scirp.org/file/1733617-rId13.jpeg?20260923030834" />
      </fig>
      <p><bold>Figure 1.</bold>Overview of the sequential two-stage Logistic Regression-Gradient Boosting classification framework.</p>
      <p>Result analysis further revealed critical thresholds, including sharp risk increases at Glucose ≈ 127 - 130 mg/dL and BMI ≥ 30 kg/m<sup>2</sup>. SHAP feature importance plot showed Glucose as the strongest predictor, followed by BMI, Age, and Insulin; Interaction plot illustrated strong relationships between Glucose and Age and Glucose and BMI.</p>
      <p>Therefore, the sequential two-stage framework lowers false negative rates while maintaining overall prediction accuracy, effectively preventing missed diagnoses; it simultaneously holds high interpretability, providing useful information for clinical practice. Model’s approach is scalable to different clinical settings, facilitating early detection of diabetes.</p>
    </sec>
    <sec id="sec2">
      <title>2. Literature Review</title>
      <sec id="sec2dot1">
        <title>2.1. Background: T2DM Etiology and Research Value</title>
        <p>Data reveal that approximately 463 million adults worldwide were living with diabetes mellitus in 2019, and it will surge by 51% to reach 700 million by 2045 [<xref ref-type="bibr" rid="B11">11</xref>]. Despite its growing prevalence, many cases of T2DM could be prevented with lifestyle changes, including weight control, maintaining healthy diet, staying physically active, and so on [<xref ref-type="bibr" rid="B12">12</xref>]. Therefore, accurate classifications and clinical management of diabetes are crucial to prevent disease progression and severe complications in the future.</p>
        <p>In addition, the pathogenesis of T2DM is highly complex, it involves interaction of multiple biological and environmental factors, which influence one another through complicated pathways rather than simple linear relationships [<xref ref-type="bibr" rid="B13">13</xref>]. As a result, diabetes prediction requires advanced methods that are capable of capturing complex nonlinear relationships. Choi <italic>et al.</italic> [<xref ref-type="bibr" rid="B14">14</xref>] demonstrate that machine learning models consistently outperform traditional statistical methods in identifying undiagnosed diabetes, particularly when data is complex and non-linear. This highlights the necessity of training machine learning methods in modern diabetes prediction research to boost prediction performance.</p>
      </sec>
      <sec id="sec2dot2">
        <title>2.2. Existing ML Approaches for T2DM Classification</title>
        <p>Ijaz <italic>et al.</italic> [<xref ref-type="bibr" rid="B15">15</xref>] addressed imbalance and noisy dataset by using DBSCAN for outlier detection and SMOTE for class balance, improving the performance of RF classifiers.</p>
        <p>Hasan <italic>et al.</italic> [<xref ref-type="bibr" rid="B16">16</xref>] provide a framework for ensemble machine learning methods: they used an ensemble of classifiers, including AdaBoost and XGBoost, weighing different models by AUC. Similarly, Ganie <italic>et al.</italic> [<xref ref-type="bibr" rid="B17">17</xref>] used boosting ensembles such as CatBoost and XGBoost with cross-validation and splitting data into multiple folds. These two studies show the effectiveness of ensemble models in early diabetes classifications.</p>
        <p>Bala Manoj Kumar<italic>et al.</italic> [<xref ref-type="bibr" rid="B18">18</xref>] used Deep Neural Networks to achieve 98.16% classification accuracy on the Pima Indians Diabetes Dataset. However, their extremely high accuracy often causes concerns regarding overfitting and low generalizability, proving the important balance between prediction accuracy and clinical applicability.</p>
        <p>In contrast, Edlitz and Segal [<xref ref-type="bibr" rid="B19">19</xref>] used a complex GBDT (Gradient Boosting Decision Tree) model but still holds high interpretability. Vakil <italic>et al.</italic> [<xref ref-type="bibr" rid="B20">20</xref>] combine multiple machine learning models with explainable AI methods and SHAP (Shapley Additive Explanations) for enhancing the interpretability of early detection of diabetes. These studies highlight the importance of balancing prediction performance and clinical interpretability.</p>
      </sec>
      <sec id="sec2dot3">
        <title>2.3. Motivation for a Sequential Two-Stage Classification Framework</title>
        <p>Although machine learning methods have made progress in diabetes classifications, a critical challenge still remains in clinical datasets: class imbalance. In most screening populations, non-diabetic individuals constitute the majority of cases. For example, the global diabetes prevalence in 2019 is estimated to be 9.3% (463 million people) [<xref ref-type="bibr" rid="B11">11</xref>]. Talebi Moghaddam <italic>et al.</italic> [<xref ref-type="bibr" rid="B21">21</xref>] demonstrated that this class imbalance can significantly affect model performance and often leads to reduced sensitivity. In particular, classifiers tend to favor the majority class and incorrectly classify diabetic individuals as non-diabetic, resulting in a high false negative rate. In clinical screening, these missed diagnoses are especially problematic because patients may lose the opportunity for timely intervention and treatment, increasing the risk of disease progression and long-term complications [<xref ref-type="bibr" rid="B22">22</xref>].</p>
        <p>Furthermore, different prediction models exhibit distinct strengths and limitations. Seto <italic>et al.</italic> [<xref ref-type="bibr" rid="B23">23</xref>] showed that Gradient Boosting Decision Trees is better in capturing complex non-linear relationships and achieving higher predictive accuracy; Logistic Regression remains valuable because of its simplicity, interpretability, and well-calibrated probability estimates. Similarly, Abousaber <italic>et al.</italic> [<xref ref-type="bibr" rid="B10">10</xref>] evaluated multiple machine learning algorithms for diabetes classification, including Random Forest (RF), Gradient Boosting Machines (GBM), Support Vector Machines (SVM), Artificial Neural Networks (ANN). Their results showed that no single algorithm consistently outperformed all others across different datasets and preprocessing strategies, suggesting that different models possess complementary strengths.</p>
        <p>Beyond model selection, the choice of interpretability method is equally important. Lundberg <italic>et al.</italic> [<xref ref-type="bibr" rid="B24">24</xref>] showed that the SHAP method can improve the interpretability of tree-based models, including measuring local feature interaction effects and combining many local explanations of each prediction.</p>
      </sec>
    </sec>
    <sec id="sec3">
      <title>3. Data Preparation</title>
      <sec id="sec3dot1">
        <title>3.1. Data Preliminary Analysis</title>
        <p>The Pima Indians Diabetes Dataset is originally from the National Institute of Diabetes and Digestive and Kidney Diseases [<xref ref-type="bibr" rid="B25">25</xref>]. Original purpose of the dataset is to diagnostically predict the presence of diabetes based on certain measurements. Notably, the dataset has some constraints: all instances in the dataset are females at least 21 years old of Pima Indian heritage.</p>
        <p>The dataset captures 768 samples of patients to analyze the biochemical and physical factors [<xref ref-type="bibr" rid="B7">7</xref>]. It consists of eight explanatory variables: Pregnancies, Glucose, Blood Pressure, Skin Thickness, Insulin, BMI, Diabetes Pedigree Function, and Age. The target variable, Outcome, is binary-coded, where 1 represents the presence of diabetes and 0 indicates its absence.</p>
        <p>On the second row of <bold>Table 1</bold>, one important finding is that there are zero values in a number of categories including blood pressure, skin thickness, insulin, BMI, and glucose. These zeros are medically impossible: Glucose and Insulin are primary biochemical indicators of glycemic control and pancreatic function, while BMI, Blood Pressure, and Skin Thickness serve as physical markers for obesity and vascular health associated with insulin resistance. Collectively, these five variables define the metabolic profile necessary for accurately assessing diabetic risk and identifying latent physiological abnormalities. Features like Skin Thickness (227 zeros) and Insulin (374 zeros) have a significant amount of missingness, as the table illustrates, indicating that these data points were either randomly absent or not recorded. These zeros are regarded as missing observations and will be handled using sophisticated imputation techniques to preserve the integrity of the ensuing predictive modeling.</p>
        <p><bold>Table 1.</bold>Descriptive statistics for explanatory variables in the Pima Indians Diabetes Dataset. </p>
        <table-wrap id="tbl1">
          <label>Table 1</label>
          <table>
            <tbody>
              <tr>
                <td>
                  <bold>Variable</bold>
                </td>
                <td>
                  <bold>Missing</bold>
                  <bold>value</bold>
                </td>
                <td>
                  <bold>Mean</bold>
                </td>
                <td>
                  <bold>Std.</bold>
                </td>
                <td>
                  <bold>Min</bold>
                </td>
                <td>
                  <bold>Max</bold>
                </td>
              </tr>
              <tr>
                <td>Pregnancies</td>
                <td>0</td>
                <td>3.85</td>
                <td>3.37</td>
                <td>0</td>
                <td>17</td>
              </tr>
              <tr>
                <td>Glucose</td>
                <td>5</td>
                <td>121.69</td>
                <td>30.54</td>
                <td>44</td>
                <td>199</td>
              </tr>
              <tr>
                <td>BloodPressure</td>
                <td>35</td>
                <td>72.41</td>
                <td>12.38</td>
                <td>24</td>
                <td>122</td>
              </tr>
              <tr>
                <td>SkinThickness</td>
                <td>227</td>
                <td>29.15</td>
                <td>10.48</td>
                <td>7</td>
                <td>99</td>
              </tr>
              <tr>
                <td>Insulin</td>
                <td>374</td>
                <td>155.55</td>
                <td>118.78</td>
                <td>14</td>
                <td>846</td>
              </tr>
              <tr>
                <td>BMI</td>
                <td>11</td>
                <td>32.46</td>
                <td>6.92</td>
                <td>18.2</td>
                <td>67.1</td>
              </tr>
              <tr>
                <td>DiabetesPedigreeFunction</td>
                <td>0</td>
                <td>0.47</td>
                <td>0.33</td>
                <td>0.08</td>
                <td>2.42</td>
              </tr>
              <tr>
                <td>Age</td>
                <td>0</td>
                <td>33.24</td>
                <td>11.76</td>
                <td>21</td>
                <td>81</td>
              </tr>
              <tr>
                <td>Outcome</td>
                <td>0</td>
                <td>0.35</td>
                <td>0.48</td>
                <td>0</td>
                <td>1</td>
              </tr>
            </tbody>
          </table>
        </table-wrap>
      </sec>
      <sec id="sec3dot2">
        <title>3.2. External Test Dataset</title>
        <p>To further evaluate the sequential two-stage framework, the Frankfurt Diabetes Dataset, collected from a hospital in Frankfurt, Germany, was introduced as the external test set [<xref ref-type="bibr" rid="B26">26</xref>]. The 80% training set drawn from the Pima Indians Diabetes Dataset was used to train the model, and the 20% internal validation set was used to validate the model. The Frankfurt Diabetes Dataset comprises 2000 female patients and shares the same eight explanatory variables and the same binary Outcome label. Thus, the trained model can be directly applied to the external test set.</p>
        <p>Similarly, the external test set in <bold>Table 2</bold> contains physiologically implausible zero values in Glucose, Blood Pressure, Skin Thickness, Insulin, and BMI. These zero values were regarded as missing values. Therefore, missing data issue exists in both two datasets and, hence, a method is proposed to address this problem in 3.3.</p>
        <p><bold>Table 2.</bold>Descriptive statistics for explanatory variables in the Frankfurt Diabetes Dataset.</p>
        <table-wrap id="tbl2">
          <label>Table 2</label>
          <table>
            <tbody>
              <tr>
                <td>
                  <bold>Variable</bold>
                </td>
                <td>
                  <bold>Missing</bold>
                  <bold>value</bold>
                </td>
                <td>
                  <bold>Mean</bold>
                </td>
                <td>
                  <bold>Std.</bold>
                </td>
                <td>
                  <bold>Min</bold>
                </td>
                <td>
                  <bold>Max</bold>
                </td>
              </tr>
              <tr>
                <td>Pregnancies</td>
                <td>0</td>
                <td>3.70</td>
                <td>3.31</td>
                <td>0.00</td>
                <td>17.00</td>
              </tr>
              <tr>
                <td>Glucose</td>
                <td>13</td>
                <td>121.98</td>
                <td>30.63</td>
                <td>44.00</td>
                <td>199.00</td>
              </tr>
              <tr>
                <td>BloodPressure</td>
                <td>90</td>
                <td>72.40</td>
                <td>12.23</td>
                <td>24.00</td>
                <td>122.00</td>
              </tr>
              <tr>
                <td>SkinThickness</td>
                <td>573</td>
                <td>29.34</td>
                <td>10.80</td>
                <td>7.00</td>
                <td>110.00</td>
              </tr>
              <tr>
                <td>Insulin</td>
                <td>956</td>
                <td>153.74</td>
                <td>111.27</td>
                <td>14.00</td>
                <td>744.00</td>
              </tr>
              <tr>
                <td>BMI</td>
                <td>28</td>
                <td>32.65</td>
                <td>7.24</td>
                <td>18.20</td>
                <td>80.60</td>
              </tr>
              <tr>
                <td>DiabetesPedigreeFunction</td>
                <td>0</td>
                <td>0.47</td>
                <td>0.32</td>
                <td>0.08</td>
                <td>2.42</td>
              </tr>
              <tr>
                <td>Age</td>
                <td>0</td>
                <td>33.09</td>
                <td>11.79</td>
                <td>21.00</td>
                <td>81.00</td>
              </tr>
              <tr>
                <td>Outcome</td>
                <td>0</td>
                <td>0.34</td>
                <td>0.47</td>
                <td>0.00</td>
                <td>1.00</td>
              </tr>
            </tbody>
          </table>
        </table-wrap>
      </sec>
      <sec id="sec3dot3">
        <title>3.3. Handling of Missing Values</title>
        <p>To address the missing values in features in 3.2, a Random Forest (RF) imputation method, specifically the MissForest algorithm, was employed. Unlike simple mean or median imputation, which can distort the data distribution and ignore inter-variable correlations, RF imputation is a non-parametric approach that predicts missing values by leveraging the complex, non-linear relationships between all observed features.</p>
        <p>The imputation process treats each variable with missing data as a target (Y) and the remaining variables as predictors (X) [<xref ref-type="bibr" rid="B27">27</xref>]. For a missing value in variable j, an ensemble of decision trees learns a functional mapping. The imputation accuracy is evaluated using NRMSE (Normalized Root Mean Square Error):</p>
        <disp-formula id="FD1">
          <label>(1)</label>
          <mml:math display="inline">
            <mml:mrow>
              <mml:mtext>NRMSE</mml:mtext>
              <mml:mo>=</mml:mo>
              <mml:msqrt>
                <mml:mrow>
                  <mml:mfrac>
                    <mml:mrow>
                      <mml:mtext>mean</mml:mtext>
                      <mml:mrow>
                        <mml:mo>(</mml:mo>
                        <mml:mrow>
                          <mml:msup>
                            <mml:mrow>
                              <mml:mrow>
                                <mml:mo>(</mml:mo>
                                <mml:mrow>
                                  <mml:msub>
                                    <mml:mi>X</mml:mi>
                                    <mml:mrow>
                                      <mml:mtext>true</mml:mtext>
                                    </mml:mrow>
                                  </mml:msub>
                                  <mml:mo>−</mml:mo>
                                  <mml:msub>
                                    <mml:mi>X</mml:mi>
                                    <mml:mrow>
                                      <mml:mtext>imp</mml:mtext>
                                    </mml:mrow>
                                  </mml:msub>
                                </mml:mrow>
                                <mml:mo>)</mml:mo>
                              </mml:mrow>
                            </mml:mrow>
                            <mml:mn>2</mml:mn>
                          </mml:msup>
                        </mml:mrow>
                        <mml:mo>)</mml:mo>
                      </mml:mrow>
                    </mml:mrow>
                    <mml:mrow>
                      <mml:mi>var</mml:mi>
                      <mml:mrow>
                        <mml:mo>(</mml:mo>
                        <mml:mrow>
                          <mml:msub>
                            <mml:mi>X</mml:mi>
                            <mml:mrow>
                              <mml:mtext>true</mml:mtext>
                            </mml:mrow>
                          </mml:msub>
                        </mml:mrow>
                        <mml:mo>)</mml:mo>
                      </mml:mrow>
                    </mml:mrow>
                  </mml:mfrac>
                </mml:mrow>
              </mml:msqrt>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>By leveraging the covariance structure of complete variables like Age and BMI, the model effectively reconstructs high-missingness features such as Skin Thickness and Insulin. This method provides a solid basis for the prediction model by reconstructing high-missing features like skin thickness and insulin from the covariance structure of complete variables like age and BMI using an Iterative Imputer framework.</p>
      </sec>
      <sec id="sec3dot4">
        <title>3.4. Addressing Data Imbalance</title>
        <p>In <xref ref-type="fig" rid="fig2">Figure 2</xref>, the Outcome distribution in two datasets both indicates data imbalance: in the Pima Indians Diabetes Dataset, 500 instances (65.1%) labeled as 0 and 268 instances (34.9%) labeled as 1; in the Frankfurt Diabetes Dataset, 1316 instances (65.8%) labeled as 0 and 684 instances (34.2%) labeled as 1. This data inequality, characterized by a larger proportion of non-diabetic cases, may bias model performance toward the majority class.</p>
        <fig id="fig2">
          <label>Figure 2</label>
          <graphic xlink:href="https://html.scirp.org/file/1733617-rId16.jpeg?20260923030839" />
        </fig>
        <p>(a)</p>
        <fig id="fig3">
          <label>Figure 3</label>
          <graphic xlink:href="https://html.scirp.org/file/1733617-rId17.jpeg?20260923030839" />
        </fig>
        <p>(b)</p>
        <p><bold>Figure 2.</bold>Distribution of the outcome (0 = no diabetes, 1 = diabetes) in the Pima Indians Diabetes Dataset and the Frankfurt Diabetes Dataset. (a) Pima Indians Diabetes Dataset; (b) Frankfurt Diabetes Dataset. </p>
        <p>Hence, to address this issue, the Synthetic Minority Oversampling Technique (SMOTE) was employed to generate synthetic samples of the minority class (Outcome = 1) [<xref ref-type="bibr" rid="B28">28</xref>]. However, experimental findings showed that SMOTE did not improve the performance of the best model in this investigation. The top-performing single-stage classifier, the Gradient Boosting Machine (GBM), maintained the same accuracy on the original and SMOTE-balanced datasets. The original imbalanced dataset was thus kept for all ensuing modeling and interpretability analyses in order to preserve the real-world data.</p>
      </sec>
    </sec>
    <sec id="sec4">
      <title>4. Methodology</title>
      <sec id="sec4dot1">
        <title>4.1. Model Selection</title>
        <p>The Pima Indians Diabetes Dataset was stratified into an 80% training set and a 20% internal validation set to ensure consistent class distribution across splits. Four widely used classification algorithms were implemented as baseline comparators: Random Forest (RF) [<xref ref-type="bibr" rid="B29">29</xref>], Support Vector Machine (SVM) [<xref ref-type="bibr" rid="B30">30</xref>], Artificial Neural Network (ANN) [<xref ref-type="bibr" rid="B31">31</xref>], and Gradient Boosting Machine (GBM) [<xref ref-type="bibr" rid="B32">32</xref>]. Model performance was assessed using confusion matrix-derived metrics, including accuracy, false positive rate (actual non-diabetic cases incorrectly classified as diabetic), and false negative rate (actual diabetic cases incorrectly classified as non-diabetic).</p>
        <p><xref ref-type="fig" rid="fig3">Figure 3</xref> shows Gradient Boosting Machine (GBM) had the highest accuracy of 76.62%. Therefore, GBM was chosen as the secondary model for the later two-stage model.</p>
        <fig id="fig4">
          <label>Figure 4</label>
          <graphic xlink:href="https://html.scirp.org/file/1733617-rId18.jpeg?20260923030840" />
        </fig>
        <p><bold>Figure 3.</bold>Comparison of four classification model accuracy on the internal validation set using the original imbalanced dataset.</p>
      </sec>
      <sec id="sec4dot2">
        <title>4.2. A Sequential Logistic Regression-Gradient Boosting Framework for Diabetes Classification</title>
        <p>In the standalone GBM evaluation, Gradient Boosting Machine (GBM) achieved an accuracy of 76.62%. However, it still has a high false negative rate (presence of diabetes is overlooked) of 40.74%, which is unsuitable for clinical screening. A missed diagnosis can cause severe consequences. Therefore, to ensure patients receive necessary early care and reduce the false negative rate, a two-stage model is proposed.</p>
        <p>In the first stage, Logistic Regression serves as a high-confidence positive identification stage that identifies positive cases (Outcome = 1); the remaining cases are then passed to GBM, which provides an additional opportunity to identify positive cases that were not classified as positive in the first stage.</p>
        <p>To evaluate the robustness and transferability of the two-stage model, two evaluation procedures were conducted: first, the Pima Indians Diabetes Dataset was split into an 80% training set and a 20% internal validation set, where the internal validation set is used for testing the model’s robustness; second, the Frankfurt Diabetes Dataset was used as the external test set to assess transferability using the established model.</p>
        <p>Stage 1: Logistic Regression</p>
        <p>A logistic regression model is first trained on the 80% training set drawn from the Pima Indians Diabetes Dataset. Logistic Regression (LR) is a foundational statistical model used for binary classification. It utilizes the logistic function to map input variables into a probability space between 0 and 1. As shown in the following formula [<xref ref-type="bibr" rid="B33">33</xref>]:</p>
        <disp-formula id="FD2">
          <label>(2)</label>
          <mml:math display="inline">
            <mml:mrow>
              <mml:mi>p</mml:mi>
              <mml:mrow>
                <mml:mo>(</mml:mo>
                <mml:mi>x</mml:mi>
                <mml:mo>)</mml:mo>
              </mml:mrow>
              <mml:mo>=</mml:mo>
              <mml:mfrac>
                <mml:mn>1</mml:mn>
                <mml:mrow>
                  <mml:mn>1</mml:mn>
                  <mml:mo>+</mml:mo>
                  <mml:msup>
                    <mml:mtext>e</mml:mtext>
                    <mml:mrow>
                      <mml:mrow>
                        <mml:mrow>
                          <mml:mo>−</mml:mo>
                          <mml:mrow>
                            <mml:mo>(</mml:mo>
                            <mml:mrow>
                              <mml:mi>x</mml:mi>
                              <mml:mo>−</mml:mo>
                              <mml:mi>μ</mml:mi>
                            </mml:mrow>
                            <mml:mo>)</mml:mo>
                          </mml:mrow>
                        </mml:mrow>
                        <mml:mo>/</mml:mo>
                        <mml:mi>s</mml:mi>
                      </mml:mrow>
                    </mml:mrow>
                  </mml:msup>
                </mml:mrow>
              </mml:mfrac>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>It employs the sigmoid function to estimate the probability <italic>p</italic> of diabetes (Outcome = 1). In Stage 1, observations with logistic-regression probabilities greater than 0.9 were classified as positive. All remaining observations were passed to the GBM classifier for the final prediction.</p>
        <p>Stage 2: Secondary Classifier (Gradient Boosting Model)</p>
        <p>Gradient Boosting Machine is an advanced ensemble technique that builds models sequentially, with each new model attempting to correct the residual errors of the previous ones. Following the iterative optimization framework proposed by Friedman, the algorithm minimizes a loss function <inline-formula><mml:math display="inline"><mml:mrow><mml:mi> L </mml:mi><mml:mrow><mml:mo> ( </mml:mo><mml:mrow><mml:mi> y </mml:mi><mml:mo> , </mml:mo><mml:mi> F </mml:mi><mml:mrow><mml:mo> ( </mml:mo><mml:mi> x </mml:mi><mml:mo> ) </mml:mo></mml:mrow></mml:mrow><mml:mo> ) </mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula> by adding weak learners (typically decision trees) using a gradient descent-like procedure. The model <italic>F</italic>(<italic>x</italic>) is updated at each step m according to the formula:</p>
        <disp-formula id="FD3">
          <label>(3)</label>
          <mml:math display="inline">
            <mml:mrow>
              <mml:msub>
                <mml:mi>F</mml:mi>
                <mml:mi>m</mml:mi>
              </mml:msub>
              <mml:mrow>
                <mml:mo>(</mml:mo>
                <mml:mi>x</mml:mi>
                <mml:mo>)</mml:mo>
              </mml:mrow>
              <mml:mo>=</mml:mo>
              <mml:msub>
                <mml:mi>F</mml:mi>
                <mml:mrow>
                  <mml:mi>m</mml:mi>
                  <mml:mo>−</mml:mo>
                  <mml:mn>1</mml:mn>
                </mml:mrow>
              </mml:msub>
              <mml:mrow>
                <mml:mo>(</mml:mo>
                <mml:mi>x</mml:mi>
                <mml:mo>)</mml:mo>
              </mml:mrow>
              <mml:mo>+</mml:mo>
              <mml:msub>
                <mml:mi>γ</mml:mi>
                <mml:mi>m</mml:mi>
              </mml:msub>
              <mml:msub>
                <mml:mi>h</mml:mi>
                <mml:mi>m</mml:mi>
              </mml:msub>
              <mml:mrow>
                <mml:mo>(</mml:mo>
                <mml:mi>x</mml:mi>
                <mml:mo>)</mml:mo>
              </mml:mrow>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>where <inline-formula><mml:math display="inline"><mml:mrow><mml:msub><mml:mi> h </mml:mi><mml:mi> m </mml:mi></mml:msub><mml:mrow><mml:mo> ( </mml:mo><mml:mi> x </mml:mi><mml:mo> ) </mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula> is the weak learner trained to predict the negative gradient (residuals) of the loss function, and <inline-formula><mml:math display="inline"><mml:mrow><mml:msub><mml:mi> γ </mml:mi><mml:mi> m </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is the step size or learning rate [<xref ref-type="bibr" rid="B32">32</xref>]. GBM was selected in this study because of its exceptional prediction capability, as well as its capacity to manage complicated feature relationships and missing data. In addition to Random Forest’s stability and ANN’s structural depth, GBM offers a highly accurate boundary for diabetic risk assessment by concentrating on the “hard-to-classify” cases in the training set.</p>
        <p>In the two-stage model, GBM acts as the second-stage classifier: Samples predicted as Outcome = 0 (absence of diabetes) in logistic regression are then passed to a secondary GBM classifier. If the secondary model predicts 1, the final output is Outcome = 1; otherwise, Outcome = 0.</p>
        <p>The final diagnosis of diabetes is the union of positive predictions from both stages (A + B in <xref ref-type="fig" rid="fig4">Figure 4</xref>), thereby reducing the false negative rate (the rate of missed diagnoses). Instead of aiming only to achieve higher accuracy, this two-stage model combines a high-confidence positive identification stage with GBM classification for the remaining cases.</p>
        <fig id="fig5">
          <label>Figure 5</label>
          <graphic xlink:href="https://html.scirp.org/file/1733617-rId29.jpeg?20260923030841" />
        </fig>
        <p><bold>Figure 4.</bold>Procedure of the two-stage combined model.</p>
        <p>Detailed preprocessing and model specifications are summarized in <bold>Table 3</bold>.</p>
        <p><bold>Table 3.</bold>Model specifications. </p>
        <table-wrap id="tbl3">
          <label>Table 3</label>
          <table>
            <tbody>
              <tr>
                <td>
                  <bold>Item</bold>
                </td>
                <td>
                  <bold>Specification</bold>
                </td>
              </tr>
              <tr>
                <td>Missing-value recoding</td>
                <td>Glucose, BloodPressure, SkinThickness, Insulin, BMI: 0 → NaN</td>
              </tr>
              <tr>
                <td>Imputer settings</td>
                <td>IterativeImputer; RandomForestRegressor (n_estimators = 10); max_iter = 10; initial_strategy = mean; sample_posterior = False</td>
              </tr>
              <tr>
                <td>Scaling procedures</td>
                <td>StandardScaler for ANN only; no scaling for RF, SVM, LR, or GBM</td>
              </tr>
              <tr>
                <td>GBM and LR hyperparameters</td>
                <td>
                  <bold>GBM</bold>
                  : learning_rate = 0.0216, max_depth = 4, max_features = None, min_samples_leaf = 1, min_samples_split = 9, n_estimators = 177, subsample = 0.8071.
                  <bold>LR</bold>
                  : penalty = L2, C = 1.0, solver = liblinear, max_iter = 1000.
                </td>
              </tr>
              <tr>
                <td>Random seed</td>
                <td>42</td>
              </tr>
              <tr>
                <td>Software versions</td>
                <td>Python 3.12.13; NumPy 2.0.2; pandas 2.2.2; scikit-learn 1.6.1; TensorFlow 2.20.0.</td>
              </tr>
            </tbody>
          </table>
        </table-wrap>
        <p>The training-only Stage 1 threshold comparison is presented in <bold>Table 4</bold>.</p>
        <p><bold>Table 4.</bold>Training-only stage 1 threshold comparison. </p>
        <table-wrap id="tbl4">
          <label>Table 4</label>
          <table>
            <tbody>
              <tr>
                <td>
                  <bold>Threshold</bold>
                </td>
                <td>
                  <bold>Accuracy (%)</bold>
                </td>
                <td>
                  <bold>False Negative</bold>
                  <bold>Rate (%)</bold>
                </td>
                <td>
                  <bold>False Positive</bold>
                  <bold>Rate (%)</bold>
                </td>
              </tr>
              <tr>
                <td>0.50</td>
                <td>76.38</td>
                <td>34.58</td>
                <td>17.75</td>
              </tr>
              <tr>
                <td>0.60</td>
                <td>76.71</td>
                <td>37.85</td>
                <td>15.50</td>
              </tr>
              <tr>
                <td>0.70</td>
                <td>77.04</td>
                <td>38.32</td>
                <td>14.75</td>
              </tr>
              <tr>
                <td>0.75</td>
                <td>77.04</td>
                <td>38.32</td>
                <td>14.75</td>
              </tr>
              <tr>
                <td>0.80</td>
                <td>76.87</td>
                <td>38.79</td>
                <td>14.75</td>
              </tr>
              <tr>
                <td>
                  <bold>0.90</bold>
                </td>
                <td>
                  <bold>76.87</bold>
                </td>
                <td>
                  <bold>38.79</bold>
                </td>
                <td>
                  <bold>14.75</bold>
                </td>
              </tr>
            </tbody>
          </table>
        </table-wrap>
        <p>0.90 was selected as the threshold as a conservative high-confidence rule-in cutoff, allowing only the most confident positive cases to be classified directly in Stage 1 while passing all remaining cases to the GBM.</p>
      </sec>
      <sec id="sec4dot3">
        <title>4.3. SHAP</title>
        <p>Having established the two-stage model to reduce the false negative rate, model interpretability is also equally important in order to identify which variables most strongly drive the model’s risk predictions. SHAP (SHapley Additive exPlanations) is a game-theoretic approach used to explain the outputs of any machine learning model by decomposing each prediction into additive contributions from individual features [<xref ref-type="bibr" rid="B34">34</xref>]. Specifically, SHAP treats each feature as a player in a cooperative game. The core idea of SHAP is to decompose a model’s prediction into the sum of contributions from individual features. For a given prediction, SHAP calculates each feature’s contribution by considering all possible combinations of feature values. Unlike conventional importance measures, this method captures both the magnitude and the direction of each feature’s effect.</p>
        <p>To efficiently compute SHAP values for tree-based ensembles such as GBM, this study employs TreeExplainer, an algorithm that provides tools for visualizing both global feature importance and the distribution of feature-level effects across individual samples [<xref ref-type="bibr" rid="B24">24</xref>]. In this study, SHAP is applied on the GBM model on the training set. Then, TreeExplainer computes the SHAP value of each feature for every sample. The global importance of each feature is calculated using the mean absolute SHAP value across all samples: larger SHAP values indicate greater overall influence on the model predictions.</p>
      </sec>
    </sec>
    <sec id="sec5">
      <title>5. Results Analysis</title>
      <p>Results analysis includes two perspectives: first, the results from the 80% training set and 20% internal validation set drawn from the Pima Indians Diabetes Dataset and the external test set drawn from the Frankfurt Diabetes Dataset are used to examine the robustness and transferability of the two-stage model; second, SHapley Additive exPlanations (SHAP) and Gradient Boosting Machine (GBM)-based feature attribution analysis are used to enhance the interpretability of the two-stage model.</p>
      <sec id="sec5dot1">
        <title>5.1. Model Evaluation</title>
        <p>The model was first trained on the 80% training set drawn from the Pima Indians Diabetes Dataset and evaluated on the remaining 20% internal validation set to ensure model robustness. In addition, to further guarantee the model’s transferability, the Frankfurt Diabetes Dataset, an independent dataset of 2000 female patients collected from a hospital in Frankfurt, Germany, was used as the external test set.</p>
        <p>In <bold>Table 5</bold>, the internal validation set shows that the two-stage model achieved an overall accuracy of 77.27% with a false negative rate of 38.89% (21 out of 54 actual positive cases). In <bold>Table 6</bold>, the external test set shows that the model achieved an overall accuracy of 89.35% and a lower false negative rate of 20.47% (140 out of 684 actual positive cases). Moreover, the missed positive cases accounted for only 13.64% of the internal validation set (21/154) and 7.00% of the external test set (140/2000), further demonstrating the effectiveness of the model. Thus, high accuracy and low false negative rates in both the internal validation set and the external test set together support the robustness and transferability of the two-stage model.</p>
        <p><bold>Table 5.</bold>Confusion matrix for the two-stage model on the internal validation set drawn from the Pima Indians Diabetes Dataset (n = 154). </p>
        <table-wrap id="tbl5">
          <label>Table 5</label>
          <table>
            <tbody>
              <tr>
                <td>
                </td>
                <td>
                  <bold>Predicted Negative</bold>
                </td>
                <td>
                  <bold>Predicted Positive</bold>
                </td>
              </tr>
              <tr>
                <td>Actual Negative</td>
                <td>86 (TN)</td>
                <td>14 (FP)</td>
              </tr>
              <tr>
                <td>Actual Positive</td>
                <td>21 (FN)</td>
                <td>33 (TP)</td>
              </tr>
            </tbody>
          </table>
        </table-wrap>
        <p><bold>Table 6.</bold>Confusion matrix for the two-stage model on the external test set drawn from the Frankfurt Diabetes Dataset (n = 2000). </p>
        <table-wrap id="tbl6">
          <label>Table 6</label>
          <table>
            <tbody>
              <tr>
                <td>
                </td>
                <td>
                  <bold>Predicted Negative</bold>
                </td>
                <td>
                  <bold>Predicted Positive</bold>
                </td>
              </tr>
              <tr>
                <td>Actual Negative</td>
                <td>1243 (TN)</td>
                <td>73 (FP)</td>
              </tr>
              <tr>
                <td>Actual Positive</td>
                <td>140 (FN)</td>
                <td>544 (TP)</td>
              </tr>
            </tbody>
          </table>
        </table-wrap>
      </sec>
      <sec id="sec5dot2">
        <title>5.2. SHAP Analysis</title>
        <p>To improve upon the limitations of the impurity-based GBM importance measure, SHAP (SHapley Additive exPlanations) values were computed using TreeExplainer, which decomposes each individual prediction into additive feature contributions grounded in cooperative game theory [<xref ref-type="bibr" rid="B34">34</xref>]. This approach not only ranks feature importance but also reveals the direction and distribution of each feature’s effect across all samples [<xref ref-type="bibr" rid="B24">24</xref>].</p>
        <p><xref ref-type="fig" rid="fig5">Figure 5</xref> ranks Glucose first, followed by Insulin, BMI, DiabetesPedigreeFunction, and Age. These variables are all important features in clinical interpretation, which is broadly consistent with established medical knowledge.</p>
        <fig id="fig6">
          <label>Figure 6</label>
          <graphic xlink:href="https://html.scirp.org/file/1733617-rId30.jpeg?20260923030844" />
        </fig>
        <p><bold>Figure 5.</bold> SHAP feature importance based on mean absolute SHAP values for the GBM model.</p>
        <p>Pregnancies, SkinThickness, and BloodPressure have lower mean absolute SHAP values and contribute relatively less to the overall model predictions. This illustrates that these features are not the main contributors to the model’s predictions.</p>
        <p>In <xref ref-type="fig" rid="fig6">Figure 6</xref>, the Beeswarm plot further demonstrates the direction and the distribution of each feature’s contribution. Glucose displays a clear directional pattern: as the glucose value increases, SHAP value also increases, with higher glucose values generally corresponding to more positive SHAP values. BMI shows a similar but milder pattern. In contrast, Age and Insulin exhibit a more dispersed color distribution, suggesting their influence on risk is less consistent across all individuals; instead, they may depend on interactions with other variables. The remaining features generally show SHAP values closer to 0, indicating a comparatively weak and inconsistent contribution to individual predictions. These results corroborate the results of the feature-importance plot that Glucose and Insulin are the most important factors. </p>
        <fig id="fig7">
          <label>Figure 7</label>
          <graphic xlink:href="https://html.scirp.org/file/1733617-rId31.jpeg?20260923030844" />
        </fig>
        <p><bold>Figure 6.</bold> SHAP beeswarm plot showing the magnitude and direction of feature contributions to individual GBM predictions.</p>
      </sec>
      <sec id="sec5dot3">
        <title>5.3. Partial Dependence Plots</title>
        <p>Unlike SHAP analysis in 5.2, the partial dependence (5.3) and interaction plots (5.4) employ the classical partial dependence approach [<xref ref-type="bibr" rid="B32">32</xref>]: for each feature being analyzed, all other features remain constant at original values; and the resulting predictions for all the samples are averaged to estimate the feature’s overall effect on the model.</p>
        <p>Partial dependence plots illustrate the effect of individual features on the model’s performance, when holding all other variables constant. The y-axis represents the partial dependence value—higher values indicate higher model-predicted probability of diabetes. </p>
        <p>As shown in <xref ref-type="fig" rid="fig7">Figure 7</xref>, the partial dependence plots reveal nonlinear patterns across Glucose, BMI, Insulin, and Age.</p>
        <fig id="fig8">
          <label>Figure 8</label>
          <graphic xlink:href="https://html.scirp.org/file/1733617-rId32.jpeg?20260923030845" />
        </fig>
        <p>(a)</p>
        <fig id="fig9">
          <label>Figure 9</label>
          <graphic xlink:href="https://html.scirp.org/file/1733617-rId33.jpeg?20260923030845" />
        </fig>
        <p>(b)</p>
        <fig id="fig10">
          <label>Figure 10</label>
          <graphic xlink:href="https://html.scirp.org/file/1733617-rId34.jpeg?20260923030845" />
        </fig>
        <p>(c)</p>
        <fig id="fig11">
          <label>Figure 11</label>
          <graphic xlink:href="https://html.scirp.org/file/1733617-rId35.jpeg?20260923030845" />
        </fig>
        <p>(d)</p>
        <p><bold>Figure 7.</bold>Partial dependence plots for Glucose, BMI, Insulin, and Age. (a) Glucose; (b) BMI; (c) Insulin; (d) Age.</p>
        <p>Glucose: The overall trend shows that there’s a positive correlation between glucose and risk of diabetes. However, the relationship is not a perfect straight line, but increases through several thresholds. Risk first starts to increase from 105 - 110 mg/dL; then it sharply increases at 125 - 130 mg/dL; it finally reaches a very high risk level at 150 - 160 mg/dL. </p>
        <p>BMI: The BMI plot shows an initial increase near 23 kg/m<sup>2</sup> and a second increase around 27 - 30 kg/m<sup>2</sup>. Below BMI at 23 kg/m<sup>2</sup>, risk is constantly low; then the risk progressively rises through (23 kg/m<sup>2</sup> - 30 kg/m<sup>2</sup>) and levels out over BMI 30 kg/m<sup>2</sup> - 45 kg/m<sup>2</sup>. </p>
        <p>Insulin: Below approximately 80 μU/mL, risk remains relatively low. It then rises with several fluctuations between approximately 80 and 140 μU/mL, remains at a relatively high level until around 170 μU/mL, declines toward 200 μU/mL, and then stabilizes with a slight increase near the upper end of the plotted range.</p>
        <p>Age: From the ages of 20 to 50, risk increases steadily, reaching a local maximum in the early 50s. It then declines through the late 50s and early 60s, followed by a modest rebound around age 70 and a relatively stable pattern at older ages.</p>
      </sec>
      <sec id="sec5dot4">
        <title>5.4. Interaction Plots</title>
        <p>Interaction plots visualize the joint effect of two features on predicted diabetes risk through heatmaps. The color gradient represents partial dependence values, with yellow/bright regions indicating high risk and blue/dark regions indicating low risk. </p>
        <p><xref ref-type="fig" rid="fig8">Figure 8</xref> presents the interaction plots for Glucose × Age, Glucose × BMI, Glucose × Insulin, and Age × Insulin.</p>
        <p>Glucose × Age: The impact of Glucose is highly significant. As Glucose levels increase from 80 mg/dL to 180 mg/dL, the predicted risk increases significantly, with the highest predicted probabilities at the highest Glucose values. The influence of Age is relatively weak. When Glucose level stays the same, as age increases, the risk does not change significantly. However, in each glucose level, age between 25 - 30 shows a change in the risk, showing a clear interaction effect—Glucose’s impact on the outcome is dependent individual’s age.</p>
        <p>Glucose × BMI: In this plot, Glucose still stands out as an important risk factor: as Glucose increases from 80 mg/dL to 180 mg/dL, the risk increases dramatically. The influence of BMI shows a “threshold” characteristic: within the BMI range of approximately 27.5 to 30, the contour lines undergo a sharp transition, indicating a non-linear shift in the model’s response. This shows a clear interaction effect—Glucose’s impact on the outcome is dependent on the individual’s BMI. </p>
        <fig id="fig12">
          <label>Figure 12</label>
          <graphic xlink:href="https://html.scirp.org/file/1733617-rId36.jpeg?20260923030846" />
        </fig>
        <p>(a)</p>
        <fig id="fig13">
          <label>Figure 13</label>
          <graphic xlink:href="https://html.scirp.org/file/1733617-rId37.jpeg?20260923030846" />
        </fig>
        <p>(b)</p>
        <fig id="fig14">
          <label>Figure 14</label>
          <graphic xlink:href="https://html.scirp.org/file/1733617-rId38.jpeg?20260923030845" />
        </fig>
        <p>(c)</p>
        <fig id="fig15">
          <label>Figure 15</label>
          <graphic xlink:href="https://html.scirp.org/file/1733617-rId39.jpeg?20260923030845" />
        </fig>
        <p>(d)</p>
        <p><bold>Figure 8.</bold>Interaction plots for selected feature pairs in the GBM model. (a) Glucose × Age; (b) Glucose × BMI; (c) Glucose × Insulin; (d) Age × Insulin.</p>
        <p>Glucose × Insulin: Similarly, Glucose is an important risk factor: as Glucose increases from 80 mg/dL to 180 mg/dL, the risk increases dramatically. Thresholds occur particularly when Insulin is below 100 and around 200. This shows a clear interaction between Glucose and Insulin. </p>
        <p>Age × Insulin: There is a significant increase in risk along the diagonal axis from the bottom-left to the top-right. This means when Age and Insulin Levels both increase simultaneously, the risk increases; when each variable increases independently, the risk almost stays the same. Thus, this plot highlights a strong interaction between Age and Insulin. </p>
      </sec>
    </sec>
    <sec id="sec6">
      <title>6. Discussion</title>
      <p>This study proposes a sequential two-stage model that reaches high prediction accuracy and low false negative rates which is vital in clinical screening. The model enhances clinical interpretability significantly by showing key interactions between variables and key thresholds in features independently. </p>
      <p>In addition, many models are trained and tested on the same dataset. In contrast, the sequential two-stage framework proposed in this study was evaluated on the two entirely independent datasets: the external test set drawn from the Frankfurt Diabetes Dataset differs from the training set drawn from the Pima Indians Diabetes Dataset in both geographic location and patient population. Hence, the high overall performance and low false negative rate support the model’s robustness and generalizability.</p>
      <p>On top of that, the model utilizes SHAP feature importance and Beeswarm Plot, PDPs, and interaction analysis to enhance model interpretability. The results indicate importance ranking and several important relationships between variables. These methods and graphs are helpful for clinical guidelines, helping address the black-box nature of GBM by interpreting feature effects and interactions, making the model more transparent and interpretable.</p>
      <p>These findings also serve as a precursor to causal inference. In the future, to deepen the causal analysis, more iterations will move beyond associative patterns. Causal discovery algorithms can be used to further validate the results and enhance interpretability significantly. With the causal inference frameworks, the model can provide more robust evidence for clinical guidelines and personalized clinical decision-making strategies.</p>
    </sec>
    <sec id="sec7">
      <title>7. Conclusions</title>
      <p>Diabetes mellitus is a growing global public health threat, over 70% of adults in the United States are currently classified as overweight or obese [<xref ref-type="bibr" rid="B35">35</xref>]. Thus, timely detection and appropriate clinical management are critical to prevent severe complications. This study proposed a sequential two-stage Logistic Regression-Gradient Boosting framework for diabetes classification. By implementing an ensemble machine learning method, this study provided key information for clinical diagnosis:</p>
      <p>Glucose and BMI are the two most important risk factors, followed by Age and Insulin, which were consistent with modern research of Type 2 diabetes.The study identified key thresholds in several variables, including Glucose at 127 - 130 mg/dL, BMI at 30 kg/m<sup>2</sup>, Insulin at 75 μU/mL - 150 μU/mL.Key interactions were identified: Glucose and BMI jointly amplify diabetic risk; Age and Insulin jointly increase diabetic risk.</p>
      <p>The proposed model is considered advanced due to the following characteristics:</p>
      <p>On the external test set drawn from the Frankfurt Diabetes Dataset, the model achieved an overall high accuracy of 89.35%, and a small false negative rate of 20.47%, showing strong model transferability.The two-stage structure is advantageous for imbalanced datasets because it first identifies high-confidence positive cases and then applies GBM to the remaining samples, providing an additional opportunity to detect positive cases and reduce false-negative classifications.</p>
      <p>Given this robust transferability, future work should focus on large-scale clinical validation through hospital partnerships to further assess real-world applicability. The two-stage model achieved high accuracy and low false negative rate on both internal validation dataset and external test dataset. Given this robust transferability, in the future, the research will collect larger and more diverse diabetes datasets to further evaluate the model’s real-world applicability.</p>
    </sec>
    <sec id="sec8">
      <title>Author Contributions</title>
      <p>Moyang Li: Conceptualization, Data curation, Formal Analysis, Funding acquisition, Methodology, Project Administration, Validation, Writing—original draft, Writing—review &amp; editing. Bowen Cai: Advising, Review, and Editing.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <title>References</title>
      <ref id="B1">
        <label>1.</label>
        <citation-alternatives>
          <mixed-citation publication-type="web">World Health Organization (2024) Diabetes. World Health Organization. https://www.who.int/news-room/fact-sheets/detail/diabetes</mixed-citation>
          <element-citation publication-type="web">
            <year>2024</year>
            <article-title>Diabetes</article-title>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B2">
        <label>2.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Zhou, B., Rayner, A.W., Gregg, E.W., Sheffer, K.E., Carrillo-Larco, R.M., Bennett, J.E., <italic>et al</italic>. (2024) Worldwide Trends in Diabetes Prevalence and Treatment from 1990 to 2022: A Pooled Analysis of 1108 Population-Representative Studies with 141 Million Participants. <italic>The Lancet</italic>, 404, 2077-2093. https://doi.org/10.1016/s0140-6736(24)02317-1 <pub-id pub-id-type="doi">10.1016/s0140-6736(24)02317-1</pub-id><pub-id pub-id-type="pmid">39549716</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/s0140-6736(24)02317-1">https://doi.org/10.1016/s0140-6736(24)02317-1</ext-link></mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Zhou, B.</string-name>
              <string-name>Rayner, A.W.</string-name>
              <string-name>Gregg, E.W.</string-name>
              <string-name>Sheffer, K.E.</string-name>
              <string-name>Carrillo-Larco, R.M.</string-name>
              <string-name>Bennett, J.E.</string-name>
            </person-group>
            <year>2024</year>
            <article-title>Worldwide Trends in Diabetes Prevalence and Treatment from 1990 to 2022: A Pooled Analysis of 1108 Population-Representative Studies with 141 Million Participants</article-title>
            <source>The Lancet</source>
            <volume>6736</volume>
            <issue>24</issue>
            <pub-id pub-id-type="doi">10.1016/s0140-6736(24)02317-1</pub-id>
            <pub-id pub-id-type="pmid">39549716</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B3">
        <label>3.</label>
        <citation-alternatives>
          <mixed-citation publication-type="book">Meyers, M., Lerner, B.W. and Tate, P. (2021) Diabetes Mellitus. In: Nemeh, K.H. and Longe, J.L., <italic>The Gale Encyclopedia of Science</italic> (6th ed., Vol. 2), Gale, 1338-1341.</mixed-citation>
          <element-citation publication-type="book">
            <person-group person-group-type="author">
              <string-name>Meyers, M.</string-name>
              <string-name>Lerner, B.W.</string-name>
              <string-name>Tate, P.</string-name>
              <string-name>Nemeh, K.H.</string-name>
              <string-name>Longe, J.L.</string-name>
            </person-group>
            <year>2021</year>
            <article-title>Diabetes Mellitus</article-title>
            <source>In: Nemeh</source>
            <volume>1338</volume>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B4">
        <label>4.</label>
        <citation-alternatives>
          <mixed-citation publication-type="web">CDC (2024) Diabetes Risk Factors. https://www.cdc.gov/diabetes/risk-factors/index.html</mixed-citation>
          <element-citation publication-type="web">
            <year>2024</year>
            <article-title>Diabetes Risk Factors</article-title>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B5">
        <label>5.</label>
        <citation-alternatives>
          <mixed-citation publication-type="web">National Institute of Diabetes and Digestive and Kidney Diseases (2022) Risk Factors for Type 2 Diabetes. National Institute of Diabetes and Digestive and Kidney Diseases. https://www.niddk.nih.gov/health-information/diabetes/overview/risk-factors-type-2-diabetes</mixed-citation>
          <element-citation publication-type="web">
            <year>2022</year>
            <article-title>Risk Factors for Type 2 Diabetes</article-title>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B6">
        <label>6.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Wilcox, G. (2005) Insulin and Insulin Resistance. <italic>Clinical Biochemist Reviews</italic>, 26, 19-39.</mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Wilcox, G.</string-name>
            </person-group>
            <year>2005</year>
            <article-title>Insulin and Insulin Resistance</article-title>
            <source>Clinical Biochemist Reviews</source>
            <volume>26</volume>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B7">
        <label>7.</label>
        <mixed-citation publication-type="web">OpenML (n.d.) Pima Indians Diabetes Database. OpenML Dataset 37. https://www.openml.org/d/37</mixed-citation>
      </ref>
      <ref id="B8">
        <label>8.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Zou, Q., Qu, K., Luo, Y., Yin, D., Ju, Y. and Tang, H. (2018) Predicting Diabetes Mellitus with Machine Learning Techniques. <italic>Frontiers in Genetics</italic>, 9, Article 515. https://doi.org/10.3389/fgene.2018.00515 <pub-id pub-id-type="doi">10.3389/fgene.2018.00515</pub-id><pub-id pub-id-type="pmid">30459809</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.3389/fgene.2018.00515">https://doi.org/10.3389/fgene.2018.00515</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Zou, Q.</string-name>
              <string-name>Qu, K.</string-name>
              <string-name>Luo, Y.</string-name>
              <string-name>Yin, D.</string-name>
              <string-name>Ju, Y.</string-name>
              <string-name>Tang, H.</string-name>
            </person-group>
            <year>2018</year>
            <article-title>Predicting Diabetes Mellitus with Machine Learning Techniques</article-title>
            <source>Frontiers in Genetics</source>
            <volume>9</volume>
            <elocation-id>515</elocation-id>
            <pub-id pub-id-type="doi">10.3389/fgene.2018.00515</pub-id>
            <pub-id pub-id-type="pmid">30459809</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B9">
        <label>9.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Kiran, M., Xie, Y., Anjum, N., Ball, G., Pierscionek, B. and Russell, D. (2025) Machine Learning and Artificial Intelligence in Type 2 Diabetes Prediction: A Comprehensive 33-Year Bibliometric and Literature Analysis. <italic>Frontiers in Digital Health</italic>, 7, Article 1557467. https://doi.org/10.3389/fdgth.2025.1557467 <pub-id pub-id-type="doi">10.3389/fdgth.2025.1557467</pub-id><pub-id pub-id-type="pmid">40212895</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.3389/fdgth.2025.1557467">https://doi.org/10.3389/fdgth.2025.1557467</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Kiran, M.</string-name>
              <string-name>Xie, Y.</string-name>
              <string-name>Anjum, N.</string-name>
              <string-name>Ball, G.</string-name>
              <string-name>Pierscionek, B.</string-name>
              <string-name>Russell, D.</string-name>
            </person-group>
            <year>2025</year>
            <article-title>Machine Learning and Artificial Intelligence in Type 2 Diabetes Prediction: A Comprehensive 33-Year Bibliometric and Literature Analysis</article-title>
            <source>Frontiers in Digital Health</source>
            <volume>7</volume>
            <elocation-id>1557467</elocation-id>
            <pub-id pub-id-type="doi">10.3389/fdgth.2025.1557467</pub-id>
            <pub-id pub-id-type="pmid">40212895</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B10">
        <label>10.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Abousaber, I., Abdallah, H.F. and El-Ghaish, H. (2025) Robust Predictive Framework for Diabetes Classification Using Optimized Machine Learning on Imbalanced Datasets. <italic>Frontiers in Artificial Intelligence</italic>, 7, Article 1499530. https://doi.org/10.3389/frai.2024.1499530 <pub-id pub-id-type="doi">10.3389/frai.2024.1499530</pub-id><pub-id pub-id-type="pmid">39839971</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.3389/frai.2024.1499530">https://doi.org/10.3389/frai.2024.1499530</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Abousaber, I.</string-name>
              <string-name>Abdallah, H.F.</string-name>
              <string-name>El-Ghaish, H.</string-name>
            </person-group>
            <year>2025</year>
            <article-title>Robust Predictive Framework for Diabetes Classification Using Optimized Machine Learning on Imbalanced Datasets</article-title>
            <source>Frontiers in Artificial Intelligence</source>
            <volume>7</volume>
            <elocation-id>1499530</elocation-id>
            <pub-id pub-id-type="doi">10.3389/frai.2024.1499530</pub-id>
            <pub-id pub-id-type="pmid">39839971</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B11">
        <label>11.</label>
        <citation-alternatives>
          <mixed-citation publication-type="book">Saeedi, P., Petersohn, I., Salpea, P., Malanda, B., Karuranga, S., Unwin, N., <italic>et al</italic>. (2019) Global and Regional Diabetes Prevalence Estimates for 2019 and Projections for 2030 and 2045: Results from the International Diabetes Federation Diabetes Atlas, 9th Edition. <italic>Diabetes Research and Clinical Practice</italic>, 157, Article 107843. https://doi.org/10.1016/j.diabres.2019.107843 <pub-id pub-id-type="doi">10.1016/j.diabres.2019.107843</pub-id><pub-id pub-id-type="pmid">31518657</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/j.diabres.2019.107843">https://doi.org/10.1016/j.diabres.2019.107843</ext-link></mixed-citation>
          <element-citation publication-type="book">
            <person-group person-group-type="author">
              <string-name>Saeedi, P.</string-name>
              <string-name>Petersohn, I.</string-name>
              <string-name>Salpea, P.</string-name>
              <string-name>Malanda, B.</string-name>
              <string-name>Karuranga, S.</string-name>
              <string-name>Unwin, N.</string-name>
            </person-group>
            <year>2019</year>
            <article-title>Global and Regional Diabetes Prevalence Estimates for 2019 and Projections for 2030 and 2045: Results from the International Diabetes Federation Diabetes Atlas, 9th Edition</article-title>
            <source>Diabetes Research and Clinical Practice</source>
            <volume>157</volume>
            <elocation-id>107843</elocation-id>
            <pub-id pub-id-type="doi">10.1016/j.diabres.2019.107843</pub-id>
            <pub-id pub-id-type="pmid">31518657</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B12">
        <label>12.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Zheng, Y., Ley, S.H. and Hu, F.B. (2017) Global Aetiology and Epidemiology of Type 2 Diabetes Mellitus and Its Complications. <italic>Nature Reviews Endocrinology</italic>, 14, 88-98. https://doi.org/10.1038/nrendo.2017.151 <pub-id pub-id-type="doi">10.1038/nrendo.2017.151</pub-id><pub-id pub-id-type="pmid">29219149</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1038/nrendo.2017.151">https://doi.org/10.1038/nrendo.2017.151</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Zheng, Y.</string-name>
              <string-name>Ley, S.H.</string-name>
              <string-name>Hu, F.B.</string-name>
            </person-group>
            <year>2017</year>
            <article-title>Global Aetiology and Epidemiology of Type 2 Diabetes Mellitus and Its Complications</article-title>
            <source>Nature Reviews Endocrinology</source>
            <volume>14</volume>
            <pub-id pub-id-type="doi">10.1038/nrendo.2017.151</pub-id>
            <pub-id pub-id-type="pmid">29219149</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B13">
        <label>13.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Ruze, R., Liu, T., Zou, X., Song, J., Chen, Y., Xu, R., <italic>et al</italic>. (2023) Obesity and Type 2 Diabetes Mellitus: Connections in Epidemiology, Pathogenesis, and Treatments. <italic>Frontiers in Endoc</italic><italic>rinology</italic>, 14, Article 1161521. https://doi.org/10.3389/fendo.2023.1161521 <pub-id pub-id-type="doi">10.3389/fendo.2023.1161521</pub-id><pub-id pub-id-type="pmid">37152942</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.3389/fendo.2023.1161521">https://doi.org/10.3389/fendo.2023.1161521</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Ruze, R.</string-name>
              <string-name>Liu, T.</string-name>
              <string-name>Zou, X.</string-name>
              <string-name>Song, J.</string-name>
              <string-name>Chen, Y.</string-name>
              <string-name>Xu, R.</string-name>
              <string-name>Epidemiology, P</string-name>
            </person-group>
            <year>2023</year>
            <article-title>Obesity and Type 2 Diabetes Mellitus: Connections in Epidemiology, Pathogenesis, and Treatments</article-title>
            <source>Frontiers in Endocrinology</source>
            <volume>14</volume>
            <elocation-id>1161521</elocation-id>
            <pub-id pub-id-type="doi">10.3389/fendo.2023.1161521</pub-id>
            <pub-id pub-id-type="pmid">37152942</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B14">
        <label>14.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Choi, S.G., Oh, M., Park, D., Lee, B., Lee, Y., Jee, S.H., <italic>et al</italic>. (2023) Comparisons of the Prediction Models for Undiagnosed Diabetes between Machine Learning versus Traditional Statistical Methods. <italic>Scientific Reports</italic>, 13, Article No. 13101. https://doi.org/10.1038/s41598-023-40170-0 <pub-id pub-id-type="doi">10.1038/s41598-023-40170-0</pub-id><pub-id pub-id-type="pmid">37567907</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1038/s41598-023-40170-0">https://doi.org/10.1038/s41598-023-40170-0</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Choi, S.G.</string-name>
              <string-name>Oh, M.</string-name>
              <string-name>Park, D.</string-name>
              <string-name>Lee, B.</string-name>
              <string-name>Lee, Y.</string-name>
              <string-name>Jee, S.H.</string-name>
            </person-group>
            <year>2023</year>
            <article-title>Comparisons of the Prediction Models for Undiagnosed Diabetes between Machine Learning versus Traditional Statistical Methods</article-title>
            <source>Scientific Reports</source>
            <volume>13</volume>
            <elocation-id>No</elocation-id>
            <pub-id pub-id-type="doi">10.1038/s41598-023-40170-0</pub-id>
            <pub-id pub-id-type="pmid">37567907</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B15">
        <label>15.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Ijaz, M., Alfian, G., Syafrudin, M. and Rhee, J. (2018) Hybrid Prediction Model for Type 2 Diabetes and Hypertension Using DBSCAN-Based Outlier Detection, Synthetic Minority over Sampling Technique (SMOTE), and Random Forest. <italic>Applied Sciences</italic>, 8, Article 1325. https://doi.org/10.3390/app8081325 <pub-id pub-id-type="doi">10.3390/app8081325</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.3390/app8081325">https://doi.org/10.3390/app8081325</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Ijaz, M.</string-name>
              <string-name>Alfian, G.</string-name>
              <string-name>Syafrudin, M.</string-name>
              <string-name>Rhee, J.</string-name>
              <string-name>Detection, S</string-name>
            </person-group>
            <year>2018</year>
            <article-title>Hybrid Prediction Model for Type 2 Diabetes and Hypertension Using DBSCAN-Based Outlier Detection, Synthetic Minority over Sampling Technique (SMOTE), and Random Forest</article-title>
            <source>Applied Sciences</source>
            <volume>8</volume>
            <elocation-id>1325</elocation-id>
            <pub-id pub-id-type="doi">10.3390/app8081325</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B16">
        <label>16.</label>
        <citation-alternatives>
          <mixed-citation publication-type="web">Hasan, M.K., Das, D., Hossain, E., Hasan, M. and Alam, M.A. (2020) Diabetes Prediction Using Ensembling of Different Machine Learning Classifiers. <italic>IEEE Access</italic>, 8, 76516-76531. https://ieeexplore.ieee.org/document/9076634</mixed-citation>
          <element-citation publication-type="web">
            <person-group person-group-type="author">
              <string-name>Hasan, M.K.</string-name>
              <string-name>Das, D.</string-name>
              <string-name>Hossain, E.</string-name>
              <string-name>Hasan, M.</string-name>
              <string-name>Alam, M.A.</string-name>
            </person-group>
            <year>2020</year>
            <article-title>Diabetes Prediction Using Ensembling of Different Machine Learning Classifiers</article-title>
            <source>IEEE Access</source>
            <volume>8</volume>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B17">
        <label>17.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Ganie, S.M., Pramanik, P.K.D., Bashir Malik, M., Mallik, S. and Qin, H. (2023) An Ensemble Learning Approach for Diabetes Prediction Using Boosting Techniques. <italic>Frontiers in Genetics</italic>, 14, Article 1252159. https://doi.org/10.3389/fgene.2023.1252159 <pub-id pub-id-type="doi">10.3389/fgene.2023.1252159</pub-id><pub-id pub-id-type="pmid">37953921</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.3389/fgene.2023.1252159">https://doi.org/10.3389/fgene.2023.1252159</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Ganie, S.M.</string-name>
              <string-name>Pramanik, P.K.D.</string-name>
              <string-name>Malik, M.</string-name>
              <string-name>Mallik, S.</string-name>
              <string-name>Qin, H.</string-name>
            </person-group>
            <year>2023</year>
            <article-title>An Ensemble Learning Approach for Diabetes Prediction Using Boosting Techniques</article-title>
            <source>Frontiers in Genetics</source>
            <volume>14</volume>
            <elocation-id>1252159</elocation-id>
            <pub-id pub-id-type="doi">10.3389/fgene.2023.1252159</pub-id>
            <pub-id pub-id-type="pmid">37953921</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B18">
        <label>18.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Bala Manoj Kumar, P., Srinivasa Perumal, R., Nadesh, R.K. and Arivuselvan, K. (2020) Type 2: Diabetes Mellitus Prediction Using Deep Neural Networks Classifier. <italic>International Journal of Cognitive Computing in Engineering</italic>, 1, 55-61. https://www.sciencedirect.com/science/article/pii/S2666307420300073</mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Kumar, P.</string-name>
              <string-name>Perumal, R.</string-name>
              <string-name>Nadesh, R.K.</string-name>
              <string-name>Arivuselvan, K.</string-name>
            </person-group>
            <year>2020</year>
            <article-title>Type 2: Diabetes Mellitus Prediction Using Deep Neural Networks Classifier</article-title>
            <source>International Journal of Cognitive Computing in Engineering</source>
            <volume>1</volume>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B19">
        <label>19.</label>
        <citation-alternatives>
          <mixed-citation publication-type="web">Edlitz, Y. and Segal, E. (2022) Prediction of Type 2 Diabetes Mellitus Onset Using Logistic Regression-Based Scorecards. <italic>eLife</italic>, 11, e71862. https://elifesciences.org/articles/71862</mixed-citation>
          <element-citation publication-type="web">
            <person-group person-group-type="author">
              <string-name>Edlitz, Y.</string-name>
              <string-name>Segal, E.</string-name>
            </person-group>
            <year>2022</year>
            <article-title>Prediction of Type 2 Diabetes Mellitus Onset Using Logistic Regression-Based Scorecards</article-title>
            <source>eLife</source>
            <volume>11</volume>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B20">
        <label>20.</label>
        <citation-alternatives>
          <mixed-citation publication-type="web">Vakil, V., Pachchigar, S., Chavda, C. and Soni, S. (2021) Explainable Predictions of Different Machine Learning Algorithms Used to Predict Early Stage Diabetes. Cornell University. https://arxiv.org/abs/2111.09939</mixed-citation>
          <element-citation publication-type="web">
            <person-group person-group-type="author">
              <string-name>Vakil, V.</string-name>
              <string-name>Pachchigar, S.</string-name>
              <string-name>Chavda, C.</string-name>
              <string-name>Soni, S.</string-name>
            </person-group>
            <year>2021</year>
            <article-title>Explainable Predictions of Different Machine Learning Algorithms Used to Predict Early Stage Diabetes</article-title>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B21">
        <label>21.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Talebi Moghaddam, M., Jahani, Y., Arefzadeh, Z., Dehghan, A., Khaleghi, M., Sharafi, M., <italic>et al</italic>. (2024) Predicting Diabetes in Adults: Identifying Important Features in Unbalanced Data over a 5-Year Cohort Study Using Machine Learning Algorithm. <italic>BMC Medical Research Methodology</italic>, 24, Article No. 220. https://doi.org/10.1186/s12874-024-02341-z <pub-id pub-id-type="doi">10.1186/s12874-024-02341-z</pub-id><pub-id pub-id-type="pmid">39333899</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1186/s12874-024-02341-z">https://doi.org/10.1186/s12874-024-02341-z</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Moghaddam, M.</string-name>
              <string-name>Jahani, Y.</string-name>
              <string-name>Arefzadeh, Z.</string-name>
              <string-name>Dehghan, A.</string-name>
              <string-name>Khaleghi, M.</string-name>
              <string-name>Sharafi, M.</string-name>
            </person-group>
            <year>2024</year>
            <article-title>Predicting Diabetes in Adults: Identifying Important Features in Unbalanced Data over a 5-Year Cohort Study Using Machine Learning Algorithm</article-title>
            <source>BMC Medical Research Methodology</source>
            <volume>24</volume>
            <elocation-id>No</elocation-id>
            <pub-id pub-id-type="doi">10.1186/s12874-024-02341-z</pub-id>
            <pub-id pub-id-type="pmid">39333899</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B22">
        <label>22.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Cowie, C.C. (2019) Diabetes Diagnosis and Control: Missed Opportunities to Improve Health. <italic>Diabetes Care</italic>, 42, 994-1004. https://doi.org/10.2337/dci18-0047 <pub-id pub-id-type="doi">10.2337/dci18-0047</pub-id><pub-id pub-id-type="pmid">31110117</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.2337/dci18-0047">https://doi.org/10.2337/dci18-0047</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Cowie, C.C.</string-name>
            </person-group>
            <year>2019</year>
            <article-title>Diabetes Diagnosis and Control: Missed Opportunities to Improve Health</article-title>
            <source>Diabetes Care</source>
            <volume>42</volume>
            <pub-id pub-id-type="doi">10.2337/dci18-0047</pub-id>
            <pub-id pub-id-type="pmid">31110117</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B23">
        <label>23.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Seto, H., Oyama, A., Kitora, S., Toki, H., Yamamoto, R., Kotoku, J., <italic>et al</italic>. (2022) Gradient Boosting Decision Tree Becomes More Reliable than Logistic Regression in Predicting Probability for Diabetes with Big Data. <italic>Scientific Reports</italic>, 12, Article No. 15889. https://doi.org/10.1038/s41598-022-20149-z <pub-id pub-id-type="doi">10.1038/s41598-022-20149-z</pub-id><pub-id pub-id-type="pmid">36220875</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1038/s41598-022-20149-z">https://doi.org/10.1038/s41598-022-20149-z</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Seto, H.</string-name>
              <string-name>Oyama, A.</string-name>
              <string-name>Kitora, S.</string-name>
              <string-name>Toki, H.</string-name>
              <string-name>Yamamoto, R.</string-name>
              <string-name>Kotoku, J.</string-name>
            </person-group>
            <year>2022</year>
            <article-title>Gradient Boosting Decision Tree Becomes More Reliable than Logistic Regression in Predicting Probability for Diabetes with Big Data</article-title>
            <source>Scientific Reports</source>
            <volume>12</volume>
            <elocation-id>No</elocation-id>
            <pub-id pub-id-type="doi">10.1038/s41598-022-20149-z</pub-id>
            <pub-id pub-id-type="pmid">36220875</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B24">
        <label>24.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Lundberg, S.M., Erion, G., Chen, H., DeGrave, A., Prutkin, J.M., Nair, B., <italic>et al</italic>. (2020) From Local Explanations to Global Understanding with Explainable AI for Trees. <italic>Nature Machine Intelligence</italic>, 2, 56-67. https://doi.org/10.1038/s42256-019-0138-9 <pub-id pub-id-type="doi">10.1038/s42256-019-0138-9</pub-id><pub-id pub-id-type="pmid">32607472</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1038/s42256-019-0138-9">https://doi.org/10.1038/s42256-019-0138-9</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Lundberg, S.M.</string-name>
              <string-name>Erion, G.</string-name>
              <string-name>Chen, H.</string-name>
              <string-name>DeGrave, A.</string-name>
              <string-name>Prutkin, J.M.</string-name>
              <string-name>Nair, B.</string-name>
            </person-group>
            <year>2020</year>
            <article-title>From Local Explanations to Global Understanding with Explainable AI for Trees</article-title>
            <source>Nature Machine Intelligence</source>
            <volume>2</volume>
            <pub-id pub-id-type="doi">10.1038/s42256-019-0138-9</pub-id>
            <pub-id pub-id-type="pmid">32607472</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B25">
        <label>25.</label>
        <citation-alternatives>
          <mixed-citation publication-type="confproc">Smith, J.W., Everhart, J.E., Dickson, W.C., Knowler, W.C. and Johannes, R.S. (1988) Using the ADAP Learning Algorithm to Forecast the Onset of Diabetes Mellitus. In: <italic>Proceedings of the Symposium on Computer Applications in Medical Care</italic>, IEEE Computer Society Press, 261-265.</mixed-citation>
          <element-citation publication-type="confproc">
            <person-group person-group-type="author">
              <string-name>Smith, J.W.</string-name>
              <string-name>Everhart, J.E.</string-name>
              <string-name>Dickson, W.C.</string-name>
              <string-name>Knowler, W.C.</string-name>
              <string-name>Johannes, R.S.</string-name>
              <string-name>Care, I</string-name>
            </person-group>
            <year>1988</year>
            <article-title>Using the ADAP Learning Algorithm to Forecast the Onset of Diabetes Mellitus</article-title>
            <source>In: Proceedings of the Symposium on Computer Applications in Medical Care</source>
            <volume>261</volume>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B26">
        <label>26.</label>
        <citation-alternatives>
          <mixed-citation publication-type="web">Dasilva, J. (2018) Diabetes. Kaggle. https://www.kaggle.com/datasets/johndasilva/diabetes?select=diabetes.csv</mixed-citation>
          <element-citation publication-type="web">
            <person-group person-group-type="author">
              <string-name>Dasilva, J.</string-name>
            </person-group>
            <year>2018</year>
            <article-title>Diabetes</article-title>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B27">
        <label>27.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Stekhoven, D.J. and Bühlmann, P. (2011) MissForest—Non-Parametric Missing Value Imputation for Mixed-Type Data. <italic>Bioinformatics</italic>, 28, 112-118. https://doi.org/10.1093/bioinformatics/btr597 <pub-id pub-id-type="doi">10.1093/bioinformatics/btr597</pub-id><pub-id pub-id-type="pmid">22039212</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1093/bioinformatics/btr597">https://doi.org/10.1093/bioinformatics/btr597</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Stekhoven, D.J.</string-name>
            </person-group>
            <year>2011</year>
            <article-title>MissForest—Non-Parametric Missing Value Imputation for Mixed-Type Data</article-title>
            <source>Bioinformatics</source>
            <volume>28</volume>
            <pub-id pub-id-type="doi">10.1093/bioinformatics/btr597</pub-id>
            <pub-id pub-id-type="pmid">22039212</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B28">
        <label>28.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Chawla, N.V., Bowyer, K.W., Hall, L.O. and Kegelmeyer, W.P. (2002) SMOTE: Synthetic Minority Over-Sampling Technique. <italic>Journal of Artificial Intelligence Research</italic>, 16, 321-357. https://doi.org/10.1613/jair.953 <pub-id pub-id-type="doi">10.1613/jair.953</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1613/jair.953">https://doi.org/10.1613/jair.953</ext-link></mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Chawla, N.V.</string-name>
              <string-name>Bowyer, K.W.</string-name>
              <string-name>Hall, L.O.</string-name>
              <string-name>Kegelmeyer, W.P.</string-name>
            </person-group>
            <year>2002</year>
            <article-title>SMOTE: Synthetic Minority Over-Sampling Technique</article-title>
            <source>Journal of Artificial Intelligence Research</source>
            <volume>16</volume>
            <pub-id pub-id-type="doi">10.1613/jair.953</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B29">
        <label>29.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Breiman, L. (2001) Random Forests. <italic>Machine Learning</italic>, 45, 5-32. https://doi.org/10.1023/a:1010933404324 <pub-id pub-id-type="doi">10.1023/a:1010933404324</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1023/a:1010933404324">https://doi.org/10.1023/a:1010933404324</ext-link></mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Breiman, L.</string-name>
            </person-group>
            <year>2001</year>
            <article-title>Random Forests</article-title>
            <source>Machine Learning</source>
            <volume>45</volume>
            <fpage>101093</fpage>
            <pub-id pub-id-type="doi">10.1023/a:1010933404324</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B30">
        <label>30.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Cortes, C. and Vapnik, V. (1995) Support-Vector Networks. <italic>Machine Learning</italic>, 20, 273-297. https://doi.org/10.1023/a:1022627411411 <pub-id pub-id-type="doi">10.1023/a:1022627411411</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1023/a:1022627411411">https://doi.org/10.1023/a:1022627411411</ext-link></mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Cortes, C.</string-name>
              <string-name>Vapnik, V.</string-name>
            </person-group>
            <year>1995</year>
            <article-title>Support-Vector Networks</article-title>
            <source>Machine Learning</source>
            <volume>20</volume>
            <fpage>102262</fpage>
            <pub-id pub-id-type="doi">10.1023/a:1022627411411</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B31">
        <label>31.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Rumelhart, D.E., Hinton, G.E. and Williams, R.J. (1986) Learning Representations by Back-Propagating Errors. <italic>Nature</italic>, 323, 533-536. https://doi.org/10.1038/323533a0 <pub-id pub-id-type="doi">10.1038/323533a0</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1038/323533a0">https://doi.org/10.1038/323533a0</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Rumelhart, D.E.</string-name>
              <string-name>Hinton, G.E.</string-name>
              <string-name>Williams, R.J.</string-name>
            </person-group>
            <year>1986</year>
            <article-title>Learning Representations by Back-Propagating Errors</article-title>
            <source>Nature</source>
            <volume>323</volume>
            <pub-id pub-id-type="doi">10.1038/323533a0</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B32">
        <label>32.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Friedman, J.H. (2001) Greedy Function Approximation: A Gradient Boosting Machine. <italic>The Annals of Statistics</italic>, 29, 1189-1232. https://doi.org/10.1214/aos/1013203451 <pub-id pub-id-type="doi">10.1214/aos/1013203451</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1214/aos/1013203451">https://doi.org/10.1214/aos/1013203451</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Friedman, J.H.</string-name>
            </person-group>
            <year>2001</year>
            <article-title>Greedy Function Approximation: A Gradient Boosting Machine</article-title>
            <source>The Annals of Statistics</source>
            <volume>29</volume>
            <pub-id pub-id-type="doi">10.1214/aos/1013203451</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B33">
        <label>33.</label>
        <citation-alternatives>
          <mixed-citation publication-type="book">Hastie, T., Tibshirani, R. and Friedman, J. (2017) The Elements of Statistical Learning. 2nd Edition, Springer.</mixed-citation>
          <element-citation publication-type="book">
            <person-group person-group-type="author">
              <string-name>Hastie, T.</string-name>
              <string-name>Tibshirani, R.</string-name>
              <string-name>Friedman, J.</string-name>
              <string-name>Edition, S</string-name>
            </person-group>
            <year>2017</year>
            <article-title>The Elements of Statistical Learning</article-title>
            <source>2nd Edition</source>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B34">
        <label>34.</label>
        <citation-alternatives>
          <mixed-citation publication-type="web">Lundberg, S.M. and Lee, S.I. (2017) A Unified Approach to Interpreting Model Predictions. <italic>Advances in Neural Information Processing Systems</italic>, 30, 4765-4774. https://papers.nips.cc/paper_files/paper/2017/hash/8a20a8621978632d76c43dfd28b67767-Abstract.html</mixed-citation>
          <element-citation publication-type="web">
            <person-group person-group-type="author">
              <string-name>Lundberg, S.M.</string-name>
              <string-name>Lee, S.I.</string-name>
            </person-group>
            <year>2017</year>
            <article-title>A Unified Approach to Interpreting Model Predictions</article-title>
            <source>Advances in Neural Information Processing Systems</source>
            <volume>30</volume>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B35">
        <label>35.</label>
        <citation-alternatives>
          <mixed-citation publication-type="web">National Center for Health Statistics (2026) Obesity and Overweight. National Center for Health Statistics. https://www.cdc.gov/nchs/fastats/obesity-overweight.htm</mixed-citation>
          <element-citation publication-type="web">
            <year>2026</year>
            <article-title>Obesity and Overweight</article-title>
          </element-citation>
        </citation-alternatives>
      </ref>
    </ref-list>
  </back>
</article>