A Lifestyle-Based Fuzzy-Enhanced ANN Model for Early Prediction of Type 2 Diabetes and Personalized Management in the North Indian Population
Abstract
1. Introduction
- Identification of lifestyle indicators: We identified, refined, and collected lifestyle parameters (e.g., thirst, urination frequency, fatigue, smoking, drinking, anthropometrics, and family history) in consultation with endocrinologists, diabetologists, and nutritionists to ensure clinical relevance and real-world applicability.
- Exploratory data analysis: Extensive exploratory data analysis (EDA) was performed, including duplicate detection, missing value assessment, outlier analysis (IQR method), and statistical significance testing (Cramer’s V + chi-square). No missing or corrupted data were found, ensuring a high-quality dataset for model development.
- Development of ANN–fuzzy model: We developed a deep ANN architecture (three hidden layers) enhanced with a spline-based fuzzy membership function for calibrating outputs and subdividing non-diabetic classes into low-risk (A), moderate-risk (B), and high-risk (C) groups. This hybrid ANN–fuzzy model provides interpretable and robust multi-class prediction for T2DM.
- Personalized recommender system: A rule-driven and cost-aware recommender system was designed to generate individualized diet plans and physical activity charts based on risk category, symptom intensity, and expert dietary guidance. Web-scraped nutritional and pricing data were incorporated to ensure affordability.
- Knowledge-based interface: A web-based interface was built to deliver predictions, risk explanations, and personalized recommendations to end users. This interface supports early monitoring, promotes self-management, and enhances doctor–patient engagement.
2. Literature Review
3. Methodology Adopted
3.1. Data Selection and Collection
3.2. Parameter Information
3.3. Exploratory Data Analysis
3.3.1. Descriptive Statistics of Parameters
3.3.2. Age-Wise Distribution
3.3.3. Data Preprocessing
3.4. Diet Plans and Physical Exercise Charts
3.5. Artificial Neural Network
3.6. ANN Architecture and Topology
3.6.1. Fuzzy Membership Function
3.6.2. Fuzzy Logic-Based Probability Calibration
| Algorithm 1: Spline-Based Multi-class Calibration |
| Input:
: predicted probability matrix from the ANN. : true class labels encoded as integers Output: A calibrated multiclass mapping , where denotes the -dimensional probability simplex 1. For each class : 1.1 Extract the raw predicted probabilities: 1.2 Construct the one-vs-all indicator vector: for each sample 1.3 Sort probabilities for monotonic spline fitting: • Sort in ascending order • Record using the same sorted indices 1.4 Fit a monotonic cubic regression spline: where SplineFit denotes a monotonic cubic spline fitted under isotonic (non-decreasing) constraints, ensuring smoothness and proper probability behaviour. 2. For : Compute the calibrated score for class : This normalization ensures that and that the final calibrated vector lies in the m-dimensional probability simplex |
3.6.3. ANN Training and Testing Configuration
4. Experiment, Results, and Discussion
4.1. Performance Evaluation of the Fuzzy-Based ANN Model
- Class A (0.0–0.3): Low-risk;
- Class B (0.4–0.6): Moderate-risk;
- Class C (0.7–0.9): High-risk;
- Class D (1.0): Confirmed diabetic.
| S. No | Age | Urination | Thirst | Weight | Height | Fatigue | Outcome | Fuzzified Value | Class |
|---|---|---|---|---|---|---|---|---|---|
| 1 | 0.340312 | 0.189349 | 0.09184 | 0.53635 | 0.245802 | 0.65691 | 0 | 0.100281 | A [0.0–0.3] |
| 2 | 0.617188 | 0.704142 | 0.17346 | 0.48773 | 0.539559 | 0.65691 | 0 | 0.749944 | C [0.7–0.9] |
| 3 | 0.572187 | 0.573964 | 0.16327 | 0.64762 | 0.371089 | 0.92228 | 0 | 0.570111 | B [0.4–0.6] |
| 4 | 0.772187 | 0.704142 | 0.2551 | 0.68785 | 0.723598 | 0.65691 | 1 | 1 | D [1.0] |
| 5 | 0.659688 | 0.573964 | 0.2551 | 0.60494 | 0.157675 | 0.92228 | 0 | 0.854766 | C [0.7–0.9] |
| 6 | 0.89875 | 0.704142 | 0.9898 | 0.37342 | 0.686438 | 0.65691 | 1 | 1 | D [1.0] |
| 7 | 0.327654 | 0.189349 | 0.09528 | 0.48773 | 0.09892 | 0.92228 | 0 | 0.000541 | A [0.0–0.3] |
| 8 | 0.834687 | 0.893491 | 0.97184 | 0.37342 | 0.136083 | 0.92228 | 1 | 1 | D [1.0] |
| 9 | 0.524687 | 0.704142 | 0.36735 | 0.46365 | 0.157675 | 0.65691 | 0 | 0.458965 | B [0.4–0.6] |
| 10 | 0.89875 | 0.704142 | 0.9898 | 0.72565 | 0.010796 | 0.92228 | 1 | 1 | D [1.0] |
| 11 | 0.360243 | 0.199675 | 0.09379 | 0.64765 | 0.245802 | 0.65691 | 0 | 0.100345 | A [0.0–0.3] |
| . | . | . | . | . | . | . | . | . | . |
| . | . | . | . | . | . | . | . | . | . |
| 1938 | 0.834687 | 0.893491 | 0.9898 | 0.37342 | 0.245802 | 0.92228 | 1 | 1 | D [1.0] |
| 1939 | 0.524687 | 0.704142 | 0.2551 | 0.46365 | 0.010796 | 0.92228 | 0 | 0.458965 | B [0.4–0.6] |
4.2. Recommender System for Economical Diet Plans and Physical Exercise Charts
4.2.1. Recommendation of Diet Plans
4.2.2. Data Sources
4.2.3. Architecture for Development of Economical Diet Packages
4.2.4. Recommendation of Physical Exercise Charts
4.3. Knowledge-Based Interface
4.4. Case Example
5. Conclusions and Future Scope
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Karamanou, M. Milestones in the history of diabetes mellitus: The main contributors. World J. Diabetes 2016, 7, 1–7. [Google Scholar] [CrossRef]
- Wu, Y.; Ding, Y.; Tanaka, Y.; Zhang, W. Risk factors contributing to type 2 diabetes and recent advances in the treatment and prevention. Int. J. Med. Sci. 2014, 11, 1185–1200. [Google Scholar] [CrossRef]
- Martinsson, J.; Schliep, A.; Eliasson, B.; Mogren, O. Blood Glucose Prediction with Variance Estimation Using Recurrent Neural Networks. J. Healthc. Inform. Res. 2020, 4, 1–18. [Google Scholar] [CrossRef] [PubMed]
- Sneha, N.; Gangil, T. Analysis of diabetes mellitus for early prediction using optimal features selection. J. Big Data 2019, 6, 13. [Google Scholar] [CrossRef]
- Zhu, T.; Kuang, L.; Li, K.; Zeng, J.; Herrero, P.; Georgiou, P. Blood Glucose Prediction in Type 1 Diabetes Using Deep Learning on the Edge. In Proceedings of the 2021 IEEE International Symposium on Circuits and Systems (ISCAS), Daegu, Korea, 22–28 May 2021; pp. 1–5. [Google Scholar] [CrossRef]
- Anand, A.; Shakti, D. Prediction of diabetes based on personal lifestyle indicators. In Proceedings of the 2015 1st International Conference on Next Generation Computing Technologies (NGCT), Dehradun, India, 4–5 September 2015; pp. 673–676. [Google Scholar] [CrossRef]
- Kaur, P.; Sharma, M. Analysis of Data Mining and Soft Computing Techniques in Prospecting Diabetes Disorder in Human Beings: A Review. Int. J. Pharm. Sci. Res. 2018, 9, 2700. [Google Scholar] [CrossRef]
- “million. Available online: https://diabetesatlas.org/resources/idf-diabetes-atlas-2025/ (accessed on 5 November 2025).
- Oliver, S.J. The role of traditional medicine practice in primary health care within Aboriginal Australia: A review of the literature. J. Ethnobiol. Ethnomed. 2013, 9, 46. [Google Scholar] [CrossRef]
- Nigussie, S.; Godana, A.; Birhanu, A.; Abdeta, T.; Demeke, F.; Lami, M.; Gemechu, K.; Eyeberu, A.; Bogale, K.; Dechasa, D.B.; et al. Practice of Traditional Medicine and Associated Factors Among Residents in Eastern Ethiopia: A Community-Based Cross-Sectional Study. Front. Public Health 2022, 10, 915722. [Google Scholar] [CrossRef]
- Kaur, J.; Khehra, B.S.; Singh, A. Significance of Fuzzy Logic in the Medical Science. In Computer Vision and Robotics; Bansal, J.C., Engelbrecht, A., Shukla, P.K., Eds.; Springer: Singapore, 2022; pp. 497–509. [Google Scholar]
- Brahma, B.; Bhuyan, H.K. Soft Computing and Machine Learning Techniques for e-Health Data Analytics. In Connected e-Health: Integrated IoT and Cloud Computing; Mishra, S., González-Briones, A., Bhoi, A.K., Mallick, P.K., Corchado, J.M., Eds.; Springer International Publishing: Cham, Switzerland, 2022; pp. 83–104. [Google Scholar] [CrossRef]
- Gowthami, S.; Venkata Siva Reddy, R.; Ahmed, M.R. Personalized diabetes diagnosis using machine learning and electronic health records. Int. J. Electr. Comput. Eng. 2024, 14, 4791–4801. [Google Scholar] [CrossRef]
- Guelmami, N.; Fekih-Romdhane, F.; Mechraoui, O.; Bragazzi, N.L. Injury Prevention, Optimized Training and Rehabilitation: How Is AI Reshaping the Field of Sports Medicine. New Asian J. Med. 2023, 1, 30–34. [Google Scholar] [CrossRef]
- Galaviz, K.I.; Narayan, K.M.V.; Lobelo, F.; Weber, M.B. Lifestyle and the Prevention of Type 2 Diabetes: A Status Report. Am. J. Lifestyle Med. 2018, 12, 4–20. [Google Scholar] [CrossRef]
- Mahboob Alam, T.; Iqbal, M.A.; Ali, Y.; Wahab, A.; Ijaz, S.; Baig, T.I.; Hussain, A.; Malik, M.A.; Raza, M.M.; Ibrar, S.; et al. A model for early prediction of diabetes. Inform. Med. Unlocked 2019, 16, 100204. [Google Scholar] [CrossRef]
- Ganie, S.M.; Reddy, B.B.; H.K.; Rege, M. An investigation of ensemble learning techniques for obesity risk prediction using lifestyle data. Decis. Anal. J. 2025, 14, 100539. [Google Scholar] [CrossRef]
- Sadiq, I.Z.; Katsayal, B.S.; Ibrahim, B.; Ibrahim, M.; Hassan, H.A.; Ghali, U.M.; Usman, A.G.; Usman, A.; Abba, S.I. Data-driven diabetes mellitus prediction and management: A comparative evaluation of decision tree classifier and artificial neural network models along with statistical analysis. Sci. Rep. 2025, 15, 19339. [Google Scholar] [CrossRef] [PubMed]
- Ganie, S.M.; Pramanik, P.K.D.; Malik, M.B.; Nayyar, A.; Kwak, K.S. An Improved Ensemble Learning Approach for Heart Disease Prediction Using Boosting Algorithms. Comput. Syst. Sci. Eng. 2023, 46, 3993–4006. [Google Scholar] [CrossRef]
- Ganie, S.M.; Malik, M.B.; Arif, T. Early prediction of diabetes mellitus using various artificial intelligence techniques: A technological review. Int. J. Bus. Intell. Syst. Eng. 2022, 1, 325–346. [Google Scholar] [CrossRef]
- Bala Manoj Kumar, P.; Srinivasa Perumal, R.; Nadesh, R.K.; Arivuselvan, K. Type 2: Diabetes mellitus prediction using Deep Neural Networks classifier. Int. J. Cogn. Comput. Eng. 2020, 1, 55–61. [Google Scholar] [CrossRef]
- Rahman, M.; Islam, D.; Mukti, R.J.; Saha, I. A deep learning approach based on convolutional LSTM for detecting diabetes. Comput. Biol. Chem. 2020, 88, 107329. [Google Scholar] [CrossRef]
- Kannadasan, K.; Edla, D.R.; Kuppili, V. Type 2 diabetes data classification using stacked autoencoders in deep neural networks. Clin. Epidemiol. Glob. Health 2019, 7, 530–535. [Google Scholar] [CrossRef]
- Dahiwade, D.; Patle, G.; Meshram, E. Designing Disease Prediction Model Using Machine Learning Approach. In Proceedings of the 2019 3rd International Conference on Computing Methodologies and Communication (ICCMC), Erode, India; pp. 1211–1215. [CrossRef]
- Huang, L.; Lu, C. Intelligent Diagnosis of Diabetes based on Information Gain and Deep Neural Network. In Proceedings of the 2018 5th IEEE International Conference on Cloud Computing and Intelligence Systems (CCIS), Nanjing, China; pp. 493–496. [CrossRef]
- Joshi, S.; Borse, M. Detection and Prediction of Diabetes Mellitus Using Back-Propagation Neural Network. In Proceedings of the 2016 International Conference on Micro-Electronics and Telecommunication Engineering (ICMETE), Ghaziabad, India; pp. 110–113. [CrossRef]
- Saji, S.A.; Balachandran, K. Performance analysis of training algorithms of multilayer perceptrons in diabetes prediction. In Proceedings of the 2015 International Conference on Advances in Computer Engineering and Applications, Ghaziabad, India; pp. 201–206. [CrossRef]
- Nguyen, C.T.; Pham, N.M.; Tran, D.V.; Lee, A.H.; Binns, C.W. Lifestyle and diet in relation to risk of type 2 diabetes in Vietnam: A hospital-based case–control study. Springerplus 2016, 5, 687. [Google Scholar] [CrossRef]
- Balducci, S.; Sacchetti, M.; Haxhi, J.; Orlando, G.; D’Errico, V.; Fallucca, S.; Menini, S.; Pugliese, G. Physical exercise as therapy for type 2 diabetes mellitus. Diabetes Metab. Res. Rev. 2014, 30, 13–23. [Google Scholar] [CrossRef]
- Alian, S.; Li, J.; Pandey, V. A Personalized Recommendation System to Support Diabetes Self-Management for American Indians. IEEE Access 2018, 6, 73041–73051. [Google Scholar] [CrossRef]
- Aklima, A.; Kritpracha, C.; Thaniwattananon, P. Dietary Behaviors Among Patients with Type 2 Diabetes Mellitus in Indonesia. Nurse Media 2013, 3, 499–509. [Google Scholar]
- Karami, A.; Dahl, A.A.; Turner-McGrievy, G.; Kharrazi, H.; Shaw, G. Characterizing diabetes, diet, exercise, and obesity comments on Twitter. Int. J. Inf. Manag. 2018, 38, 1–6. [Google Scholar] [CrossRef]
- Mohammed, H.A.; Hagras, H. Towards Developing Type 2 Fuzzy Logic Diet Recommendation System for Diabetes. In Proceedings of the 2018 10th Computer Science and Electronic Engineering (CEEC), Colchester, UK; pp. 56–59. [CrossRef]
- Sharawat, K.; Dubey, S.K. Diet Recommendation for Diabetic Patients Using MCDM Approach. In Intelligent Communication, Control and Devices; Singh, R., Choudhury, S., Gehlot, A., Eds.; Springer: Singapore, 2018; pp. 239–246. [Google Scholar]
- Komorowski, M.; Marshall, D.C.; Salciccioli, J.D.; Crutain, Y. Exploratory Data Analysis. In Secondary Analysis of Electronic Health Records; MIT Critical Data, Ed.; Springer International Publishing: Cham, Switzerland, 2016; pp. 185–203. [Google Scholar] [CrossRef]
- Gonzales Zelaya, C.V. Towards Explaining the Effects of Data Preprocessing on Machine Learning. In Proceedings of the 2019 IEEE 35th International Conference on Data Engineering (ICDE), Macao, China; pp. 2086–2090. [CrossRef]
- Agapito, G.; Simeoni, M.; Calabrese, B.; Caré, I.; Lamprinoudi, T.; Guzzi, P.H.; Pujia, A.; Fuiano, G.; Cannataro, M. DIETOS: A dietary recommender system for chronic diseases monitoring and management. Comput. Methods Programs Biomed. 2018, 153, 93–104. [Google Scholar] [CrossRef]
- Ganie, S.M.; Malik, M.B.; Arif, T. Performance analysis and prediction of type 2 diabetes mellitus based on lifestyle data using machine learning approaches. J. Diabetes Metab. Disord. 2022, 21, 339–352. [Google Scholar] [CrossRef]
- Nelson, K.M.; Reiber, G.; Boyko, E.J. Diet and Exercise Among Adults With Type 2 Diabetes: Findings from the Third National Health and Nutrition Examination Survey (NHANES III). Diabetes Care 2002, 25, 1722–1728. [Google Scholar] [CrossRef]
- Ganie, S.M.; Malik, M.B. An ensemble Machine Learning approach for predicting Type-II diabetes mellitus based on lifestyle indicators. Healthc. Anal. 2022, 2, 100092. [Google Scholar] [CrossRef]
- Wilcox, G. Insulin and Insulin Resistance. Clin. Biochem. Rev. 2005, 26, 19–39. [Google Scholar]
- Madhiarasan, M.; Louzazni, M. Analysis of Artificial Neural Network: Architecture, Types, and Forecasting Applications. J. Electr. Comput. Eng. 2022, 2022, 5416722. [Google Scholar] [CrossRef]
- Malik, M.B.; Asger, M.; Ali, R.; Sarvar, A. A model for privacy preserving in data mining using Soft Computing techniques. In In Proceedings of the 2015 2nd International Conference on Computing for Sustainable Global Development (INDIACom), New Delhi, India, 11–13 March 2015; pp. 181–186. [Google Scholar]
- Zulkifly, M.I.E.; Wahab, A.F.; Zakaria, R. B-Spline Curve Interpolation Model by using Intuitionistic Fuzzy Approach. IAENG Int. J. Appl. Math. 2020, 50, 1–7. [Google Scholar]
- Zadrozny, B.; Elkan, C. Obtaining calibrated probability estimates from decision trees and naive Bayesian classifiers. In Proceedings of the Proceedings of the Eighteenth International Conference on Machine Learning, Williamstown, MA, USA, 28 June–1 July 2001. [Google Scholar]
- Zadrozny, B.; Elkan, C. Transforming classifier scores into accurate multiclass probability estimates. In Proceedings of the ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, Edmonton, AB, Canada, 23–26 July 2002; pp. 694–699. [Google Scholar] [CrossRef]
- Singh, N.; Singh, P. Stacking-based multi-objective evolutionary ensemble framework for prediction of diabetes mellitus. Biocybern. Biomed. Eng. 2020, 40, 1–22. [Google Scholar] [CrossRef]
- Wang, X.; Wang, Y.; Zhang, S.; Yao, L.; Xu, S. Analysis and Prediction of Gestational Diabetes Mellitus by the Ensemble Learning Method. Int. J. Comput. Intell. Syst. 2022, 15, 72. [Google Scholar] [CrossRef]
- Liu, R.; Zhan, Y.; Liu, X.; Zhang, Y.; Gui, L.; Qu, Y.; Nan, H.; Jiang, Y. Stacking Ensemble Method for Gestational Diabetes Mellitus Prediction in Chinese Pregnant Women: A Prospective Cohort Study. J. Healthc. Eng. 2022, 2022, 8948082. [Google Scholar] [CrossRef]
- Yang, T.; Zhang, L.; Yi, L.; Feng, H.; Li, S.; Chen, H.; Zhu, J.; Zhao, J.; Zeng, Y.; Liu, H. Ensemble Learning Models Based on Noninvasive Features for Type 2 Diabetes Screening: Model Development and Validation. JMIR Med. Inform. 2020, 8, 15431. [Google Scholar] [CrossRef]
- Sivashankari, R.; Sudha, M.; Hasan, M.K.; Saeed, R.A.; Alsuhibany, S.A.; Abdel-Khalek, S. An Empirical Model to Predict the Diabetic Positive Using Stacked Ensemble Approach. Front. Public Health 2021, 9, 792124. [Google Scholar] [CrossRef]
- Jones, J.P.H.; Abdullah, M.M.H.; Wood, D.; Jones, P.J.H. Economic modeling for improved prediction of saving estimates in healthcare costs from consumption of healthy foods: The mediterranean-style diet case study. Food Nutr. Res. 2019, 63, 1–10. [Google Scholar] [CrossRef]
- Blumfield, M.; Starck, C.; Keighley, T.; Petocz, P.; Roesler, A.; Abbott, K.; Cassettari, T.; Marshall, S.; Fayet-Moore, F. Diet and economic modelling to improve the quality and affordability of the australian diet for low and medium socioeconomic households. Int. J. Environ. Res. Public Health 2021, 18, 5711. [Google Scholar] [CrossRef]
- Perignon, M.; Vieux, F.; Soler, L.G.; Masset, G.; Darmon, N. Improving diet sustainability through evolution of food choices: Review of epidemiological studies on the environmental impact of diets. Nutr. Rev. 2017, 75, 2–17. [Google Scholar] [CrossRef]
- Ibrahim, K.K.; Obaid, A.J. Web Mining Techniques and Technologies: A Landscape View. In Journal of Physics: Conference Series; IOP Publishing Ltd.: Bristol, UK, 2021. [Google Scholar] [CrossRef]
- Latha, K.; Raj Kumar, B. Personal diabetic diet recommendation system based on trustworthiness. Int. J. Appl. Eng. Res. 2014, 9, 4967–4972. [Google Scholar]


















