Open Access iconOpen Access



Performance Evaluation of Deep Dense Layer Neural Network for Diabetes Prediction

Niharika Gupta1, Baijnath Kaushik1, Mohammad Khalid Imam Rahmani2,*, Saima Anwar Lashari2,*

1 Department of Computer Science and Engineering, Shri Mata Vaishno Devi University, Katra, J&K, India
2 College of Computing and Informatics, Saudi Electronic University, Riyadh, Saudi Arabia

* Corresponding Authors: Mohammad Khalid Imam Rahmani. Email: email; Saima Anwar Lashari. Email: email

Computers, Materials & Continua 2023, 76(1), 347-366.


Diabetes is one of the fastest-growing human diseases worldwide and poses a significant threat to the population’s longer lives. Early prediction of diabetes is crucial to taking precautionary steps to avoid or delay its onset. In this study, we proposed a Deep Dense Layer Neural Network (DDLNN) for diabetes prediction using a dataset with 768 instances and nine variables. We also applied a combination of classical machine learning (ML) algorithms and ensemble learning algorithms for the effective prediction of the disease. The classical ML algorithms used were Support Vector Machine (SVM), Logistic Regression (LR), Decision Tree (DT), K-Nearest Neighbor (KNN), and Naïve Bayes (NB). We also constructed ensemble models such as bagging (Random Forest) and boosting like AdaBoost and Extreme Gradient Boosting (XGBoost) to evaluate the performance of prediction models. The proposed DDLNN model and ensemble learning models were trained and tested using hyperparameter tuning and K-Fold cross-validation to determine the best parameters for predicting the disease. The combined ML models used majority voting to select the best outcomes among the models. The efficacy of the proposed and other models was evaluated for effective diabetes prediction. The investigation concluded that the proposed model, after hyperparameter tuning, outperformed other learning models with an accuracy of 84.42%, a precision of 85.12%, a recall rate of 65.40%, and a specificity of 94.11%.


Cite This Article

APA Style
Gupta, N., Kaushik, B., Rahmani, M.K.I., Lashari, S.A. (2023). Performance evaluation of deep dense layer neural network for diabetes prediction. Computers, Materials & Continua, 76(1), 347-366.
Vancouver Style
Gupta N, Kaushik B, Rahmani MKI, Lashari SA. Performance evaluation of deep dense layer neural network for diabetes prediction. Comput Mater Contin. 2023;76(1):347-366
IEEE Style
N. Gupta, B. Kaushik, M.K.I. Rahmani, and S.A. Lashari "Performance Evaluation of Deep Dense Layer Neural Network for Diabetes Prediction," Comput. Mater. Contin., vol. 76, no. 1, pp. 347-366. 2023.

cc This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
  • 749


  • 509


  • 1


Share Link