<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.0 20040830//EN" "journalpublishing.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="2.0" xml:lang="en" article-type="research-article"><front><journal-meta><journal-id journal-id-type="nlm-ta">JMIR Diabetes</journal-id><journal-id journal-id-type="publisher-id">diabetes</journal-id><journal-id journal-id-type="index">23</journal-id><journal-title>JMIR Diabetes</journal-title><abbrev-journal-title>JMIR Diabetes</abbrev-journal-title><issn pub-type="epub">2371-4379</issn><publisher><publisher-name>JMIR Publications</publisher-name><publisher-loc>Toronto, Canada</publisher-loc></publisher></journal-meta><article-meta><article-id pub-id-type="publisher-id">v10i1e68948</article-id><article-id pub-id-type="doi">10.2196/68948</article-id><article-categories><subj-group subj-group-type="heading"><subject>Original Paper</subject></subj-group></article-categories><title-group><article-title>Managing Exercise-Related Glycemic Events in Type 1 Diabetes: Development and Validation of Predictive Models for a Practical Decision Support Tool</article-title></title-group><contrib-group><contrib contrib-type="author" corresp="yes"><name name-style="western"><surname>Ma</surname><given-names>Sisi</given-names></name><degrees>PhD</degrees><xref ref-type="aff" rid="aff1">1</xref><xref ref-type="aff" rid="aff2">2</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Coopergard</surname><given-names>Ryan</given-names></name><degrees>PhD</degrees><xref ref-type="aff" rid="aff2">2</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Clements</surname><given-names>Mark</given-names></name><degrees>MD, PhD</degrees><xref ref-type="aff" rid="aff3">3</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Chow</surname><given-names>Lisa</given-names></name><degrees>MD, MS</degrees><xref ref-type="aff" rid="aff4">4</xref></contrib></contrib-group><aff id="aff1"><institution>Department of Medicine, Medical School, University of Minnesota</institution><addr-line>Minneapolis</addr-line><addr-line>MN</addr-line><country>United States</country></aff><aff id="aff2"><institution>Institute for Health Informatics, University of Minnesota</institution><addr-line>420 Delaware Street SE</addr-line><addr-line>Minneapolis</addr-line><addr-line>MN</addr-line><country>United States</country></aff><aff id="aff3"><institution>School of Medicine, University of Missouri&#x2013;Kansas City</institution><addr-line>Kansas City</addr-line><addr-line>MO</addr-line><country>United States</country></aff><aff id="aff4"><institution>Division of Diabetes, Endocrinology and Metabolism, Department of Medicine, Medical School, University of Minnesota</institution><addr-line>Minneapolis</addr-line><addr-line>MN</addr-line><country>United States</country></aff><contrib-group><contrib contrib-type="editor"><name name-style="western"><surname>Cahill</surname><given-names>Naomi</given-names></name></contrib></contrib-group><contrib-group><contrib contrib-type="reviewer"><name name-style="western"><surname>Lim</surname><given-names>Gilbert</given-names></name></contrib><contrib contrib-type="reviewer"><name name-style="western"><surname>Vogrin</surname><given-names>Sara</given-names></name></contrib><contrib contrib-type="reviewer"><name name-style="western"><surname>Helleputte</surname><given-names>Simon</given-names></name></contrib></contrib-group><author-notes><corresp>Correspondence to Sisi Ma, PhD, Institute for Health Informatics, University of Minnesota, 420 Delaware Street SEMinneapolis, 55401, United States, 1 6126267788; <email>sisima@umn.edu</email></corresp></author-notes><pub-date pub-type="collection"><year>2025</year></pub-date><pub-date pub-type="epub"><day>10</day><month>10</month><year>2025</year></pub-date><volume>10</volume><elocation-id>e68948</elocation-id><history><date date-type="received"><day>18</day><month>11</month><year>2024</year></date><date date-type="rev-recd"><day>14</day><month>08</month><year>2025</year></date><date date-type="accepted"><day>18</day><month>08</month><year>2025</year></date></history><copyright-statement>&#x00A9; Sisi Ma, Ryan Coopergard, Mark Clements, Lisa Chow. Originally published in JMIR Diabetes (<ext-link ext-link-type="uri" xlink:href="https://diabetes.jmir.org">https://diabetes.jmir.org</ext-link>), 10.10.2025. </copyright-statement><copyright-year>2025</copyright-year><license license-type="open-access" xlink:href="https://creativecommons.org/licenses/by/4.0/"><p>This is an open-access article distributed under the terms of the Creative Commons Attribution 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>), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work, first published in JMIR Diabetes, is properly cited. The complete bibliographic information, a link to the original publication on <ext-link ext-link-type="uri" xlink:href="https://diabetes.jmir.org/">https://diabetes.jmir.org/</ext-link>, as well as this copyright and license information must be included.</p></license><self-uri xlink:type="simple" xlink:href="https://diabetes.jmir.org/2025/1/e68948"/><abstract><sec><title>Background</title><p>Exercise is an important aspect of diabetes self-management. Patients with type 1 diabetes frequently struggle with exercise-induced hyperglycemia and hypoglycemia, decreasing their willingness to exercise.</p></sec><sec><title>Objective</title><p>We aim to build accurate and easy-to-deploy models to forecast exercise-induced glycemic events in real-world settings.</p></sec><sec sec-type="methods"><title>Methods</title><p>We analyzed free-living data from the Type 1 Diabetes Exercise Initiative study, where adults with type 1 diabetes wore a continuous glucose monitor (CGM) while performing video-guided exercises (30-minute exercises at least 6 times over 4 weeks), along with concurrent detailed phenotyping of their insulin program and diet. We built models to predict glycemic events (blood glucose &#x2264;54 mg/dL, &#x2264;70 mg/dL, &#x2265;200 mg/dL, and &#x2265;250 mg/dL) during and 1 hour post exercise with variables from 4 data modalities, such as demographic and clinical (eg, glycated hemoglobin; CGM (blood glucose value and their summary statistics); carbohydrate intake and insulin administration; and exercise type, duration, and intensity. We used repeated stratified nested cross-validation for model selection and performance estimation. We evaluated the relative contribution of the 4 input data modalities for predicting glycemic events, which informs the cost and benefit for including them in the decision support tool for risk prediction. We also evaluated other important aspects related to model translation into decision support tools, including model calibration and sensitivity to noisy inputs.</p></sec><sec sec-type="results"><title>Results</title><p>Our models were built based on 1901 exercise episodes for 329 participants. The median age for the participants was 34 (IQR 26&#x2010;48) years. Of the participants, 74.8% (246/329) are female and 94.5% (311/329) are White. A total of 182/329 (55.3%) participants used a closed-loop insulin delivery system, while the rest used a pump without a closed-loop system. Models incorporating information from all 4 data modalities showed excellent predictive performance with cross-validated area under the receiver operating curves (AUROCs) ranging from mean 0.880 (SD 0.057) to mean 0.992 (SD 0.001) for different glycemic events. Models built with CGM data alone have statistically indistinguishable performance compared to models using all data modalities, indicating the other 3 data modalities do not add additional information with respect to predicting exercise-related glycemic events. The models based solely on CGM data also showed outstanding calibration (Brier score &#x2264;0.08) and resilience to noisy input.</p></sec><sec sec-type="conclusions"><title>Conclusions</title><p>We successfully constructed models to forecast exercise-induced glycemic events using only CGM data as input with excellent predictive performance, calibration, and robustness. In addition, these models are based on automatically captured CGM data, thus easy to deploy and maintain and incurring minimal user burden, enabling model translation into a decision support tool.</p></sec></abstract><kwd-group><kwd>type 1 diabetes</kwd><kwd>exercise-induced glycemic events</kwd><kwd>continuous glucose monitoring</kwd><kwd>predictive modeling</kwd><kwd>decision support tool</kwd><kwd>hypoglycemia</kwd><kwd>hyperglycemia</kwd></kwd-group></article-meta></front><body><sec id="s1" sec-type="intro"><title>Introduction</title><p>Exercise refers to intentional physical activity, such as aerobic, resistance, or high-intensity interval training [<xref ref-type="bibr" rid="ref1">1</xref>]. It has many benefits, including improving overall health and longevity [<xref ref-type="bibr" rid="ref2">2</xref>]. However, patients with type 1 diabetes (T1DM) often struggle to meet recommended exercise guidelines (&#x2265;150 minutes of moderate activity per week) [<xref ref-type="bibr" rid="ref3">3</xref>]. One contributing factor is that exercise can cause significant glycemic variability, with strenuous exercise causing exercise-associated hyperglycemia and subsequent postexercise hypoglycemia resulting from heightened postexercise insulin sensitivity [<xref ref-type="bibr" rid="ref4">4</xref>]. Fear of exercise-associated glycemic variability presents a significant barrier to regular physical activity in adults with T1DM [<xref ref-type="bibr" rid="ref5">5</xref>]. On the other hand, exercise is an important aspect of diabetes self-management. Less exercise during the COVID-19 pandemic was associated with poorer glycemic control in people with T1DM and type 2 diabetes [<xref ref-type="bibr" rid="ref6">6</xref>]. Glycemic management peri-exercise presents an ongoing challenge for patients with T1DM. To address the needs of patients, we aim to develop models and decision support tools that predict glycemic events safely and accurately with minimal user burden.</p><p>As indicated in several recent reviews and meta-analyses [<xref ref-type="bibr" rid="ref7">7</xref>-<xref ref-type="bibr" rid="ref10">10</xref>], many studies have explored predicting glycemic events (hypo- and hyperglycemia) using statistical and machine learning methods and demonstrated good predictive performances. However, there is evidence that a general-purpose glycemic event prediction model has reduced performance when applied to high-activity conditions [<xref ref-type="bibr" rid="ref11">11</xref>]. A smaller set of studies focused on the prediction of glycemic event risk specifically during and post exercise [<xref ref-type="bibr" rid="ref12">12</xref>-<xref ref-type="bibr" rid="ref16">16</xref>] reported highly promising results. The studies using data collected from highly structured clinical studies with controlled meal intake and exercise programs achieved very strong to near-perfect predictivity for hypoglycemia (blood glucose &#x003C;70 mg/dL) during and post aerobic exercise [<xref ref-type="bibr" rid="ref12">12</xref>,<xref ref-type="bibr" rid="ref13">13</xref>]. Studies using data collected in real-world free-living conditions reported highly promising predictivities, ranging area under the receiver operating characteristic curve (AUROC) from 0.79 to 0.84, for predicting hypoglycemia during and post exercise [<xref ref-type="bibr" rid="ref15">15</xref>,<xref ref-type="bibr" rid="ref16">16</xref>].</p><p>Building on prior work, we aim to address important remaining questions related to model translation into a decision support tool for exercise-related glycemic event risk prediction. Specifically, we used the T1DEXI adult dataset and constructed models to predict a larger set of glycemic events, including hypoglycemia (&#x2264;54 mg/dL and &#x2264;70 mg/dL) and hyperglycemia (&#x2265;200 mg/dL and &#x2265;250 mg/dL) both during and post exercise, expanding the outcome, that is, blood glucose &#x2264;70 mg/dL during exercise, previously examined in the study by Bergford et al [<xref ref-type="bibr" rid="ref16">16</xref>]. There are three study goals: (1) to build high-quality predictive models for exercise-induced glycemic events using data from various modalities, including patient demographics, clinical data, CGM, carbohydrate and insulin intake, and exercise characteristics; (2) to assess the contributions of the different data modalities for predicting glycemic events to inform cost-benefit trade-offs for model deployment; and (3) to refine predictive models with the aim of minimizing user input while remaining a decision support tool for effective management of glycemic events.</p></sec><sec id="s2" sec-type="methods"><title>Methods</title><sec id="s2-1"><title>Study Cohort</title><p>We used data from the Type 1 Diabetes Exercise Initiative (T1DEXI) study [<xref ref-type="bibr" rid="ref17">17</xref>]. The T1DEXI was a real-world study of at-home exercise in adults with T1DM, where adult participants were randomly assigned to complete 6 structured aerobic, interval, or resistance exercise sessions over 4 weeks. Each exercise was approximately 30 minutes, consisting of a 3-minute warm-up and cool-down. In addition to study exercises, participants also continued their typical forms of daily physical activity. Information regarding carbohydrate intake was collected through the T1DEXI app. Insulin dosing information was extracted from the insulin pump. Continuous glucose monitoring (CGM) data were collected using Dexcom G6 sensors (1 measurement every 5 minutes). Diabetes history, glycated hemoglobin A<sub>1c</sub> (HbA<sub>1c</sub>), and demographics were self-reported and collected via a portal.</p></sec><sec id="s2-2"><title>Analysis Design</title><sec id="s2-2-1"><title>Overall Design</title><p>Figure 1 illustrates the analysis design. We designed our model to assess the risk for hypoglycemic events at two critical decision points (<xref ref-type="fig" rid="figure1">Figure 1</xref>) for managing exercise-related glucose events for patients with T1DM (as marked by purple dots in Figure 1): (1) prior to the start of the exercise to evaluate the risk of glycemic events during exercise using data collected from 1-hour pre-exercise (<xref ref-type="fig" rid="figure1">Figure 1A</xref>) and (2) right after the completion of the exercise to evaluate the risk of glycemic events for the 1-hour post exercise using data collected from 1-hour pre-exercise and during exercise (<xref ref-type="fig" rid="figure1">Figure 1B</xref>). With glycemic event risk estimated accurately at these decision points, patients can make adjustments, for example, to their exercise plan and carbohydrate and insulin intake, to avoid glycemic events accordingly. Data from various data modalities were considered as candidate predictors, including patient demographics, clinical, CGM, carbohydrate and insulin intake, and exercise characteristics.</p><fig position="float" id="figure1"><label>Figure 1.</label><caption><p>Design of analytical experiments. Subparts (A) and (B) represent the designs for predicting glycemic events during and post exercise, respectively. GE: glycemic events.</p></caption><graphic alt-version="no" mimetype="image" position="float" xlink:type="simple" xlink:href="diabetes_v10i1e68948_fig01.png"/></fig></sec><sec id="s2-2-2"><title>Targets of Interest</title><p>Our targets of interest are binary variables representing the occurrence of glycemic events during and 1 hour post exercise. Specifically, we examined 4 glycemic events, including severe hypoglycemia (glucose &#x2264;54 mg/dL), hypoglycemia (glucose &#x2264;70 mg/dL), hyperglycemia (glucose &#x2265;200 mg/dL), and severe hyperglycemia (glucose &#x2265;250 mg/dL). Each of the 4 glycemic events was assessed separately during the exercise and postexercise period, resulting in 8 outcomes.</p></sec><sec id="s2-2-3"><title>Candidate Predictors</title><p>We extracted and constructed the following data elements as candidate predictors. All candidate predictors and their construction are listed in Table S1 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>.</p><list list-type="order"><list-item><p>Demographic data: Age, race, and sex.</p></list-item><list-item><p>Clinical data: Height, weight, and BMI at the beginning of the study. Most recent HbA<sub>1c</sub> prior to the study period. Out of the 329 participants in our study, 318 reported an HbA<sub>1c</sub> within 12 months of the start of the study.</p></list-item><list-item><p>CGM data: For predicting during exercise glycemic events, we used CGM data 1 hour pre-exercise (<xref ref-type="fig" rid="figure1">Figure 1A</xref>). For predicting postexercise glycemic events, we used CGM data 1 hour pre-exercise and during exercise. Up to 12 raw CGM readings prior to the decision point, as well as the minimum, maximum, mean, SD, and coefficient of variation of the CGM reading from the appropriate time period, were constructed and used as candidate predictors.</p></list-item><list-item><p>Carbohydrate and insulin intake: For predicting glycemic events during exercise, we used carbohydrate and insulin intake data 1-hour pre-exercise (<xref ref-type="fig" rid="figure1">Figure 1</xref>). For predicting postexercise glycemic events, we used carbohydrate and insulin intake data 1 hour pre-exercise and during exercise. We used the total amount of carbohydrates in grams from the appropriate time period and the total insulin intake, including both basal and bolus insulin, from the appropriate time period.</p></list-item><list-item><p>Exercise data: The study arm (aerobic, interval, or resistance exercise), the self-reported exercise intensity, and the exercise time of day were included as candidate predictors. The time of day of exercise was determined by the time of day of the start of exercise, split into the categories morning, afternoon, and night. Morning, afternoon, and night were defined as the periods of time between 5 AM and noon, between noon and 5 PM, and between 5 PM and 5 AM, respectively. For predicting postexercise glycemic events, we also included self-reported exercise duration as a candidate predictor for postexercise glycemic event prediction.</p></list-item></list></sec></sec><sec id="s2-3"><title>Overview of Models and Analysis</title><p>To address the three goals mentioned above, we conducted three sets of analyses.</p><list list-type="order"><list-item><p>To achieve our first goal, that is, building high-quality predictive models for exercise-induced glycemic events using all available data, we built predictive models for all 8 outcomes of interest using variables from all data modalities, including patient demographics, clinical data, CGM data, carbohydrate and insulin intake, and exercise characteristics.</p></list-item><list-item><p>To achieve our second goal, that is, assessing the contribution of different data modalities for predicting glycemic events, we built models for all 8 outcomes of interest using data from each of the following 4 data modalities individually: patient demographics and clinical data, CGM data, carbohydrate and insulin intake, and exercise characteristics.</p></list-item><list-item><p>To achieve our third goal, that is, refining predictive models with the aim of clinical translation, we explored various methods to improve different aspects of model translation, including building models with variables that are easier to measure, enhancing model calibration, and assessing model performance with noisy data.</p></list-item></list></sec><sec id="s2-4"><title>Data Processing</title><p>To ensure sufficient data were available for each data modality to enable the comparison among data modalities (the second study goal), we included participants who had at least 80 recorded carbohydrate intakes, 6000 CGM reads, and 200 insulin intakes over the 4-week period (Figure S1 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref> shows the distribution of number of carbohydrate intakes, number of CGM reads, and number of insulin intakes). We did not include participants that are on multiple daily injections. Regarding exercise events, we only included study exercises (ie, the video-guided exercise as part of the TIDEXI study), since the types of exercise were well defined. To be able to compute candidate predictors, we included exercise events that had at least 10 CGM measurements 1 hour pre-exercise, 2 CGM measurements during exercise, and 10 CGM measurements 1 hour post exercise. Of the 2021 total number of exercises, 120 were filtered out with the criterion described above, resulting in 1901 exercise events. Of the 1901 exercise events, 1895 had more than 4 CGM readings. The median number of CGM readings per exercise was 6 (IQR 4-6 readings; spanning 30 minutes). The final dataset included 1901 exercise events from 329 participants.</p></sec><sec id="s2-5"><title>Methods for Predictive Modeling</title><sec id="s2-5-1"><title>Model Selection, Performance Estimation, and Validation</title><p>We conducted model selection and performance estimation using stratified 5-fold nested cross-validation (NCV). The inner loop of the NCV was used to select the best classifier, feature selection method, and hyperparameter combinations while the outer loop evaluated the performance of the selected models. The NCV procedures were repeated 4 times to reduce the variation associated with splitting the data into 5 folds. In our primary analysis, exercise episodes were randomly distributed into the folds of the NCV, which means that different exercise episodes from the same participant could appear in both training and testing folds. We also conducted a sensitivity analysis where multiple exercise episodes from the same individual were included in the same NCV fold to account for person-specific effects (results are similar to our primary analysis and reported in Tables S2 and S3 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>).</p></sec><sec id="s2-5-2"><title>Feature Selection</title><p>For feature selection, we used all features, support vector machine recursive feature elimination [<xref ref-type="bibr" rid="ref18">18</xref>], and generalized local learning, parent children (GLL-PC with the conditioning set size parameter K=1, 2, or 3) [<xref ref-type="bibr" rid="ref19">19</xref>]. In theory, GLL-PC can select a parsimonious set of variables while retaining maximal information content regarding the prediction target. GLL-PC has also been shown to be highly successful in real-world applications [<xref ref-type="bibr" rid="ref19">19</xref>,<xref ref-type="bibr" rid="ref20">20</xref>].</p></sec><sec id="s2-5-3"><title>Classification</title><p>We considered the following classifiers: logistic regression, random forest (with mtry=sqrt [number of variables], number of trees=500), and support vector machines with a polynomial kernel (with polynomial degree paramter <italic>P</italic>=1, 2, and the box constraint parameter C=0.1, 1, 10).</p></sec><sec id="s2-5-4"><title>Missing Values</title><p>Treatment for missing values was incorporated into the modeling pipeline to ensure that imputation on the validation data was performed according to the distribution of the training data, preventing information leakage. Missing values for non-CGM predictor variables were handled using median imputation. Missing CGM values were replaced with the last nonmissing observation carried forward if available, or the next value carried backward otherwise. If multiple CGM values were missing consecutively, the missing value will be progressively carried forward or backward, if possible. For example, in the following sequence of measurements {t<sub>0</sub>, t<sub>1</sub>, t<sub>2</sub>, t<sub>3</sub>, t<sub>4</sub>, t<sub>5</sub>}, if t<sub>2</sub>, t<sub>3</sub>, t<sub>4</sub> are missing, they will all be imputed with the value of t<sub>1</sub>, that is, the last nonmissing observation carried forward in time. We ensured that observations from the prediction horizon (ie, during exercise or post exercise) were never carried backward to be used as features. The percentage of missing CGM values ranged from 0% to 20% across different exercise events, with 99.5% of events having at most 10% missing CGM data.</p></sec><sec id="s2-5-5"><title>Performance Metric</title><p>We used the AUROC, sensitivity, and specificity to evaluate the predictive performance of the models. All performance metrics were estimated within the NCV pipeline to obtain unbiased estimates. To estimate sensitivity and specificity in each fold of the outer loop, we first determined the thresholds in the inner loops that maximized the J-index (J=sensitivity+specificity&#x2013;1). To compare the sensitivity and specificity of our model to prior literature, we applied thresholds to match the sensitivity of the previously reported models. We then calculated the sensitivity and specificity on the outer loop fold using the mean of these thresholds. We used the Brier score to evaluate model calibration.</p></sec><sec id="s2-5-6"><title>Information Content Analysis</title><p>To examine the predictive performance of the 4 different data modalities in the dataset (demographics and clinical data, CGM data, carbohydrate and insulin intake, and exercise characteristics), we trained classifiers on each modality individually and compared the predictive performance to the model trained with all features.</p></sec></sec><sec id="s2-6"><title>Methods for Improving Model Translation to Decision Support Tools</title><sec id="s2-6-1"><title>Models With Low Complexity for Deployment and User Burden</title><p>When translating models to decision support tools, the complexity of constructing, diagnosing, and maintaining the tool is a key consideration. Models that include variables collected from different sources entail a more complex decision support tool. This complex decision support tool is more prone to failure in real-world settings and requires more resources to maintain. In addition, variables from data sources that are not automatically captured (eg, carbohydrate intake) need to be manually inputted, resulting in increased user burden. We compare models using all 4 data sources to assess whether models based on single, easy-to-acquire data sources performed similarly to models using multiple data sources (ie, the information content analysis from the &#x201C;Information Content Analysis&#x201D; section).</p></sec><sec id="s2-6-2"><title>Model Performance With Noisy Data</title><p>To assess the robustness of our models to noise in CGM data at prediction time, we added Gaussian noise of different levels to the outer loop testing data and evaluated the predictive performance. This approach mimics real-world conditions where CGM measurements may contain more noise than the data used for training the model. An issue with potential noise in CGM measurements has been documented. A recent study by Skroce et al [<xref ref-type="bibr" rid="ref21">21</xref>] demonstrated that the average CGM noise is up to 15% mean absolute relative difference across all exercise intensities investigated when compared to capillary glucose. We considered 4 different noise levels, where Gaussian noise with a mean of x and SD of p was added to each CGM measurement, with x being the original CGM value and p representing noise levels of (5%, 10%, 15%, and 20%). This corresponds to mean absolute relative differences of 4%, 8%, 12%, and 16%, respectively.</p></sec><sec id="s2-6-3"><title>Model Calibration</title><p>The close correspondence between model-predicted risk and observed risk is crucial for deploying the model in a real-world setting [<xref ref-type="bibr" rid="ref22">22</xref>]. Deviations of predicted risk from the actual risk can lead to model misinterpretation and misuse. Therefore, we evaluated the calibration of our models using the Brier Score [<xref ref-type="bibr" rid="ref23">23</xref>]. To potentially improve model calibration, we applied isotonic regression, Platt scaling, and spline calibration [<xref ref-type="bibr" rid="ref24">24</xref>] to recalibrate the model predictions.</p></sec><sec id="s2-6-4"><title>Analysis Tools</title><p>Analyses were conducted using custom scripts in MATLAB 2023b (MathWorks) and R version 3.5.0 (R Foundation for Statistical Computing).</p></sec></sec><sec id="s2-7"><title>Ethical Considerations</title><p>This study is based on deidentified, publicly available data and is not human subjects research.</p></sec></sec><sec id="s3" sec-type="results"><title>Results</title><sec id="s3-1"><title>Participant and Exercise Characteristics</title><p><xref ref-type="table" rid="table1">Table 1</xref> shows characteristics of participants. The median age for the 329 participants was 34 (IQR 26&#x2010;48) years. The majority of participants were female (246/329, 74.8%) and White (331/329, 94.5%). The median HbA<sub>1c</sub> was 6.5% (IQR 6.1%&#x2010;7.0%). The median BMI was 24.8 (IQR 22.86&#x2010;27.46). A total of 326 (&#x003E;99%) patients were on fast- or rapid-acting insulin, while the remaining 3/329 (&#x003C;1%) patients were on short-acting insulin. Notably, 18/329 (5.5%) participants were additionally taking metformin. A total of 18,329 (55.3%) participants used a closed-loop insulin delivery system, while the remaining 147/329 (44.7%) participants used a pump without a closed-loop system. The median duration of T1DM was 16 (IQR 10.75&#x2010;24) years. The median total daily insulin dose was 37.3 (IQR 28.06&#x2010;47.96) units. There were similar numbers of participants in each exercise intervention group: 122/329 (34%) in the aerobic training group, 113/329 (34.3%) in the interval training group, and 104/329 (31.6%) in the resistance training group. Over the 4 weeks of the study, the median number of exercise events per participant was 6 (IQR 4&#x2010;6).</p><table-wrap id="t1" position="float"><label>Table 1.</label><caption><p>Participant characteristics reported as median and IQR for continuous variables, and count and percentage for discrete variables.</p></caption><table id="table1" frame="hsides" rules="groups"><thead><tr><td align="left" valign="bottom" colspan="2">Variable name</td><td align="left" valign="bottom">Descriptive statistics</td></tr></thead><tbody><tr><td align="left" valign="top" colspan="2">Age (years), median (IQR)</td><td align="left" valign="top">34 (26-48)</td></tr><tr><td align="left" valign="top" colspan="3">Sex, n (%)</td></tr><tr><td align="left" valign="top" colspan="2"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>Male</td><td align="left" valign="top">83 (25.2)</td></tr><tr><td align="left" valign="top" colspan="2"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>Female</td><td align="left" valign="top">246 (74.8)</td></tr><tr><td align="left" valign="top" colspan="3">Race, n (%)</td></tr><tr><td align="left" valign="top" colspan="2"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>White</td><td align="left" valign="top">311 (94.5)</td></tr><tr><td align="left" valign="top" colspan="2"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>Black</td><td align="left" valign="top">1 (0.3)</td></tr><tr><td align="left" valign="top" colspan="2"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>Asian</td><td align="left" valign="top">5 (1.5)</td></tr><tr><td align="left" valign="top" colspan="2"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>American Indian or Alaska Native</td><td align="left" valign="top">1 (0.3)</td></tr><tr><td align="left" valign="top" colspan="2"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>Other</td><td align="left" valign="top">5 (1.5)</td></tr><tr><td align="left" valign="top" colspan="2">Number of medications, median (IQR)</td><td align="left" valign="top">2 (2-2)</td></tr><tr><td align="left" valign="top" colspan="3"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>Insulin delivery method, n (%)</td></tr><tr><td align="left" valign="top" colspan="2"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>Closed-loop</td><td align="left" valign="top">182 (55.3)</td></tr><tr><td align="left" valign="top" colspan="2"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>Pump without closed-loop</td><td align="left" valign="top">147 (44.7)</td></tr><tr><td align="left" valign="top" colspan="2">Hemoglobin A<sub>1c</sub> (%), mean (SD)</td><td align="left" valign="top">6.56 (0.66)</td></tr><tr><td align="left" valign="top" colspan="3"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>Number of participants per exercise type, n (%)</td></tr><tr><td align="left" valign="top" colspan="2"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>Aerobic</td><td align="left" valign="top">122 (34)</td></tr><tr><td align="left" valign="top" colspan="2"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>Resistance</td><td align="left" valign="top">104 (31.6)</td></tr><tr><td align="left" valign="top" colspan="2"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>Interval</td><td align="left" valign="top">113 (34.3)</td></tr><tr><td align="left" valign="top" colspan="2">Number of exercises per participant, median (IQR)</td><td align="left" valign="top">6 (5-6)</td></tr><tr><td align="left" valign="top" colspan="3"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>Number of peri-exercise glycemic events per participant, median (IQR)</td></tr><tr><td align="left" valign="top" colspan="2"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>&#x2264;54 during exercise</td><td align="left" valign="top">0 (0-0)</td></tr><tr><td align="left" valign="top" colspan="2"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>&#x2264;70 during exercise</td><td align="left" valign="top">0 (0-0)</td></tr><tr><td align="left" valign="top" colspan="2"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>&#x2265;200 during exercise</td><td align="left" valign="top">1 (0-1)</td></tr><tr><td align="left" valign="top" colspan="2"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>&#x2265;250 during exercise</td><td align="left" valign="top">0 (0-0)</td></tr><tr><td align="left" valign="top" colspan="2"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>&#x2264;54 post exercise</td><td align="left" valign="top">0 (0-0)</td></tr><tr><td align="left" valign="top" colspan="2"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>&#x2264;70 post exercise</td><td align="left" valign="top">0 (0-1)</td></tr><tr><td align="left" valign="top" colspan="2"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>&#x2265;200 post exercise</td><td align="left" valign="top">1 (0-1)</td></tr><tr><td align="left" valign="top" colspan="2"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>&#x2265;250 post exercise</td><td align="left" valign="top">0 (0-0)</td></tr></tbody></table></table-wrap></sec><sec id="s3-2"><title>Characteristics of Exercise Events</title><p><xref ref-type="table" rid="table2">Table 2</xref> summarizes the characteristics of exercise events. Of the 1901 exercise events included in the analysis, the median duration was 30 (IQR 22&#x2010;30) minutes, with on average 12.4% (SD 14.7%) of missing CGM measurements during the exercise, ranging from 0% to 66.7%. Similar numbers of exercise episodes were observed for each exercise type, with 649 aerobic exercises, 659 interval exercises, and 593 resistance exercises. A total of 596 (27.8%) of the 1901 exercises started in the morning. Severe hypoglycemia during and post exercise was observed, and morning exercise was less frequent. Only 0.17% of morning exercises resulted in hypoglycemic events (&#x2264;54 mg/dL) during exercise, compared to 1.23% observed during exercises at other times of the day (<italic>&#x03C7;</italic><sup>2</sup><sub>1</sub>=4.1; <italic>P</italic>=.04). Severe hypoglycemia (&#x2264;54 mg/dL) post exercise occurred in 1.84% of morning exercises, compared to 4.75% at other times of the day (<italic>&#x03C7;</italic><sup>2</sup><sub>1</sub>=8.5; <italic>P</italic>=.003). There was no statistically significant difference in the likelihood of hypoglycemic events (&#x2264;54 mg/dL) across different exercise types (<italic>&#x03C7;</italic><sup>2</sup><sub>2</sub>=2.1; <italic>P</italic>=.35).</p><table-wrap id="t2" position="float"><label>Table 2.</label><caption><p>Exercise characteristics reported as median and IQR for continuous variables, and count and percentage for discrete variables.</p></caption><table id="table2" frame="hsides" rules="groups"><thead><tr><td align="left" valign="bottom">Variable names</td><td align="left" valign="bottom"/><td align="left" valign="bottom" colspan="4">During exercise</td><td align="left" valign="bottom" colspan="4">Post exercise</td></tr><tr><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top" colspan="2">Hypoglycemia</td><td align="left" valign="top" colspan="2">Hyperglycemia</td><td align="left" valign="top" colspan="2">Hypoglycemia</td><td align="left" valign="top" colspan="2">Hyperglycemia</td></tr><tr><td align="left" valign="top"/><td align="left" valign="top">Total</td><td align="char" char="." valign="top">&#x2264;54</td><td align="char" char="." valign="top">&#x2264;70</td><td align="char" char="." valign="top">&#x2265;200</td><td align="char" char="." valign="top">&#x2265;250</td><td align="char" char="." valign="top">&#x2264;54</td><td align="char" char="." valign="top">&#x2264;70</td><td align="char" char="." valign="top">&#x2265;200</td><td align="char" char="." valign="top">&#x2265;250</td></tr></thead><tbody><tr><td align="left" valign="top">Number of exercise events, n (%)</td><td align="left" valign="top">1901</td><td align="left" valign="top">17 (0.9)</td><td align="left" valign="top">88 (4.6)</td><td align="left" valign="top">286 (15)</td><td align="left" valign="top">76 (4)</td><td align="left" valign="top">73 (3.8)</td><td align="left" valign="top">255 (13.4)</td><td align="left" valign="top">315 (16.6)</td><td align="left" valign="top">92 (4.8)</td></tr><tr><td align="left" valign="top">Exercise duration (minutes), median (IQR)</td><td align="left" valign="top">30 (22-30)</td><td align="left" valign="top">30, (30-30)</td><td align="left" valign="top">30 (24.5-30)</td><td align="left" valign="top">30 (22-30)</td><td align="left" valign="top">30 (22-30)</td><td align="left" valign="top">30 (22-30)</td><td align="left" valign="top">28 (22-30)</td><td align="left" valign="top">30 (22-30)</td><td align="left" valign="top">30 (24.5-30)</td></tr><tr><td align="left" valign="top">Number of morning exercises, n (%)</td><td align="left" valign="top">529</td><td align="left" valign="top">1 (0.2)</td><td align="left" valign="top">15 (2.8)</td><td align="left" valign="top">77 (14.6)</td><td align="left" valign="top">14 (2.6)</td><td align="left" valign="top">11 (2.1)</td><td align="left" valign="top">60 (11.3)</td><td align="left" valign="top">92 (17.4)</td><td align="left" valign="top">25 (4.7)</td></tr><tr><td align="left" valign="top">Number of evening exercises, n (%)</td><td align="left" valign="top">780</td><td align="left" valign="top">10 (1.3)</td><td align="left" valign="top">48 (6.2)</td><td align="left" valign="top">129 (16.5)</td><td align="left" valign="top">36 (4.6)</td><td align="left" valign="top">41 (5.3)</td><td align="left" valign="top">127 (16.3)</td><td align="left" valign="top">136 (17.4)</td><td align="left" valign="top">40 (5.1)</td></tr><tr><td align="left" valign="top">Number of aerobic exercises, n (%)</td><td align="left" valign="top">649</td><td align="left" valign="top">3 (0.5)</td><td align="left" valign="top">30 (4.6)</td><td align="left" valign="top">102 (15.7)</td><td align="left" valign="top">22 (3.4)</td><td align="left" valign="top">27 (4.2)</td><td align="left" valign="top">97 (14.9)</td><td align="left" valign="top">104 (16)</td><td align="left" valign="top">35 (5.4)</td></tr><tr><td align="left" valign="top">Number of interval exercises, n (%)</td><td align="left" valign="top">659</td><td align="left" valign="top">7 (1.1)</td><td align="left" valign="top">32 (4.9)</td><td align="left" valign="top">91 (13.8)</td><td align="left" valign="top">31 (4.7)</td><td align="left" valign="top">28 (4.2)</td><td align="left" valign="top">92 (14.0)</td><td align="left" valign="top">111 (16.8)</td><td align="left" valign="top">27 (4.1)</td></tr><tr><td align="left" valign="top">Number of resistance exercises, n (%)</td><td align="left" valign="top">593</td><td align="left" valign="top">7 (1.2)</td><td align="left" valign="top">26 (4.4)</td><td align="left" valign="top">93 (15.7)</td><td align="left" valign="top">23 (3.9)</td><td align="left" valign="top">18 (3)</td><td align="left" valign="top">66 (11.1)</td><td align="left" valign="top">100 (16.9)</td><td align="left" valign="top">30 (5.1)</td></tr></tbody></table></table-wrap></sec><sec id="s3-3"><title>Models Forecasting Exercise-Related Glycemic Events</title><p>We built a set of models using variables from all available data modalities, including patient demographics and clinical data, exercise characteristics, CGM data, and insulin and carbohydrate intake data. The forecasting performance for all glycemic events during and after exercise was excellent, with mean AUROC values ranging from 0.880 to 0.992 (<xref ref-type="table" rid="table3">Table 3</xref>). The AUROCs for predicting glycemic events during exercise were generally higher compared to those for postexercise prediction. It is worth noting that, although the modeling process had access to all 28 variables (for during-exercise predictions) or all 35 variables (for postexercise predictions) from the 4 data modalities (patient demographics, clinical data, CGM data, and carbohydrate and insulin intake), feature selection was performed to optimize predictive performance. This process resulted in models that used only a subset of the available variables, as shown in <xref ref-type="table" rid="table3">Table 3</xref>. The number of variables selected in each model varied from 2 to 35. We included model coefficients or variable importance of all models in <xref ref-type="table" rid="table3">Table 3</xref> and Table S4 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>.</p><table-wrap id="t3" position="float"><label>Table 3.</label><caption><p>Predictive performances of models using data from all four modalities for each glycemic event at different prediction horizons (measured by area under the receiver operating characteristic curve) and number of predictors from each data module that was selected into the model by feature selection.</p></caption><table id="table3" frame="hsides" rules="groups"><thead><tr><td align="left" valign="bottom" rowspan="2" colspan="3">Glycemic event</td><td align="left" valign="bottom" colspan="2">AUROC<sup><xref ref-type="table-fn" rid="table3fn2">b</xref></sup></td><td align="left" valign="bottom" colspan="5">Number of predictors</td></tr><tr><td align="left" valign="bottom" colspan="2">Mean (SD)</td><td align="left" valign="bottom">Total</td><td align="left" valign="bottom">CGM<sup><xref ref-type="table-fn" rid="table3fn1">a</xref></sup></td><td align="left" valign="bottom">Clinical and demographics</td><td align="left" valign="bottom">Exercise</td><td align="left" valign="bottom">Carbohydrate and insulin</td></tr></thead><tbody><tr><td align="left" valign="top" colspan="10">During</td></tr><tr><td align="left" valign="top" colspan="10"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>Hypo</td></tr><tr><td align="left" valign="top" colspan="3"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>&#x2264;54</td><td align="left" valign="top" colspan="2">0.880 (0.057)</td><td align="left" valign="top">28</td><td align="left" valign="top">17</td><td align="left" valign="top">7</td><td align="left" valign="top">2</td><td align="left" valign="top">2</td></tr><tr><td align="left" valign="top" colspan="3"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>&#x2264;70</td><td align="left" valign="top" colspan="2">0.907 (0.009)</td><td align="left" valign="top">8</td><td align="left" valign="top">7</td><td align="left" valign="top">0</td><td align="left" valign="top">1</td><td align="left" valign="top">0</td></tr><tr><td align="left" valign="top" colspan="3"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>Hyper</td><td align="left" valign="top" colspan="2"/><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top"/></tr><tr><td align="left" valign="top" colspan="3"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>&#x2265;200</td><td align="left" valign="top" colspan="2">0.987 (0.001)</td><td align="left" valign="top">2</td><td align="left" valign="top">2</td><td align="left" valign="top">0</td><td align="left" valign="top">0</td><td align="left" valign="top">0</td></tr><tr><td align="left" valign="top" colspan="3"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>&#x2265;250</td><td align="left" valign="top" colspan="2">0.992 (0.001)</td><td align="left" valign="top">2</td><td align="left" valign="top">2</td><td align="left" valign="top">0</td><td align="left" valign="top">0</td><td align="left" valign="top">0</td></tr><tr><td align="left" valign="top" colspan="10">Post</td></tr><tr><td align="left" valign="top" colspan="10"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>Hypo</td></tr><tr><td align="left" valign="top" colspan="3"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>&#x2264;54</td><td align="left" valign="top" colspan="2">0.902 (0.007)</td><td align="left" valign="top">8</td><td align="left" valign="top">7</td><td align="left" valign="top">1</td><td align="left" valign="top">0</td><td align="left" valign="top">0</td></tr><tr><td align="left" valign="top" colspan="3"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>&#x2264;70</td><td align="left" valign="top" colspan="2">0.892 (0.006)</td><td align="left" valign="top">14</td><td align="left" valign="top">14</td><td align="left" valign="top">0</td><td align="left" valign="top">0</td><td align="left" valign="top">0</td></tr><tr><td align="left" valign="top" colspan="10"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>Hyper</td></tr><tr><td align="left" valign="top" colspan="3"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content><break/>&#x2265;200</td><td align="left" valign="top" colspan="2">0.901 (0.006)</td><td align="left" valign="top">35</td><td align="left" valign="top">22</td><td align="left" valign="top">7</td><td align="left" valign="top">2</td><td align="left" valign="top">4</td></tr><tr><td align="left" valign="top" colspan="3"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>&#x2265;250</td><td align="left" valign="top" colspan="2">0.924 (0.003)</td><td align="left" valign="top">13</td><td align="left" valign="top">11</td><td align="left" valign="top">1</td><td align="left" valign="top">0</td><td align="left" valign="top">1</td></tr></tbody></table><table-wrap-foot><fn id="table3fn1"><p><sup>a</sup>CGM: continuous glucose monitoring.</p></fn><fn id="table3fn2"><p><sup>b</sup>AUROC: area under the receiver operating characteristic curve.</p></fn></table-wrap-foot></table-wrap></sec><sec id="s3-4"><title>Models Built Using Only CGM Data</title><p>To determine the predictive capability of individual data modalities, we developed models using each data modality separately. Figure 2 summarizes the performance of these models. The left panel shows glycemic events during exercise, and the right panel represents glycemic event post exercise. The height and error bar of the bar plots represent the mean and SD of AUROC. As shown in <xref ref-type="fig" rid="figure2">Figure 2</xref> and Table S2 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>, the models constructed with the CGM data resulted in excellent AUROC ranging from 0.894 to 0.989. The predictive performance of these models was not statistically significantly different from models using all data modalities for any glycemic event outcomes (<italic>P</italic>&#x003E;.05). Other data modalities showed low predictive power (mean AUROCs &#x2264;0.659), with significantly lower performance compared to the full model (<italic>P</italic>&#x003C;.01). When considered collectively, these results indicate that incorporating patients&#x2019; demographic traits, clinical condition, carbohydrate and insulin consumption, and exercise variables, such as timing and type, fails to furnish additional information regarding exercise-induced glycemic events beyond what is provided by the CGM data.</p><fig position="float" id="figure2"><label>Figure 2.</label><caption><p>Predictive performances for the models using data from individual data modalities compared to models that use all 4 modalities for each Glycemic Event. AUROC: area under the receiver operating characteristic curve; BG: blood glucose; CGM: continuous glucose monitor.</p></caption><graphic alt-version="no" mimetype="image" position="float" xlink:type="simple" xlink:href="diabetes_v10i1e68948_fig02.png"/></fig><p>We included the CGM-only model parameters or variable importance in Table S5 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>, and we compared the performance of the CGM-only models with models trained on a single CGM measurement in Table S8 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>. We also included an executable version of these models.</p></sec><sec id="s3-5"><title>Deployment Advantages of Models Using Only CGM Features</title><sec id="s3-5-1"><title>Deployment Complexity and User Burden</title><p>The CGM-only model is preferable for deployment due to its high predictive performance and lower complexity of deployment. As stated previously, for all 8 glycemic outcomes, the model with all data modalities did not perform statistically significantly better compared to the CGM-only model, indicating the glycemic outcomes can be predicted equally well with and without the other variables, such as demographics, clinical variables, carbohydrate and insulin, and exercise characteristics. This is advantageous for model deployment. Since CGM data is automatically captured, it can be easily fed into the prediction model without user intervention, reducing the burden on patients. In contrast, real-world carbohydrate data is difficult to measure accurately, and collecting this data incurs an additional burden on patients. Data from insulin pumps are automatically documented, but extracting and integrating insulin pump data also adds additional complexity to a decision support tool for forecasting glycemic events.</p></sec><sec id="s3-5-2"><title>Noise Tolerance</title><p>Another consideration of model deployment is the impact of measurement noise in CGM data. Different individuals&#x2019; CGM measurements often exhibit varying levels of noise, influenced by factors such as sensor calibration, activity level, and pressure on the sensor [<xref ref-type="bibr" rid="ref21">21</xref>,<xref ref-type="bibr" rid="ref25">25</xref>-<xref ref-type="bibr" rid="ref28">28</xref>]. We empirically assessed the performance degradation of our models under different levels of noise (5%, 10%, 15%, and 20%) to the CGM data at prediction time (<xref ref-type="fig" rid="figure3">Figure 3</xref> and Table S3 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>). In Figure 3, the left panel shows glycemic events during exercise, and the right panel represents glycemic events post exercise. The height and error bar of the bar plots represent the mean and SD of the AUROC. As expected, increased noise led to a reduction in model performance. However, the degradation was generally moderate, except for predicting hyperglycemia (blood glucose &#x2265;250 mg/dL) during exercise, where a decrease in AUROC of 0.216 was observed with 20% noise. For the other 7 out of the 8 glycemic events across different prediction horizons, the decreases in AUROC were small to moderate (&#x003C;0.12) even when up to 20% noise was added.</p><fig position="float" id="figure3"><label>Figure 3.</label><caption><p>Predictive Performance (area under the receiver operating characteristic curve) of Model using only continuous glucose monitoring features with different amounts of added noise in the continuous glucose monitoring features data. AUROC: area under the receiver operating characteristic curve; BG: blood glucose.</p></caption><graphic alt-version="no" mimetype="image" position="float" xlink:type="simple" xlink:href="diabetes_v10i1e68948_fig03.png"/></fig><p>We also examined whether models built with additional data modalities (beyond CGM) demonstrated greater resilience to added noise (Table S3 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>). We found no statistically significant difference in the AUROCs between the CGM-only models and those incorporating additional data modalities. This suggests that the CGM-only model has a similar level of noise tolerance compared to the more complex models using multiple data sources, further supporting the use of the CGM-only model in real-world settings due to its simplicity and robustness.</p></sec><sec id="s3-5-3"><title>Sensitivity, Specificity, and Calibration</title><p>Model sensitivity, specificity, and calibration are crucial factors for determining how and when a model should be applied in real-world settings. <xref ref-type="table" rid="table4">Table 4</xref> presents the sensitivity, specificity, and calibration results of the CGM-only model. Sensitivity and specificity are influenced by the threshold used to binarize the continuous model predictions. We report the mean and SD from the NCV outer loop for sensitivity and specificity using a threshold that maximized the J-index in the inner loop of the NCV. Generally, our models showed good sensitivity (&#x003E;0.76, except for hypoglycemia &#x2264;54 mg/dL) and high specificity (&#x003E;0.80 for all outcomes). In comparison with other studies, our models demonstrated similar or better sensitivity at equivalent specificity levels (Table S6 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>).</p><table-wrap id="t4" position="float"><label>Table 4.</label><caption><p>Sensitivity, specificity, and calibration results of the continuous glucose monitoring features&#x2013;only models.</p></caption><table id="table4" frame="hsides" rules="groups"><thead><tr><td align="left" valign="bottom" rowspan="2" colspan="3">Event type</td><td align="left" valign="bottom" rowspan="2">Sensitivity, mean (SD)</td><td align="left" valign="bottom" rowspan="2">Specificity, mean (SD)</td><td align="left" valign="bottom" colspan="2">Brier score, mean (SD)</td></tr><tr><td align="left" valign="bottom">Without recalibration</td><td align="left" valign="bottom">With recalibration</td></tr></thead><tbody><tr><td align="left" valign="top" colspan="7">During</td></tr><tr><td align="left" valign="top" colspan="7"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>Hypo</td></tr><tr><td align="left" valign="top" colspan="3"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>&#x2264;54</td><td align="left" valign="top">0.667 (0.193)</td><td align="left" valign="top">0.893 (0.065)</td><td align="left" valign="top">0.017 (0.008)</td><td align="left" valign="top">0.006 (0.003)</td></tr><tr><td align="left" valign="top" colspan="3"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>&#x2264;70</td><td align="left" valign="top">0.770 (0.014)</td><td align="left" valign="top">0.909 (0.011)</td><td align="left" valign="top">0.035 (0.009)</td><td align="left" valign="top">0.034 (0.010)</td></tr><tr><td align="left" valign="top" colspan="3"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>Hyper</td><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top"/></tr><tr><td align="left" valign="top" colspan="3"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>&#x2265;200</td><td align="left" valign="top">0.931 (0.005)</td><td align="left" valign="top">0.943 (0.039)</td><td align="left" valign="top">0.040 (0.034)</td><td align="left" valign="top">0.029 (0.006)</td></tr><tr><td align="left" valign="top" colspan="3"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>&#x2265;250</td><td align="left" valign="top">0.905 (0.022)</td><td align="left" valign="top">0.978 (0.003)</td><td align="left" valign="top">0.010 (0.000)</td><td align="left" valign="top">0.011 (0.004)</td></tr><tr><td align="left" valign="top" colspan="7">Post</td></tr><tr><td align="left" valign="top" colspan="7"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>Hypo</td></tr><tr><td align="left" valign="top" colspan="3"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>&#x2264;54</td><td align="left" valign="top">0.799 (0.047)</td><td align="left" valign="top">0.802 (0.016)</td><td align="left" valign="top">0.033 (0.005)</td><td align="left" valign="top">0.033 (0.011)</td></tr><tr><td align="left" valign="top" colspan="3"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>&#x2264;70</td><td align="left" valign="top">0.787 (0.018)</td><td align="left" valign="top">0.825 (0.012)</td><td align="left" valign="top">0.077 (0.001)</td><td align="left" valign="top">0.072 (0.014)</td></tr><tr><td align="left" valign="top" colspan="7"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>Hyper</td></tr><tr><td align="left" valign="top" colspan="3"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>&#x2265;200</td><td align="left" valign="top">0.762 (0.019)</td><td align="left" valign="top">0.867 (0.014)</td><td align="left" valign="top">0.075 (0.001)</td><td align="left" valign="top">0.080 (0.009)</td></tr><tr><td align="left" valign="top" colspan="3"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>&#x2265;250</td><td align="left" valign="top">0.790 (0.010)</td><td align="left" valign="top">0.899 (0.024)</td><td align="left" valign="top">0.028 (0.001)</td><td align="left" valign="top">0.023 (0.006)</td></tr></tbody></table></table-wrap><p>We also evaluated the Brier score for model calibration before and after applying different calibration methods (<xref ref-type="table" rid="table4">Table 4</xref>). The models achieved excellent calibration performance without additional calibration methods (Brier score &#x003C;0.1 for all models). Applying calibration techniques did not significantly improve calibration for any of the glycemic outcomes (adjusted <italic>P</italic>&#x003E;.05). <xref ref-type="table" rid="table4">Table 4</xref> shows the Brier scores before and after applying the isometric regression. Results using Platt and spline calibration methods are similar and reported in Table S7 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>.</p></sec></sec></sec><sec id="s4" sec-type="discussion"><title>Discussion</title><sec id="s4-1"><title>Principal Findings</title><p>This study has made several key contributions. First, we leveraged a large and comprehensive dataset capturing free-living exercise episodes of participants with T1DM and built high-quality predictive models for exercise-induced glycemic events. These models used data from multiple modalities, including patient demographics, clinical data, CGM data, carbohydrate and insulin intake, and exercise characteristics. The predictive performance of our models for all examined exercise-induced glycemic events was excellent, with mean AUROCs &#x003E;0.880 (SD 0.057). Second, we empirically assessed the information content of individual data modalities. Our results showed that the predictive performance of models using only CGM data was statistically indistinguishable from models incorporating variables from all data modalities. This suggests that a high-quality and cost-effective decision support tool can be built solely based on CGM data, resulting in cost savings. Third, we demonstrated the CGM-based models&#x2019; good calibration and robustness to noisy inputs, in addition to excellent predictive performance. Our CGM-based models have strong potential to be translated into a decision support tool that is easy to deploy and maintain, offering support for patients with T1DM.</p></sec><sec id="s4-2"><title>Comparison to Prior Work</title><p>This study is among the few that focus on predicting exercise-induced glycemic events for the adult T1DM population in nonlaboratory settings using a large sample size. Our models demonstrated similar performances for exercise-related glycemic events compared to previously reported studies [<xref ref-type="bibr" rid="ref12">12</xref>-<xref ref-type="bibr" rid="ref16">16</xref>] (Table S4 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>). We made additional contributions by building models for a larger variety of outcomes.</p></sec><sec id="s4-3"><title>Strength</title><p>A major strength of this study is that we assessed and refined the models for translating into decision support tools that are accurate, robust, and easy to deploy and maintain, while minimizing the burden on patients. To the best of our knowledge, this is the first study to examine multiple crucial aspects of model translation into decision support tools for managing exercise-related glycemic events in T1DM.</p></sec><sec id="s4-4"><title>Limitations</title><p>The first limitation relates to the dataset. We choose to derive our models based on the T1DEXI, since it is one of the largest and most comprehensive datasets available that studies glucose control peri-exercise in the real-world setting. Despite its comprehensiveness, the T1DEXI population is relatively young (median age 34, range 18-69, IQR 26-48 years) years and predominantly White, which may limit the generalizability of the models to the broader clinical T1DM population. Similarly, the exercise episodes in the T1DEXI were relatively uniform in duration and self-reported intensity, which may not reflect the full diversity of real-world exercise activities. The second limitation relates to the types of variables examined related to participants and exercise episodes. Although our findings suggest that CGM data alone contains similar predictive information compared to all 4 data modalities examined, including additional information, such as sleep data, more detailed dietary information, and physical activity data from accelerometers could enhance model performance and robustness. These data elements were either not available in T1DEXI or difficult to construct from available data due to lack of standardized methods. Third, while our models successfully flag exercise episodes that are more likely to result in glycemic events, they do not currently suggest specific interventions to mitigate these risks.</p></sec><sec id="s4-5"><title>Future Directions</title><p>To address the first 2 limitations mentioned previously, future work can validate models developed in this study and develop new models de novo based on data that is more comprehensive and from a more diverse population. To address the third limitation, computational causal modeling techniques [<xref ref-type="bibr" rid="ref29">29</xref>] can be applied to a dataset containing a wide range of potentially modifiable causal factors for glycemic events. This approach can uncover personalized intervention strategies to reduce glycemic events both in the acute period during and after exercise, as well as over a longer time horizon. Further, we empirically demonstrated that models using CGM data only have statistically indistinguishable performance compared to models using data from all modalities (<xref ref-type="fig" rid="figure2">Figure 2</xref>, Table S2 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>). This phenomenon is related to the Rashomon effect and target information equivalence, that is, there are often a multitude of models with optimal and near-optimal performance [<xref ref-type="bibr" rid="ref30">30</xref>,<xref ref-type="bibr" rid="ref31">31</xref>]. Future work can dissect and catalog the information-equivalent variables for glycemic events. This can potentially lead to both improved mechanistic understanding of glycemic events and their care [<xref ref-type="bibr" rid="ref30">30</xref>,<xref ref-type="bibr" rid="ref32">32</xref>-<xref ref-type="bibr" rid="ref34">34</xref>].</p></sec><sec id="s4-6"><title>Conclusion</title><p>We developed multiple predictive models for exercise-induced glycemic events, achieving excellent predictive performance. Notably, the models using automatically captured CGM data exhibited strong performance, are well-calibrated, are cost-effective, and are robust to noisy input data. These models can be translated into a high-performance and easy-to-deploy decision support tool. This study marks an important first step toward creating a practical decision support tool for managing exercise-induced glycemic events in patients with T1DM.</p></sec></sec></body><back><ack><p>This manuscript is based on research using data from the Type 1 Diabetes EXercise Initiative (T1DEXI) Study that has been made available through Vivli, Inc. Vivli has not contributed to or approved, and is not in any way responsible for, the contents of this publication.</p></ack><notes><sec><title>Data Availability</title><p>The data is available on the Vivli Platform Repository (ID: T1-DEXI; dataset name: Type 1 Diabetes EXercise Initiative (T1DEXI): The Effect of Exercise on Glycemic Control in Type 1 Diabetes Study. The data package can be requested at clinical research data repository [<xref ref-type="bibr" rid="ref35">35</xref>].</p></sec></notes><fn-group><fn fn-type="con"><p>SM, RC, LC, and MC contributed to conceptualization, writing&#x2013;original draft, and writing&#x2013;review &#x0026; editing. SM, RC, and LC performed data curation and visualization. RC handled formal analysis and validation. SM and RC designed the methodology and software. SM was involved in project administration. SM and LC provided supervision.</p></fn><fn fn-type="conflict"><p>MAC has received consulting fees from Glooko and research support from Dexcom and Abbott Diabetes Care. LC has an investigator initiated grant from DEXCOM for product only.</p></fn></fn-group><glossary><title>Abbreviations</title><def-list><def-item><term id="abb1">AUROC</term><def><p>area under the receiver operating characteristic curve</p></def></def-item><def-item><term id="abb2">CGM</term><def><p>continuous glucose monitoring</p></def></def-item><def-item><term id="abb3">GLL-PC</term><def><p>generalized local learning, parent children</p></def></def-item><def-item><term id="abb4">HbA<sub>1c</sub></term><def><p>glycated hemoglobin A<sub>1c</sub></p></def></def-item><def-item><term id="abb5">NCV</term><def><p>nested cross-validation</p></def></def-item><def-item><term id="abb6">T1DEXI</term><def><p>Type 1 Diabetes Exercise Initiative</p></def></def-item><def-item><term id="abb7">T1DM</term><def><p>type 1 diabetes mellitus</p></def></def-item></def-list></glossary><ref-list><title>References</title><ref id="ref1"><label>1</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Piercy</surname><given-names>KL</given-names> </name><name name-style="western"><surname>Troiano</surname><given-names>RP</given-names> </name><name name-style="western"><surname>Ballard</surname><given-names>RM</given-names> </name><etal/></person-group><article-title>The physical activity guidelines for Americans</article-title><source>JAMA</source><year>2018</year><month>11</month><day>20</day><volume>320</volume><issue>19</issue><fpage>2020</fpage><lpage>2028</lpage><pub-id pub-id-type="doi">10.1001/jama.2018.14854</pub-id><pub-id pub-id-type="medline">30418471</pub-id></nlm-citation></ref><ref id="ref2"><label>2</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Chow</surname><given-names>LS</given-names> </name><name name-style="western"><surname>Gerszten</surname><given-names>RE</given-names> </name><name name-style="western"><surname>Taylor</surname><given-names>JM</given-names> </name><etal/></person-group><article-title>Exerkines in health, resilience and disease</article-title><source>Nat Rev Endocrinol</source><year>2022</year><month>05</month><volume>18</volume><issue>5</issue><fpage>273</fpage><lpage>289</lpage><pub-id pub-id-type="doi">10.1038/s41574-022-00641-2</pub-id><pub-id pub-id-type="medline">35304603</pub-id></nlm-citation></ref><ref id="ref3"><label>3</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>McCarthy</surname><given-names>MM</given-names> </name><name name-style="western"><surname>Funk</surname><given-names>M</given-names> </name><name name-style="western"><surname>Grey</surname><given-names>M</given-names> </name></person-group><article-title>Cardiovascular health in adults with type 1 diabetes</article-title><source>Prev Med</source><year>2016</year><month>10</month><volume>91</volume><fpage>138</fpage><lpage>143</lpage><pub-id pub-id-type="doi">10.1016/j.ypmed.2016.08.019</pub-id><pub-id pub-id-type="medline">27527572</pub-id></nlm-citation></ref><ref id="ref4"><label>4</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Mallad</surname><given-names>A</given-names> </name><name name-style="western"><surname>Hinshaw</surname><given-names>L</given-names> </name><name name-style="western"><surname>Schiavon</surname><given-names>M</given-names> </name><etal/></person-group><article-title>Exercise effects on postprandial glucose metabolism in type 1 diabetes: a triple-tracer approach</article-title><source>Am J Physiol Endocrinol Metab</source><year>2015</year><month>06</month><day>15</day><volume>308</volume><issue>12</issue><fpage>E1106</fpage><lpage>E1115</lpage><pub-id pub-id-type="doi">10.1152/ajpendo.00014.2015</pub-id><pub-id pub-id-type="medline">25898950</pub-id></nlm-citation></ref><ref id="ref5"><label>5</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Brazeau</surname><given-names>AS</given-names> </name><name name-style="western"><surname>Mircescu</surname><given-names>H</given-names> </name><name name-style="western"><surname>Desjardins</surname><given-names>K</given-names> </name><etal/></person-group><article-title>Carbohydrate counting accuracy and blood glucose variability in adults with type 1 diabetes</article-title><source>Diabetes Res Clin Pract</source><year>2013</year><month>01</month><volume>99</volume><issue>1</issue><fpage>19</fpage><lpage>23</lpage><pub-id pub-id-type="doi">10.1016/j.diabres.2012.10.024</pub-id><pub-id pub-id-type="medline">23146371</pub-id></nlm-citation></ref><ref id="ref6"><label>6</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Ruissen</surname><given-names>MM</given-names> </name><name name-style="western"><surname>Regeer</surname><given-names>H</given-names> </name><name name-style="western"><surname>Landstra</surname><given-names>CP</given-names> </name><etal/></person-group><article-title>Increased stress, weight gain and less exercise in relation to glycemic control in people with type 1 and type 2 diabetes during the COVID-19 pandemic</article-title><source>BMJ Open Diabetes Res Care</source><year>2021</year><month>01</month><volume>9</volume><issue>1</issue><fpage>e002035</fpage><pub-id pub-id-type="doi">10.1136/bmjdrc-2020-002035</pub-id><pub-id pub-id-type="medline">33431602</pub-id></nlm-citation></ref><ref id="ref7"><label>7</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Mujahid</surname><given-names>O</given-names> </name><name name-style="western"><surname>Contreras</surname><given-names>I</given-names> </name><name name-style="western"><surname>Vehi</surname><given-names>J</given-names> </name></person-group><article-title>Machine learning techniques for hypoglycemia prediction: trends and challenges</article-title><source>Sensors (Basel)</source><year>2021</year><month>01</month><day>14</day><volume>21</volume><issue>2</issue><fpage>546</fpage><pub-id pub-id-type="doi">10.3390/s21020546</pub-id><pub-id pub-id-type="medline">33466659</pub-id></nlm-citation></ref><ref id="ref8"><label>8</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Kodama</surname><given-names>S</given-names> </name><name name-style="western"><surname>Fujihara</surname><given-names>K</given-names> </name><name name-style="western"><surname>Shiozaki</surname><given-names>H</given-names> </name><etal/></person-group><article-title>Ability of current machine learning algorithms to predict and detect hypoglycemia in patients with diabetes mellitus: meta-analysis</article-title><source>JMIR Diabetes</source><year>2021</year><month>01</month><day>29</day><volume>6</volume><issue>1</issue><fpage>e22458</fpage><pub-id pub-id-type="doi">10.2196/22458</pub-id><pub-id pub-id-type="medline">33512324</pub-id></nlm-citation></ref><ref id="ref9"><label>9</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Tsichlaki</surname><given-names>S</given-names> </name><name name-style="western"><surname>Koumakis</surname><given-names>L</given-names> </name><name name-style="western"><surname>Tsiknakis</surname><given-names>M</given-names> </name></person-group><article-title>Type 1 diabetes hypoglycemia prediction algorithms: systematic review</article-title><source>JMIR Diabetes</source><year>2022</year><month>07</month><day>21</day><volume>7</volume><issue>3</issue><fpage>e34699</fpage><pub-id pub-id-type="doi">10.2196/34699</pub-id><pub-id pub-id-type="medline">35862181</pub-id></nlm-citation></ref><ref id="ref10"><label>10</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Zhang</surname><given-names>L</given-names> </name><name name-style="western"><surname>Yang</surname><given-names>L</given-names> </name><name name-style="western"><surname>Zhou</surname><given-names>Z</given-names> </name></person-group><article-title>Data-based modeling for hypoglycemia prediction: importance, trends, and implications for clinical practice</article-title><source>Front Public Health</source><year>2023</year><volume>11</volume><fpage>1044059</fpage><pub-id pub-id-type="doi">10.3389/fpubh.2023.1044059</pub-id><pub-id pub-id-type="medline">36778566</pub-id></nlm-citation></ref><ref id="ref11"><label>11</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Hobbs</surname><given-names>N</given-names> </name><name name-style="western"><surname>Hajizadeh</surname><given-names>I</given-names> </name><name name-style="western"><surname>Rashid</surname><given-names>M</given-names> </name><name name-style="western"><surname>Turksoy</surname><given-names>K</given-names> </name><name name-style="western"><surname>Breton</surname><given-names>M</given-names> </name><name name-style="western"><surname>Cinar</surname><given-names>A</given-names> </name></person-group><article-title>Improving glucose prediction accuracy in physically active adolescents with type 1 diabetes</article-title><source>J Diabetes Sci Technol</source><year>2019</year><month>07</month><volume>13</volume><issue>4</issue><fpage>718</fpage><lpage>727</lpage><pub-id pub-id-type="doi">10.1177/1932296818820550</pub-id><pub-id pub-id-type="medline">30654648</pub-id></nlm-citation></ref><ref id="ref12"><label>12</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Tyler</surname><given-names>NS</given-names> </name><name name-style="western"><surname>Mosquera-Lopez</surname><given-names>C</given-names> </name><name name-style="western"><surname>Young</surname><given-names>GM</given-names> </name><name name-style="western"><surname>El Youssef</surname><given-names>J</given-names> </name><name name-style="western"><surname>Castle</surname><given-names>JR</given-names> </name><name name-style="western"><surname>Jacobs</surname><given-names>PG</given-names> </name></person-group><article-title>Quantifying the impact of physical activity on future glucose trends using machine learning</article-title><source>iScience</source><year>2022</year><month>03</month><day>18</day><volume>25</volume><issue>3</issue><fpage>103888</fpage><pub-id pub-id-type="doi">10.1016/j.isci.2022.103888</pub-id><pub-id pub-id-type="medline">35252806</pub-id></nlm-citation></ref><ref id="ref13"><label>13</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Reddy</surname><given-names>R</given-names> </name><name name-style="western"><surname>Resalat</surname><given-names>N</given-names> </name><name name-style="western"><surname>Wilson</surname><given-names>LM</given-names> </name><name name-style="western"><surname>Castle</surname><given-names>JR</given-names> </name><name name-style="western"><surname>El Youssef</surname><given-names>J</given-names> </name><name name-style="western"><surname>Jacobs</surname><given-names>PG</given-names> </name></person-group><article-title>Prediction of hypoglycemia during aerobic exercise in adults with type 1 diabetes</article-title><source>J Diabetes Sci Technol</source><year>2019</year><month>09</month><volume>13</volume><issue>5</issue><fpage>919</fpage><lpage>927</lpage><pub-id pub-id-type="doi">10.1177/1932296818823792</pub-id><pub-id pub-id-type="medline">30650997</pub-id></nlm-citation></ref><ref id="ref14"><label>14</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Mosquera-Lopez</surname><given-names>C</given-names> </name><name name-style="western"><surname>Ramsey</surname><given-names>KL</given-names> </name><name name-style="western"><surname>Roquemen-Echeverri</surname><given-names>V</given-names> </name><name name-style="western"><surname>Jacobs</surname><given-names>PG</given-names> </name></person-group><article-title>Modeling risk of hypoglycemia during and following physical activity in people with type 1 diabetes using explainable mixed-effects machine learning</article-title><source>Comput Biol Med</source><year>2023</year><month>03</month><volume>155</volume><fpage>106670</fpage><pub-id pub-id-type="doi">10.1016/j.compbiomed.2023.106670</pub-id><pub-id pub-id-type="medline">36803791</pub-id></nlm-citation></ref><ref id="ref15"><label>15</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Bergford</surname><given-names>S</given-names> </name><name name-style="western"><surname>Riddell</surname><given-names>MC</given-names> </name><name name-style="western"><surname>Gal</surname><given-names>RL</given-names> </name><etal/></person-group><article-title>Predicting hypoglycemia and hyperglycemia risk during and after activity for adolescents with type 1 diabetes</article-title><source>Diabetes Technol Ther</source><year>2024</year><month>10</month><volume>26</volume><issue>10</issue><fpage>728</fpage><lpage>738</lpage><pub-id pub-id-type="doi">10.1089/dia.2024.0061</pub-id><pub-id pub-id-type="medline">38669475</pub-id></nlm-citation></ref><ref id="ref16"><label>16</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Bergford</surname><given-names>S</given-names> </name><name name-style="western"><surname>Riddell</surname><given-names>MC</given-names> </name><name name-style="western"><surname>Jacobs</surname><given-names>PG</given-names> </name><etal/></person-group><article-title>The type 1 diabetes and exercise initiative: predicting hypoglycemia risk during exercise for participants with type 1 diabetes using repeated measures random forest</article-title><source>Diabetes Technol Ther</source><year>2023</year><month>09</month><volume>25</volume><issue>9</issue><fpage>602</fpage><lpage>611</lpage><pub-id pub-id-type="doi">10.1089/dia.2023.0140</pub-id><pub-id pub-id-type="medline">37294539</pub-id></nlm-citation></ref><ref id="ref17"><label>17</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Riddell</surname><given-names>MC</given-names> </name><name name-style="western"><surname>Li</surname><given-names>Z</given-names> </name><name name-style="western"><surname>Gal</surname><given-names>RL</given-names> </name><etal/></person-group><article-title>Examining the acute glycemic effects of different types of structured exercise sessions in type 1 diabetes in a real-world setting: the Type 1 Diabetes and Exercise Initiative (T1DEXI)</article-title><source>Diabetes Care</source><year>2023</year><month>04</month><day>1</day><volume>46</volume><issue>4</issue><fpage>704</fpage><lpage>713</lpage><pub-id pub-id-type="doi">10.2337/dc22-1721</pub-id><pub-id pub-id-type="medline">36795053</pub-id></nlm-citation></ref><ref id="ref18"><label>18</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Guyon</surname><given-names>I</given-names> </name><name name-style="western"><surname>Weston</surname><given-names>J</given-names> </name><name name-style="western"><surname>Barnhill</surname><given-names>S</given-names> </name><name name-style="western"><surname>Vapnik</surname><given-names>V</given-names> </name></person-group><article-title>Gene selection for cancer classification using support vector machines</article-title><source>Mach Learn</source><year>2002</year><month>01</month><volume>46</volume><issue>1-3</issue><fpage>389</fpage><lpage>422</lpage><pub-id pub-id-type="doi">10.1023/A:1012487302797</pub-id></nlm-citation></ref><ref id="ref19"><label>19</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Aliferis</surname><given-names>CF</given-names> </name><name name-style="western"><surname>Statnikov</surname><given-names>A</given-names> </name><name name-style="western"><surname>Tsamardinos</surname><given-names>I</given-names> </name><name name-style="western"><surname>Mani</surname><given-names>S</given-names> </name><name name-style="western"><surname>Koutsoukos</surname><given-names>XD</given-names> </name></person-group><article-title>Local causal and Markov blanket induction for causal discovery and feature selection for classification part I: algorithms and empirical evaluation</article-title><source>J Mach Learn Res</source><year>2010</year><access-date>2025-10-06</access-date><volume>11</volume><issue>7</issue><fpage>171</fpage><lpage>234</lpage><comment><ext-link ext-link-type="uri" xlink:href="https://www.jmlr.org/papers/v11/aliferis10a.html">https://www.jmlr.org/papers/v11/aliferis10a.html</ext-link></comment></nlm-citation></ref><ref id="ref20"><label>20</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Aliferis</surname><given-names>CF</given-names> </name><name name-style="western"><surname>Statnikov</surname><given-names>A</given-names> </name><name name-style="western"><surname>Tsamardinos</surname><given-names>I</given-names> </name><name name-style="western"><surname>Mani</surname><given-names>S</given-names> </name><name name-style="western"><surname>Koutsoukos</surname><given-names>XD</given-names> </name></person-group><article-title>Local causal and Markov blanket induction for causal discovery and feature selection for classification part II: analysis and extensions</article-title><source>J Mach Learn Res</source><year>2010</year><month>03</month><volume>11</volume><fpage>235</fpage><lpage>284</lpage><pub-id pub-id-type="doi">10.5555/1756006.1756014</pub-id></nlm-citation></ref><ref id="ref21"><label>21</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Skroce</surname><given-names>K</given-names> </name><name name-style="western"><surname>Turner</surname><given-names>LV</given-names> </name><name name-style="western"><surname>Fontana</surname><given-names>FY</given-names> </name><etal/></person-group><article-title>Assessing the accuracy of a continuous glucose monitoring system across varying exercise intensities and blood lactate concentrations in healthy male athletes</article-title><source>J Diabetes Sci Technol</source><year>2025</year><month>01</month><volume>19</volume><issue>1</issue><fpage>274</fpage><lpage>276</lpage><pub-id pub-id-type="doi">10.1177/19322968241292363</pub-id><pub-id pub-id-type="medline">39494612</pub-id></nlm-citation></ref><ref id="ref22"><label>22</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Van Calster</surname><given-names>B</given-names> </name><name name-style="western"><surname>McLernon</surname><given-names>DJ</given-names> </name><name name-style="western"><surname>van Smeden</surname><given-names>M</given-names> </name><name name-style="western"><surname>Wynants</surname><given-names>L</given-names> </name><name name-style="western"><surname>Steyerberg</surname><given-names>EW</given-names> </name><collab>On behalf of Topic Group &#x2018;Evaluating diagnostic tests and prediction models&#x2019; of the STRATOS initiative</collab></person-group><article-title>Calibration: the Achilles heel of predictive analytics</article-title><source>BMC Med</source><year>2019</year><month>12</month><volume>17</volume><issue>1</issue><fpage>230</fpage><pub-id pub-id-type="doi">10.1186/s12916-019-1466-7</pub-id></nlm-citation></ref><ref id="ref23"><label>23</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Brier</surname><given-names>GW</given-names> </name></person-group><article-title>Verification of forecasts expressed in terms of probability</article-title><source>Mon Wea Rev</source><year>1950</year><month>01</month><volume>78</volume><issue>1</issue><fpage>1</fpage><lpage>3</lpage><pub-id pub-id-type="doi">10.1175/1520-0493(1950)078&#x003C;0001:VOFEIT&#x003E;2.0.CO;2</pub-id></nlm-citation></ref><ref id="ref24"><label>24</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Huang</surname><given-names>Y</given-names> </name><name name-style="western"><surname>Li</surname><given-names>W</given-names> </name><name name-style="western"><surname>Macheret</surname><given-names>F</given-names> </name><name name-style="western"><surname>Gabriel</surname><given-names>RA</given-names> </name><name name-style="western"><surname>Ohno-Machado</surname><given-names>L</given-names> </name></person-group><article-title>A tutorial on calibration measurements and calibration models for clinical prediction models</article-title><source>J Am Med Inform Assoc</source><year>2020</year><month>04</month><day>1</day><volume>27</volume><issue>4</issue><fpage>621</fpage><lpage>633</lpage><pub-id pub-id-type="doi">10.1093/jamia/ocz228</pub-id><pub-id pub-id-type="medline">32106284</pub-id></nlm-citation></ref><ref id="ref25"><label>25</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Akintola</surname><given-names>AA</given-names> </name><name name-style="western"><surname>Noordam</surname><given-names>R</given-names> </name><name name-style="western"><surname>Jansen</surname><given-names>SW</given-names> </name><etal/></person-group><article-title>Accuracy of continuous glucose monitoring measurements in normo-glycemic individuals</article-title><source>PLOS ONE</source><year>2015</year><volume>10</volume><issue>10</issue><fpage>e0139973</fpage><pub-id pub-id-type="doi">10.1371/journal.pone.0139973</pub-id><pub-id pub-id-type="medline">26445499</pub-id></nlm-citation></ref><ref id="ref26"><label>26</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Facchinetti</surname><given-names>A</given-names> </name></person-group><article-title>Continuous glucose monitoring sensors: past, present and future algorithmic challenges</article-title><source>Sensors (Basel)</source><year>2016</year><month>12</month><day>9</day><volume>16</volume><issue>12</issue><fpage>2093</fpage><pub-id pub-id-type="doi">10.3390/s16122093</pub-id><pub-id pub-id-type="medline">27941663</pub-id></nlm-citation></ref><ref id="ref27"><label>27</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Facchinetti</surname><given-names>A</given-names> </name><name name-style="western"><surname>Sparacino</surname><given-names>G</given-names> </name><name name-style="western"><surname>Cobelli</surname><given-names>C</given-names> </name></person-group><article-title>Online denoising method to handle intraindividual variability of signal-to-noise ratio in continuous glucose monitoring</article-title><source>IEEE Trans Biomed Eng</source><year>2011</year><month>09</month><volume>58</volume><issue>9</issue><fpage>2664</fpage><lpage>2671</lpage><pub-id pub-id-type="doi">10.1109/TBME.2011.2161083</pub-id><pub-id pub-id-type="medline">21724499</pub-id></nlm-citation></ref><ref id="ref28"><label>28</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Sparacino</surname><given-names>G</given-names> </name><name name-style="western"><surname>Facchinetti</surname><given-names>A</given-names> </name><name name-style="western"><surname>Cobelli</surname><given-names>C</given-names> </name></person-group><article-title>&#x201C;Smart&#x201D; continuous glucose monitoring sensors: on-line signal processing issues</article-title><source>Sensors (Basel)</source><year>2010</year><volume>10</volume><issue>7</issue><fpage>6751</fpage><lpage>6772</lpage><pub-id pub-id-type="doi">10.3390/s100706751</pub-id><pub-id pub-id-type="medline">22163574</pub-id></nlm-citation></ref><ref id="ref29"><label>29</label><nlm-citation citation-type="book"><person-group person-group-type="author"><name name-style="western"><surname>Pearl</surname><given-names>J</given-names> </name></person-group><source>Causality</source><year>2009</year><publisher-name>Cambridge University Press</publisher-name><pub-id pub-id-type="other">978-0-521-89560-6</pub-id></nlm-citation></ref><ref id="ref30"><label>30</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Statnikov</surname><given-names>A</given-names> </name><name name-style="western"><surname>Lytkin</surname><given-names>NI</given-names> </name><name name-style="western"><surname>Lemeire</surname><given-names>J</given-names> </name><name name-style="western"><surname>Aliferis</surname><given-names>CF</given-names> </name></person-group><article-title>Algorithms for discovery of multiple Markov boundaries</article-title><source>J Mach Learn Res</source><year>2013</year><month>02</month><volume>14</volume><fpage>499</fpage><lpage>566</lpage><pub-id pub-id-type="doi">10.5555/2567709.2502597</pub-id><pub-id pub-id-type="medline">25285052</pub-id></nlm-citation></ref><ref id="ref31"><label>31</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Breiman</surname><given-names>L</given-names> </name></person-group><article-title>Statistical modeling: the two cultures (with comments and a rejoinder by the author)</article-title><source>Statist Sci</source><year>2001</year><volume>16</volume><issue>3</issue><fpage>199</fpage><lpage>231</lpage><pub-id pub-id-type="doi">10.1214/ss/1009213726</pub-id></nlm-citation></ref><ref id="ref32"><label>32</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Ma</surname><given-names>S</given-names> </name><name name-style="western"><surname>Schreiner</surname><given-names>PJ</given-names> </name><name name-style="western"><surname>Seaquist</surname><given-names>ER</given-names> </name><name name-style="western"><surname>Ugurbil</surname><given-names>M</given-names> </name><name name-style="western"><surname>Zmora</surname><given-names>R</given-names> </name><name name-style="western"><surname>Chow</surname><given-names>LS</given-names> </name></person-group><article-title>Multiple predictively equivalent risk models for handling missing data at time of prediction: with an application in severe hypoglycemia risk prediction for type 2 diabetes</article-title><source>J Biomed Inform</source><year>2020</year><month>03</month><volume>103</volume><pub-id pub-id-type="doi">10.1016/j.jbi.2020.103379</pub-id><pub-id pub-id-type="medline">32001388</pub-id></nlm-citation></ref><ref id="ref33"><label>33</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Statnikov</surname><given-names>A</given-names> </name><name name-style="western"><surname>Aliferis</surname><given-names>CF</given-names> </name></person-group><article-title>Analysis and computational dissection of molecular signature multiplicity</article-title><source>PLOS Comput Biol</source><year>2010</year><month>05</month><day>20</day><volume>6</volume><issue>5</issue><fpage>e1000790</fpage><pub-id pub-id-type="doi">10.1371/journal.pcbi.1000790</pub-id><pub-id pub-id-type="medline">20502670</pub-id></nlm-citation></ref><ref id="ref34"><label>34</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Karstoft</surname><given-names>KI</given-names> </name><name name-style="western"><surname>Galatzer-Levy</surname><given-names>IR</given-names> </name><name name-style="western"><surname>Statnikov</surname><given-names>A</given-names> </name><name name-style="western"><surname>Li</surname><given-names>Z</given-names> </name><name name-style="western"><surname>Shalev</surname><given-names>AY</given-names> </name><collab>members of Jerusalem Trauma Outreach and Prevention Study (J-TOPS) group</collab></person-group><article-title>Bridging a translational gap: using machine learning to improve the prediction of PTSD</article-title><source>BMC Psychiatry</source><year>2015</year><month>03</month><day>16</day><volume>15</volume><issue>1</issue><fpage>30</fpage><pub-id pub-id-type="doi">10.1186/s12888-015-0399-8</pub-id><pub-id pub-id-type="medline">25886446</pub-id></nlm-citation></ref><ref id="ref35"><label>35</label><nlm-citation citation-type="web"><article-title>Type 1 diabetes exercise initiative (T1DEXI): the effect of exercise on glycemic control in type 1 diabetes study</article-title><source>Vivli</source><access-date>2025-09-02</access-date><comment><ext-link ext-link-type="uri" xlink:href="https://doi.org/https://doi.org/10.25934/PR00008428">https://doi.org/https://doi.org/10.25934/PR00008428</ext-link></comment></nlm-citation></ref></ref-list><app-group><supplementary-material id="app1"><label>Multimedia Appendix 1</label><p>Visualizations of data availability and results from additional experiments.</p><media xlink:href="diabetes_v10i1e68948_app1.docx" xlink:title="DOCX File, 174 KB"/></supplementary-material></app-group></back></article>