Prediction and Analysis of Blood Glucose Levels based on Tabnet

Authors

  • Huazhong Yang

DOI:

https://doi.org/10.54691/sjt.v5i7.5288

Keywords:

Blood Glucose Level; Machine Learning; Tabnet; Attentional Mechanisms.

Abstract

Background: Blood glucose level prediction plays a significant role in the management of diabetes. Accurate prediction of blood glucose levels helps patients and doctors to make informed decisions regarding diet, exercise, and medication. The use of machine learning algorithms for blood glucose prediction has gained attention in recent years. Tabnet is one such algorithm that has shown promising results in various prediction tasks. Aim: The aim of this study is to evaluate the performance of Tabnet for blood glucose level prediction and compare it with other commonly used algorithms, including LR, DT, SVM, RF, and EN. Methods: A dataset of blood glucose levels of diabetic patients was used for this study. The dataset was preprocessed, and features were selected using correlation-based feature selection. Tabnet and other algorithms were trained on the dataset using 5-fold cross-validation. The performance of each algorithm was evaluated using root mean squared error (RMSE) and mean squared error (MSE). Results: The experimental results showed that Tabnet performed the best in terms of RMSE and MSE, with values of 0.5097 and 0.2523, respectively. The LR algorithm had an RMSE of 0.5126 and an MSE of 0.2629, while the DT algorithm had an RMSE of 0.7543 and an MSE of 0.5689. The SVM algorithm had an RMSE of 0.5165 and an MSE of 0.2663, while the RF algorithm had an RMSE of 0.5188 and an MSE of 0.2691. The EN algorithm had an RMSE of 0.5547 and an MSE of 0.3077. Conclusion: In this study, Tabnet was found to be the best algorithm for blood glucose level prediction compared to other commonly used algorithms. The results demonstrate the potential of Tabnet for predicting blood glucose levels in diabetic patients, which can assist in effective diabetes management.

Downloads

Download data is not yet available.

References

Ali, Jaouher Ben, et al. "Continuous blood glucose level prediction of type 1 diabetes based on artificial neural network." Biocybernetics and Biomedical Engineering 38.4 (2018): 828-840.

Arik, Sercan Ö., and Tomas Pfister. "Tabnet: Attentive interpretable tabular learning." Proceedings of the AAAI Conference on Artificial Intelligence. Vol. 35. No. 8. 2021.

Shah, Chiranjibi, Qian Du, and Yan Xu. "Enhanced Tabnet: Attentive interpretable tabular learning for hyperspectral image classification." Remote Sensing 14.3 (2022): 716.

DECODE Study Group, and European Diabetes Epidemiology Group. "Glucose tolerance and cardiovascular mortality: comparison of fasting and 2-hour diagnostic criteria." Archives of internal medicine 161.3 (2001): 397-405.

He, Jinli, and Youqing Wang. "Blood glucose concentration prediction based on kernel canonical correlation analysis with particle swarm optimization and error compensation." Computer Methods and Programs in Biomedicine 196 (2020): 105574.

He, Jinli, and Youqing Wang. "Blood glucose concentration prediction based on kernel canonical correlation analysis with particle swarm optimization and error compensation." Computer Methods and Programs in Biomedicine 196 (2020): 105574.

Banerjee, Imon, et al. "Comparative effectiveness of convolutional neural network (CNN) and recurrent neural network (RNN) architectures for radiology text report classification." Artificial intelligence in medicine 97 (2019): 79-88.

Jaloli, Mehrad, and Marzia Cescon. "Long-term prediction of blood glucose levels in type 1 diabetes using a cnn-lstm-based deep neural network." Journal of Diabetes Science and Technology (2022): 19322968221092785.

Abdallah, Zahraa Said, Lan Du, and Geoffrey I. Webb. "Data Preparation." (2017): 318-327.

Liu, Yuehua, et al. "Missing value imputation for industrial IoT sensor data with large gaps." IEEE Internet of Things Journal 7.8 (2020): 6855-6867.

Liu, Xueyan, et al. "Normalization methods for the analysis of unbalanced transcriptome data: a review." Frontiers in bioengineering and biotechnology 7 (2019): 358.

Chicco, Davide, Matthijs J. Warrens, and Giuseppe Jurman. "The coefficient of determination R-squared is more informative than SMAPE, MAE, MAPE, MSE and RMSE in regression analysis evaluation." PeerJ Computer Science 7 (2021): e623.

Hodson, Timothy O. "Root-mean-square error (RMSE) or mean absolute error (MAE): when to use them or not." Geoscientific Model Development 15.14 (2022): 5481-5487.

Rath, Smita, Alakananda Tripathy, and Alok Ranjan Tripathy. "Prediction of new active cases of coronavirus disease (COVID-19) pandemic using multiple linear regression model." Diabetes & Metabolic Syndrome: Clinical Research & Reviews 14.5 (2020): 1467-1474.

Acharya, Mohan S., Asfia Armaan, and Aneeta S. Antony. "A comparison of regression models for prediction of graduate admissions." 2019 international conference on computational intelligence in data science (ICCIDS). IEEE, 2019.

Ghosh, Sourish, Anasuya Dasgupta, and Aleena Swetapadma. "A study on support vector machine based linear and non-linear pattern classification." 2019 International Conference on Intelligent Sustainable Systems (ICISS). IEEE, 2019.

Sun, Yuantian, et al. "Development of ensemble learning models to evaluate the strength of coal-grout materials." International Journal of Mining Science and Technology 31.2 (2021): 153-162.

Hayslep, Matthew, et al. "Understanding district metered area level leakage using explainable machine learning." IOP Conference Series: Earth and Environmental Science. Vol. 1136. No. 1. IOP Publishing, 2023.

Gavito, Andrea Treviño, Diego Klabjan, and Jean Utke. "Multi-Layer Attention-Based Explainability via Transformers for Tabular Data." arXiv preprint arXiv:2302.14278 (2023).

Wang, Qinglun, et al. "GTFD‐XTNet: A tabular learning‐based ensemble approach for short‐term prediction of photovoltaic power." IET Renewable Power Generation 16.12 (2022): 2682-2693.

Downloads

Published

2023-07-22

Issue

Section

Articles

How to Cite

Yang, H. (2023). Prediction and Analysis of Blood Glucose Levels based on Tabnet. Scientific Journal of Technology, 5(7), 45-54. https://doi.org/10.54691/sjt.v5i7.5288