Home
Global Journal of Engineering and Technology Advances
International Peer reviewed Engineering Journal || Crossref DOI || Impact Factor 8.6 || ISSN: 2582-5003

Main navigation

  • Home
    • Journal Information
    • Editorial Board Members
    • Reviewer Panel
    • Abstracting and Indexing
    • Journal Policies
    • Our CrossMark Policy
    • Publication Ethics
    • Issue in Progress
    • Current Issue
    • Past Issues
    • Instructions for Authors
    • Article processing fee
    • Track Manuscript Status
    • Get Publication Certificate
    • Join Editorial Board
    • Join Reviewer Panel
  • Contact us
  • Downloads

Research & review articles are invited for publication in September 2026 (Vol. 28, Issue 3) || Submission: up to 28th September || Editorial decision: within 48 hrs.

Leveraging machine learning for diabetes prediction: Ensemble model

Breadcrumb

  • Home
  • Leveraging machine learning for diabetes prediction: Ensemble model

McDonald Otieno Ogutu 1, *, Benson Nzioka Kituku 2 and Simon M. Karume 3

1 Department of Computer Science and Information Technology, Cooperative University of Kenya, Nairobi, Kenya.
2 School of Computer Science and Information Technology, Dedan Kimathi University, Nyeri, Kenya.
3 School of Science, Engineering and Technology, Kabarak University, Nakuru, Kenya.
 
Research Article
Global Journal of Engineering and Technology Advances, 2025, 25(01), 142-155.
Article DOI: 10.30574/gjeta.2025.25.1.0267
DOI url: https://doi.org/10.30574/gjeta.2025.25.1.0267
Received on 02 August 2025; revised on 04 October 2025; accepted on 07 October 2025
 
Diabetes presents great global health challenge, with delayed diagnosis significantly impeding effective management, particularly in resource-constrained regions. This project aimed to enhance timely and accurate diabetes prediction by developing an advanced ensemble machine learning model. A hybrid dataset, compiled from the PIMA Indian (768 instances) and Hospital Frankfurt Germany (2000 instances) datasets, totaling  to 2768 datapoints, was utilized to improve generalizability beyond single-source limitations. The methodology involved comprehensive data preprocessing, including the critical imputation of physiologically impossible zero values and feature standardization. F1-score was selected as the primary performance metric due to its ability to provide a vital balance between precision and recall, which is crucial in a medical context where both false positives and false negatives carry significant consequences. Six single classifier models—Logistic Regression, Decision Tree, K-Nearest Neighbors, Support Vector Machine, Random Forest, and XGBoost—were trained on the data and evaluated after hyperparameter tuning. The F1-scores of these optimized models were: Logistic Regression (0.6328), Decision Tree (0.9843), K-Nearest Neighbors (0.9869), Support Vector Machine (0.9843), Random Forest (0.9947), and XGBoost (0.9974). Based on these results, XGBoost and Random Forest were selected as base learners for a Stacking Classifier ensemble, which utilized a Logistic Regression meta-learner. The developed ensemble model demonstrated exceptional performance, achieving near-perfect ROC-AUC of 0.9999 and an F1-score of 0.9974. This performance not only surpassed results from recent studies but also highlighted the significant potential of machine learning to predict diabetes accurately. The project recommended further development and integration of the ensemble model into a web application.
 
Machine learning; Support vector machine; Gradient boosting; Random Forest; Decision Tree
 
https://gjeta.com/sites/default/files/fulltext_pdf/GJETA-2025-0267.pdf

Preview Article PDF

McDonald Otieno Ogutu, Benson Nzioka Kituku and Simon M. Karume. Leveraging machine learning for diabetes prediction: Ensemble model. Global Journal of Engineering and Technology Advances, 2025, 25(1), 142-155. Article DOI: https://doi.org/10.30574/gjeta.2025.25.1.0267

Copyright © Author(s). All rights reserved. This article is published under the terms of the Creative Commons Attribution 4.0 International License (CC BY 4.0), which permits use, sharing, adaptation, distribution, and reproduction in any medium or format, as long as appropriate credit is given to the original author(s) and source, a link to the license is provided, and any changes made are indicated.


All statements, opinions, and data contained in this publication are solely those of the individual author(s) and contributor(s). The journal, editors, reviewers, and publisher disclaim any responsibility or liability for the content, including accuracy, completeness, or any consequences arising from its use.

Get Certificates

Get Publication Certificate

Download LoA

Check Corssref DOI details

Issue details

Issue Cover Page

Editorial Board

Table of content

          

 

Copyright © 2026 Global Journal of Engineering and Technology Advances - All rights reserved

Developed & Designed by VS Infosolution