| International Journal of Computer Applications |
| Foundation of Computer Science (FCS), NY, USA |
| Volume 187 - Number 129 |
| Year of Publication: 2026 |
| Authors: Esha Nadeem, Rameez Asif, Ali Raza, Adil Mustafa |
10.5120/ijca544d1849f443
|
Esha Nadeem, Rameez Asif, Ali Raza, Adil Mustafa . Classification of Diabetes Mellitus: A Comparative Analysis of various Machine Learning Algorithms. International Journal of Computer Applications. 187, 129 ( Jul 2026), 1-9. DOI=10.5120/ijca544d1849f443
Diabetes Mellitus, a widespread metabolic disorder characterised by hyperglycaemia, poses a significant global health concern. Unfortunately, it is often diagnosed only after symptoms have developed, thereby reducing opportunities for early intervention. Traditional diagnostic methods primarily identify individuals who are already symptomatic, leaving many at-risk individuals undetected. By integrating machine learning models with Electronic Health Records, it may be possible to identify individuals at high risk during routine health assessments, enabling earlier intervention. This study aims to compare different machine learning algorithms to determine whether an individual has diabetes. Several performance metrics are used for comparison, including precision, accuracy, F1-score, recall, and computational efficiency. The methodology begins with the pre-processing of the Pima Indians Diabetes Dataset, followed by the training, testing, and validation of four machine learning algorithms: Support Vector Machine, Decision Tree, Artificial Neural Network, and Random Forest, implemented using Python. The process is then repeated in MATLAB using an augmented dataset, and the resulting performances are compared. The Random Forest algorithm achieved the highest prediction accuracy, with 75% accuracy on the original dataset and 100% accuracy on the augmented dataset. The findings suggest that machine learning approaches could support healthcare professionals in identifying individuals at risk of diabetes at an earlier stage, potentially enabling timely intervention and improving patient outcomes.