Diabetes prediction based on discrete and continuous mean amplitude of glycemic excursions using machine learning

Lailis Syafaah, Setio Basuki, Fauzi Dwi Setiawan Sumadi, Amrul Faruq, Mauridhi Hery Purnomo


Chronic hyperglycemia and acute glucose fluctuations are the two main factors that trigger complications in diabetes mellitus (DM). Continuous and sustainable observation of these factors is significant to be done to reduce the potential of cardiovascular problems in the future by minimizing the occurrence of glycemic variability (GV). At present, observations on GV are based on the mean amplitude of glycemic excursion (MAGE), which is measured based on continuous blood glucose data from patients using particular devices. This study aims to calculate the value of MAGE based on discrete blood glucose observations from 43 volunteer patients to predict the diabetes status of patients. Experiments were carried out by calculating MAGE values from original discrete data and continuous data obtained using Spline Interpolation. This study utilizes the machine learning algorithm, especially k-Nearest Neighbor with dynamic time wrapping (DTW) to measure the distance between time series data. From the classification test, discrete data and continuous data from the interpolation results show precisely the same accuracy value that is equal to 92.85%. Furthermore, there are variations in the MAGE value for each patient where the diabetes class has the most significant difference, followed by the pre-diabetes class, and the typical class.



Chronic hyperglycemia; Diabetes mellitus; Glycemic variability; Machine learning; Mean amplitude of glycemic excursion (MAGE)

Full Text:


DOI: https://doi.org/10.11591/eei.v9i6.2387


  • There are currently no refbacks.

Bulletin of EEI Stats