Related Experiment Video
Updated: Oct 3, 2025

Implementation of a Real-Time Psychosis Risk Detection and Alerting System Based on Electronic Health Records using CogStack
Published on: May 15, 2020
Development and Comparison of Three Data Models for Predicting Diabetes Mellitus Using Risk Factors in a Nigerian
Oluwakemi Odukoya1, Solomon Nwaneri2,3, Ifedayo Odeniyi4
1Department of Community Health and Primary Care, College of Medicine, University of Lagos, Lagos State, Nigeria.
Objective:
This study developed and compared the performance of three widely used predictive models-logistic regression (LR), artificial neural network (ANN), and decision tree (DT)-to predict diabetes mellitus using the socio-demographic, lifestyle, and physical attributes of a population of Nigerians.
Methods:
We developed three predictive models using 10 input variables. Data preprocessing steps included the removal of missing values and outliers, min-max normalization, and feature extraction using principal component analysis. Data training and validation were accomplished using 10-fold cross-validation. Accuracy, sensitivity, specificity, positive predictive value (PPV), negative predictive value (NPV), and area under the receiver operating characteristic curve (AUROC) were used as performance evaluation metrics. Analysis and model development were performed in R version 3.6.1.
Results:
The mean age of the participants was 50.52 ± 16.14 years. The classification accuracy, sensitivity, specificity, PPV, and NPV for LR were, respectively, 81.31%, 84.32%, 77.24%, 72.75%, and 82.49%. Those for ANN were 98.64%, 98.37%, 99.00%, 98.61%, and 98.83%, and those for DT were 99.05%, 99.76%, 98.08%, 98.77%, and 99.82%, respectively. The best-performing and poorest-performing classifiers were DT and LR, with 99.05% and 81.31% accuracy, respectively. Similarly, the DT algorithm achieved the best AUC value (0.992) compared to ANN (0.976) and LR (0.892).
Conclusions:
Our study demonstrated that DT, LR, and ANN models can be used effectively for the prediction of diabetes mellitus in the Nigerian population based on certain risk factors. An overall comparative analysis of the models showed that the DT model performed better than LR and ANN.
More Related Videos
Related Concept Videos
Diabetes Mellitus: Type 2 and Gestational
Pathophysiology of 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,...
Diabetes: Symptoms, Diagnosis, and Complications
Statistical Methods for Analyzing Epidemiological Data
Diabetes Mellitus: Overview and Type I Subtype
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...
Data Validation
Nursing assessment guides are generally based on holistic models rather than medical...

