cs.LGSep 26, 2026

Using Machine Learning to Investigate Predictors of Fasting Blood Glucose: Insights into Circadian Timing and Age Interactions

Authors: Viktoriya Bu-Dager, Silvia Cirstea

Organizations: School of Computing and Information Science, Anglia Ruskin University East Road, Cambridge CB1 1PT, U.K.

Abstract

Impaired glucose regulation is a major contributor to metabolic dysfunction and type 2 diabetes. This study developed an interpretable machine-learning framework to predict log-transformed fasting blood glucose using metabolic, hormonal, lifestyle, demographic, nutritional, and circadian variables from the National Health and Nutrition Examination Survey 2017--2020 pre-pandemic dataset. After merging multiple NHANES sub-datasets, data processing used a leakage-resistant pipeline in which imputation, scaling, and one-hot encoding were performed only after dataset splitting and within training folds. Elastic Net, LASSO, and XGBoost models were evaluated using 94 candidate predictors and engineered circadian interaction terms. Performance was assessed using mean absolute error, root mean squared error, coefficient of determination, calibration, and Shapley Additive Explanations. The final interaction-augmented XGBoost model achieved strong performance on the independent test set, with a mean absolute error of 0.0804, a root mean squared error of 0.1148, and a coefficient of determination of 0.7761, using 10 predictors. Glycohemoglobin was the dominant predictor, followed by insulin, diabetes diagnosis, gamma-glutamyl transferase, age, race, and gender. Among the engineered interaction terms, sleep midpoint multiplied by age was consistently retained in repeated random-split analyses, although its contribution remained modest relative to dominant glycaemic predictors. These findings support further investigation of circadian-age interactions in metabolic health.

Figures & tables

Appendix figures & tables11 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Beyond the Blood Draw: Explainable Machine Learning for Non-Invasive Dysglycemia Risk Screening

    Jun 14, 2026Black Sun, Chenyi Zhang, Kaiyi Ji +1Clinical Risk Prediction

  2. From Prediction to Practice: A Task-Aware Evaluation Framework for Blood Glucose Forecasting

    May 1, 2026Alireza Namazi, Heman ShakeriHealthcareClinical Decision Support

  3. GlucoFM-Bench: Benchmarking Time-Series Foundation Models for Blood Glucose Forecasting

    Jun 5, 2026Baiying Lu, Zhaohui Liang, Ryan Pontius +2Zero-Shot Time Series ForecastingTime Series Forecasting