International Journal of Innovative Information Systems

& Technology Research 14(3):430-447, July-Sept, 2026

 © SEAHI PUBLICATIONS, 2026    www.seahipublications.org   ISSN: 2467-8562

 

 

 

 

 

 

DOI:10.5281/zenodo.22934211

Early Prediction of Gestational Diabetes Mellitus Using Ensemble Machine Learning

 

1Ayodeji O. Ayeni, 2Oluwatosin L. Ogbeide, 2*Olatunde D. Akinrolabu, 3Victor O. Otokiti

 

1Department of Information and Communication Technology,

Faculty of Computing,

Adekunle Ajasin University, Akungba Akoko, Ondo State, Nigeria

 

2Department of Data Science and Artificial Intelligence,

Faculty of Computing,

Adekunle Ajasin University, Akungba Akoko, Ondo State, Nigeria.

 

3Department of Computer Science,

Faculty of Computing,

Adekunle Ajasin University, Akungba Akoko, Ondo State, Nigeria.

 

*Corresponding author: Olatunde David Akinrolabu (olatunde.akinrolabu@aaua.edu.ng)

 

ABSTRACT

Gestational Diabetes Mellitus (GDM) is a prevalent pregnancy complication with significant maternal and neonatal risks. Conventional screening methods, often applied late in pregnancy, limit opportunities for early intervention. Recent studies have demonstrated the promise of machine learning models such as Random Forest, XGBoost, and ensemble approaches for earlier and more accurate GDM prediction, though challenges such as class imbalance, interpretability, and reliance on extensive clinical data remain. This project applied a structured methodology to overcome these challenges. Data pre-processing involved removing duplicates and outliers, followed by feature engineering (Age × BMI, BMI²) to enrich predictive features. Class imbalance was addressed using the Synthetic Minority Oversampling Technique (SMOTE). Three classifiers Logistic Regression, Random Forest, and XGBoost, were developed, with hyperparameter tuning performed to optimise performance. Ensemble strategies, specifically Hard Voting and Soft Voting, were then implemented to combine model strengths. Models were evaluated using Accuracy, Precision, Recall, F1-score, Confusion Matrix, and AUC, with recall emphasised due to its clinical importance. Results showed that feature engineering and SMOTE substantially improved sensitivity across models. While optimised XGBoost achieved very high recall, it sacrificed precision. The Soft Voting Ensemble achieved the most balanced performance, with 82.96% accuracy, 93.02% recall, and an AUC of 0.933, outperforming baseline models and aligning with or exceeding findings in related literature. This study concludes that ensemble learning, particularly Soft Voting, can support early GDM prediction using accessible demographic and anthropometric features. The work contributes by demonstrating that careful pre-processing, feature engineering, and balanced resampling can yield competitive results with limited data, offering a cost-effective decision-support tool for healthcare providers.

Keywords: gestational diabetes mellitus, machine learning, ensemble learning, SMOTE, feature engineering, ensemble voting, early prediction