Mobile Software Development Kit for Real Time Multivariate Blood Glucose Prediction

In the field of blood glucose prediction, the literature is abounded with algorithms that demonstrate potential in glucose management. However, these propositions face an issue common to many machine learning algorithms: the repeated reuse of datasets (overfitting) and a tendency to develop algorithms in isolation, detached from practical scenarios. Compounding these challenges is that many insulin pump vendors and continuous glucose monitor vendors use closed and proprietary protocols, restricting researchers’ data access and the ability to deploy complex, multivariate optimizers. This study seeks to bridge the gap between theoretical algorithms and their real-world applications by devising a software development kit. This kit collects real-time data from continuous glucose monitors, carbohydrate intake, insulin deliveries from insulin management systems, and metrics like physical activity, stress, and sleep from wearables. Our methodology leverages the open-source insulin management system, Loop, integrated with Apple Health and various wearable devices. Although navigating through diverse communication protocols to link these devices presented challenges, we succeeded in aggregating a comprehensive dataset for blood glucose predictions. To underscore the utility of our software development kit, we executed a technical proof-of-concept on this platform, illustrating real-time, individualized, data-driven multivariate blood glucose predictions. We hope that our platform can contribute to transforming machine learning algorithms from technical developments into actionable tools with real-world benefits in blood glucose management. It provides a foundation for researchers to refine their predictive algorithms and decision support systems within a more dynamic, data-rich environment.

View this article on IEEE Xplore