cs.LGNov 1, 2026

Fuzzy-Enhanced Machine Learning Approach for Type 2 Diabetes Diagnosis

Authors: Azam Saffar, Mohsen Saffar

Organizations: Department of Biostatistics, Faculty of Medical Sciences, Tarbiat Modares University, Tehran, Iran · Department of Industrial Engineering, K. N. Toosi University of Technology, Tehran, Iran

Abstract

Accurate diabetes prediction is critical for early clinical intervention, yet existing machine-learning pipelines often fail due to class imbalance, noisy physiological measurements, and redundant or weakly informative features. To address these unresolved limitations, this study establishes a unified fuzzy-evolutionary-ensemble framework designed to uncover a more discriminative feature space for type 2 diabetes prediction. The workflow integrates selective fuzzification of nonlinear clinical variables, SMOTE-ENN-based balancing and noise filtering, and Bat-Algorithm-driven evolutionary feature selection prior to training a Random Forest classifier. Applied to the Pima Indians Diabetes Dataset, the framework compresses the expanded fuzzy-numerical space into an optimized 10-feature subset and yields substantial performance gains: 96.11% accuracy, 95.14% precision, 98.00% recall, and a 98.23% F1-score. Relative to a baseline Random Forest using all 16 features (74.45% accuracy; 59.86% F1), the system achieves more than a 1.6-fold improvement in F1-score while preserving over 99% stability in majority-class detection and surpassing earlier published 16-feature models impacted by imbalance and weak feature relevance. Collectively, these results demonstrate that the integrated pipeline produces an enhanced fuzzy-numerical representation space that improves diabetes risk stratification and provides a scalable, uncertainty-aware foundation for diagnostic modeling across broader clinical datasets.

Explore similar work

Oct 25, 2026

Enhancing Type 2 Diabetes Diagnosis with Evolutionary Algorithms and Machine Learning

Type 2 diabetes is a widespread chronic disease that requires early and accurate diagnosis to prevent serious complications. Traditional diagnostic methods often lack sufficient accuracy, which highlights the need for more reliable computational solutions. In this study, we propose a model that integrates the Random Forest classifier with the Bat Optimization Algorithm for simultaneous feature selection and hyperparameter tuning. The SMOTE-ENN method was first applied to the Pima Indians Diabetes Database to correct class imbalance and remove noisy or ambiguous samples, producing a more balanced and cleaner dataset. The optimized model trained on this refined dataset achieved 89% accuracy, 88% precision, 90% recall, and an F1-score of 89%, clearly outperforming the baseline Random Forest and other existing approaches. These results demonstrate the potential of combining evolutionary algorithms with ensemble learning to provide a practical and cost-effective tool for early detection of type 2 diabetes in clinical practice.
May 13, 2026

A Unified Three-Stage Machine Learning Framework for Diabetes Detection, Subtype Discrimination, and Cognitive-Metabolic Hypothesis Testing

Diabetes mellitus affects over 537 million adults worldwide and remains a major challenge in preventive healthcare. Existing machine-learning studies primarily formulate diabetes prediction as a binary classification problem, while subtype-oriented analysis and glycaemic-cognitive associations remain comparatively underexplored. We present a reproducible three-stage machine learning framework for diabetes detection, subtype-oriented clustering, and metabolic-cognitive association analysis. In Stage 1, five supervised classifiers together with a stacking ensemble are benchmarked on the NCSU Diabetes Dataset using stratified five-fold cross-validation and evaluation metrics including ROC-AUC, balanced accuracy, recall, and F1-score. SVM-RBF and Logistic Regression achieve the highest ROC-AUC (0.825±0.0260.825 \pm 0.026), while Random Forest achieves the highest accuracy (0.762±0.0300.762 \pm 0.030). SHAP explainability identifies Glucose, BMI, and Age as the dominant predictive biomarkers. In Stage 2, silhouette-validated K-Means clustering (k=2k=2, silhouette ≈0.116\approx 0.116) is applied to confirmed diabetic cases using Glucose, Insulin, and Age, recovering clinically plausible subtype-oriented partitions without requiring ground-truth subtype labels. In Stage 3, statistical analysis of the Ohio Longitudinal Cognitive Dataset (n=373n=373) reveals a significant positive association between glycaemic control and cognitive function (ρs=0.208ρ_s = 0.208, p=5.29×10−5p = 5.29 \times 10^{-5}), which survives Holm correction. The findings support the utility of statistically grounded and interpretable ML pipelines for reproducible diabetes analytics and subtype-aware exploratory analysis.
May 24, 2026

Explainable Retinal Imaging for Prediction of Multi-Organ Dysfunction in Type 2 Diabetes

Background: Type 2 diabetes mellitus (T2DM) is increasingly recognised as a systemic disease characterised by coordinated dysfunction across metabolic, renal, lipid, and inflammatory pathways. Existing clinical assessments often fail to capture this multi-dimensional burden. Methods: We conducted a retrospective study of 1,195 patients using routinely collected laboratory biomarkers. System-level abnormality indices were constructed to quantify organ-specific dysfunction, and multi-system involvement was defined as abnormalities in two or more systems. Supervised machine learning models, including logistic regression, random forest, and gradient boosting, were trained to predict multi-system dysregulation. Model interpretability was achieved using SHapley Additive exPlanations (SHAP). Results: The gradient boosting model demonstrated near-perfect discrimination (AUC = 1.000), significantly outperforming logistic regression (AUC = 0.925). Feature attribution analysis revealed that hyperglycaemia, renal impairment, dyslipidaemia, and inflammation were the dominant drivers of multi-system risk. Dose-response relationships observed in partial dependence analyses further supported the biological plausibility of model predictions. Conclusion: This study presents an interpretable, data-driven framework for quantifying systemic disease burden in T2DM. By linking routine biomarkers to multi-organ dysfunction, our approach provides both predictive accuracy and mechanistic insight, offering potential for improved risk stratification and precision medicine in diabetes care. The data and code used in this study are openly available on GitHub at: https://github.com/MiniHanWang/Type-2-Diabetes-1.git