| S. No | Parameter | Description | Measurement | Value Range |
|---|---|---|---|---|
| 1 | Age | Age of the participant in years. | Numeric | 5 to 83 |
| 2 | Sex | Gender of the participant. | Categorical | 0 or 1 |
| 3 | Family History | The presence or history of diabetes among any family members of the participant. | Categorical | 0 or 1 |
| 4 | Smoking | If the participant is smoker. | Categorical | 0 or 1 |
| 5 | Drinking | If the participant is liquor. | Categorical | 0 or 1 |
| 6 | Thirst | Number of times a participant drinks water in a day/night. | Numeric | 1 to 15 |
| 7 | Urination | Number of times the participant passes urine in a day/night. | Numeric | 2 to 15 |
| 8 | Height | Height of the participant in centimeters (cm). | Numeric | 61 to 766 |
| 9 | Weight | Weight of the participant in kilograms (Kg). | Numeric | 15 to 96 |
| 10 | Fatigue | If the participant feels fatigued. | Categorical | 0 or 1 |
| 11 | Outcome | If the participant has diabetes. | Categorical | 0 or 1 |
| Attribute | Count | Mean | Std | Min | 25% | 50% | 75% | Max |
|---|---|---|---|---|---|---|---|---|
| Age | 1939 | 41.77 | 15.84 | 5 | 31 | 39 | 50 | 83 |
| Sex | 0.47 | 0.50 | 0 | 0 | 0 | 1 | 1 | |
| Family History | 0.27 | 0.45 | 0 | 0 | 0 | 1 | 1 | |
| Smoking | 0.15 | 0.35 | 0 | 0 | 0 | 0 | 1 | |
| Drinking | 0.18 | 0.38 | 0 | 0 | 0 | 0 | 1 | |
| Thirst | 6.18 | 2.43 | 1 | 5 | 6 | 7 | 15 | |
| Urination | 6.40 | 3.46 | 2 | 3 | 5 | 10 | 15 | |
| Height | 161.60 | 33.14 | 61 | 154 | 162 | 167 | 195 | |
| Weight | 61.65 | 11.48 | 15 | 55 | 62 | 69 | 96 | |
| Fatigue | 0.69 | 0.46 | 0 | 0 | 1 | 1 | 1 | |
| Outcome | 050 | 0.50 | 0 | 0 | 1 | 1 | 1 |
| Age Group | No. of Participants | % of Total | T2DM Cases | Prevalence (%) |
|---|---|---|---|---|
| 5–17 | 112 | 5.7% | 3 | 2.7% |
| 18–30 | 384 | 19.8% | 41 | 10.7% |
| 31–45 | 612 | 31.6% | 148 | 24.2% |
| 46–60 | 517 | 26.7% | 201 | 38.8% |
| >60 | 314 | 16.2% | 149 | 47.5% |
| Feature vs. Outcome | Cramer’s V | p-Value | Significance |
|---|---|---|---|
| Age | 0.52 | <0.001 | Highly Significant (older age ↑ risk) |
| Sex | 0.035 | 0.35 | Not Significant (no clear sex difference) |
| Family History | 0.053 | <0.001 | Highly Significant (family history ↑ risk) |
| Smoking | 0.11 | 0.20 | Not Significant (negligible association) |
| Drinking | 0.19 | 0.02 | Statistically Significant (slight association) |
| Thirst | 0.43 | <0.001 | Highly Significant (frequent thirst ↑ in diabetics) |
| Urination | 0.79 | <0.001 | Highly Significant (frequent urination ↑ in diabetics) |
| Height | 0.21 | 0.01 | Statistically Significant (slight inverse correlation) |
| Weight | 0.33 | <0.001 | Highly Significant (higher weight ↑ risk) |
| Fatigue | 0.64 | <0.001 | Highly Significant (fatigue more common in T2DM) |
| Parameter Category | Description/Value |
|---|---|
| Dataset Split | 70% Training, 30% Testing |
| Input Features | Lifestyle indicators: age, thirst, urination, fatigue, weight, height, etc. |
| Number of Classes | 4 (A: Low-risk, B: Moderate-risk, C: High-risk, D: T2DM) |
| ANN Architecture | Input layer → 3 Hidden Layers → Output Layer |
| Hidden Layer Sizes | Layer 1: 64 neurons. Layer 2: 32 neurons. Layer 3: 16 neurons |
| Activation Functions | ReLU (Hidden Layers), Softmax (Output Layer) |
| Output Representation | One-hot encoding for A, B, C, and D |
| Loss Function | Categorical Cross-Entropy |
| Optimizer | Adam |
| Learning Rate | 0.001 |
| Batch Size | 32 |
| Epochs | 150 (with Early Stopping) |
| Weight Initialization | Xavier (Glorot Uniform) |
| Regularization Techniques | Dropout (0.2), L2 (0.001) |
| Performance Metrics | Accuracy, Precision, Recall, F1-score, ROC–AUC |
| Hardware Used | Intel i5 Processor, 16 GB RAM, NVIDIA, 256 SSD, and 1 TB HDD |
| Software/Environment | Python 3.x, TensorFlow/Keras, NumPy, Pandas |
| Author | Model | Accuracy | Precision | Recall | F1-Score | AUC-ROC |
|---|---|---|---|---|---|---|
| Singh and Singh [48] | NSGA-II, RBF, linear SVM, polynomial SVM, DT, KNN | 91.90 with NSGA-II | 93.30 | 99.30 | 96.20 | 92.00 |
| Wang et al. [49] | DT, RF, GB, XGB, LGBM, MLP, ensemble LightGBM-XGB-GB, | 77.92 with ensemble model | 75.70 | 75.00 | 75.34 | 77.65 |
| Liu et al. [50] | LR, RF, XGB, ensemble model | 66.60 with ensemble model | - | - | - | - |
| Yang et al. [51] | LDA, RF, SVM, ensemble model | 73.00 with ensemble model | 38.90 | 81.90 | 52.75 | 84.90 |
| Sivashankari et al. [52] | RF, KNN, DT, GB, and NB, LR, ensemble model | 93.10 with ensemble model | 84.00 | 83.90 | 83.50 | 90.00 |
| Our Paper | Fuzzy-ANN Model | 93.64 | 94.00 | 93.50 | 93.50 | 94.07 |
| Exercise Chart 1—Diabetic Patients | |
|---|---|
| WALKING |
|
| CYCLING |
|
| SWIMMING |
|
| TEAM SPORTS |
|
| YOGA |
|
| Exercise Chart 2—Non-Diabetic Patients | |
|---|---|
| WALKING |
|
| CYCLING |
|
| SWIMMING |
|
| TEAM SPORTS |
|
| YOGA |
|
| JOGGING |
|
| OTHER EXERCISES |
|
| Class | Profile | Recommendation |
|---|---|---|
| Low-Risk Individual (Class A) |
|
|
| Moderate-Risk Individual (Class B) |
|
|
| High-Risk Individual (Class C) |
|
|
| Diabetic (Class D) |
|
|
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Ganie, S.M.; Malik, M.B. A Lifestyle-Based Fuzzy-Enhanced ANN Model for Early Prediction of Type 2 Diabetes and Personalized Management in the North Indian Population. Diagnostics 2025, 15, 3139. https://doi.org/10.3390/diagnostics15243139
Ganie SM, Malik MB. A Lifestyle-Based Fuzzy-Enhanced ANN Model for Early Prediction of Type 2 Diabetes and Personalized Management in the North Indian Population. Diagnostics. 2025; 15(24):3139. https://doi.org/10.3390/diagnostics15243139
Chicago/Turabian StyleGanie, Shahid Mohammad, and Majid Bashir Malik. 2025. "A Lifestyle-Based Fuzzy-Enhanced ANN Model for Early Prediction of Type 2 Diabetes and Personalized Management in the North Indian Population" Diagnostics 15, no. 24: 3139. https://doi.org/10.3390/diagnostics15243139
APA StyleGanie, S. M., & Malik, M. B. (2025). A Lifestyle-Based Fuzzy-Enhanced ANN Model for Early Prediction of Type 2 Diabetes and Personalized Management in the North Indian Population. Diagnostics, 15(24), 3139. https://doi.org/10.3390/diagnostics15243139

