Diabetes prediction using machine learning and explainable AI techniques
Isfafuzzaman Tasin1, Tansin Ullah Nabil1, Sanjida Islam1
1Electrical and Computer Engineering North South University Dhaka Bangladesh.
Healthcare Technology Letters
|April 20, 2023
Summary
Early diabetes prediction is crucial for preventing complications. This study developed an accurate machine learning system using XGBoost and ADASYN, achieving 81% accuracy, to predict diabetes risk in female patients.
Area of Science:
- Medical Informatics
- Machine Learning in Healthcare
- Public Health
Background:
- Diabetes Mellitus is a major global non-communicable disease affecting over 537 million people.
- Early prediction of diabetes is vital to mitigate severe health complications such as heart disease, kidney disease, and retinopathy.
- Risk factors include obesity, abnormal cholesterol, family history, inactivity, and poor diet, with increased urination as a common symptom.
Purpose of the Study:
- To develop an automated diabetes prediction system utilizing machine learning techniques.
- To evaluate the performance of various classification algorithms on a private dataset of female patients in Bangladesh.
- To enhance model generalizability and interpretability for practical application.
Main Methods:
- A hybrid dataset combining the Pima Indian diabetes dataset with new samples from 203 Bangladeshi female factory workers was used.
- Feature selection was performed using the mutual information algorithm.
- Class imbalance was addressed using SMOTE and ADASYN techniques.
- Multiple machine learning classifiers (Decision Tree, SVM, Random Forest, Logistic Regression, KNN) and ensemble methods were trained and tested.
- Extreme Gradient Boosting (XGBoost) with ADASYN was employed for prediction.
- Domain adaptation, LIME, and SHAP frameworks were implemented for model versatility and explainability.
Main Results:
- The XGBoost classifier combined with the ADASYN approach achieved the highest prediction accuracy of 81%.
- The model demonstrated strong performance with an F1 score of 0.81 and an Area Under the Curve (AUC) of 0.84.
- Explainable AI methods (LIME, SHAP) provided insights into the model's prediction mechanisms.
- A website and an Android application were developed for real-time diabetes prediction.
Conclusions:
- The developed machine learning system, particularly the XGBoost model with ADASYN, offers a highly accurate and explainable method for early diabetes prediction.
- The system's versatility is demonstrated through domain adaptation, suggesting potential for broader application.
- The creation of user-friendly interfaces (web and mobile) facilitates accessible diabetes risk assessment.
Keywords:
AdaBoostK‐nearest neighbourandroid Applicationdecision treediabetesrandom forestsupport vector machineMore Related Videos
Related Concept Videos
Diabetes Mellitus: Type 2 and Gestational
2.6K
Type 2 diabetes, characterized by insulin resistance, arises when the insulin receptors on cells lose responsiveness to insulin, diminishing the cell's capacity to take up glucose, resulting in elevated blood glucose levels. To receive a diagnosis of Type 2 diabetes, a series of blood glucose tests are necessary to assess whether the blood glucose falls within normal parameters. If the result is out of the normal range, a patient may be diagnosed as prediabetic or diabetic, depending on the...
2.6K
Diabetes Mellitus: Overview and Type I Subtype
2.8K
Diabetes mellitus is a chronic metabolic disorder characterized by high blood glucose levels due to inadequate insulin production, insulin resistance, or both. The condition affects millions worldwide and can significantly impact their health and quality of life.
Type 1 diabetes is an autoimmune disease in which the immune system mistakenly attacks and destroys the insulin-producing beta cells in the pancreas. As a result, the body is unable to produce sufficient insulin, and individuals with...
Type 1 diabetes is an autoimmune disease in which the immune system mistakenly attacks and destroys the insulin-producing beta cells in the pancreas. As a result, the body is unable to produce sufficient insulin, and individuals with...
2.8K
Pathophysiology of Diabetes
1.1K
Diabetes mellitus is a chronic metabolic disorder characterized by hyperglycemia. The four categories of diabetes are type 1 diabetes, type 2 diabetes, other specific types of diabetes, and gestational diabetes.
Type 1 diabetes is characterized by autoimmune-mediated destruction of pancreatic β cells, with environmental factors potentially triggering this process in genetically susceptible individuals. Despite many not having a family history, certain genes increase susceptibility,...
Type 1 diabetes is characterized by autoimmune-mediated destruction of pancreatic β cells, with environmental factors potentially triggering this process in genetically susceptible individuals. Despite many not having a family history, certain genes increase susceptibility,...
1.1K
Diabetes: Symptoms, Diagnosis, and Complications
614
For most patients, experiencing several weeks of polyuria, polydipsia, fatigue, and significant weight loss may indicate the presence of diabetes. Furthermore, adults displaying the phenotypic appearance of type 2 diabetes (particularly those who are obese and not initially insulin-requiring), may have islet cell autoantibodies, suggesting autoimmune-mediated β cell destruction and a diagnosis of latent autoimmune diabetes of adults (LADA). The categorization of glucose homeostasis is...
614
Steps in Outbreak Investigation
155
In the ever-evolving field of public health, statistical analysis serves as a cornerstone for understanding and managing disease outbreaks. By leveraging various statistical tools, health professionals can predict potential outbreaks, analyze ongoing situations, and devise effective responses to mitigate impact. For that to happen, there are a few possible stages of the analysis:
155
Issues And Trends In Healthcare Delivery System
5.7K
The issues and trends in healthcare delivery are constantly changing. The COVID-19 pandemic is one recent issue that wreaked havoc on healthcare systems, causing a shortage of healthcare workers, high demand for medicines and supplies, and increased medical expenditure due to a lack of insurance. Other issues include rising healthcare costs and care fragmentation.
Cost Containment
Payment for healthcare services has historically promoted adoption of costly and often unnecessary or inefficient...
Cost Containment
Payment for healthcare services has historically promoted adoption of costly and often unnecessary or inefficient...
5.7K


