Predicting Gestational Diabetes Mellitus in the first trimester using machine learning algorithms: a cross-sectional study at a hospital fertility health center in Iran

Abstract Background Gestational Diabetes Mellitus (GDM) is a common complication during pregnancy. Late diagnosis can have significant implications for both the mother and the fetus. This research aims to create an early prediction model for GDM in the first trimester of pregnancy. This model will h...

Full description

Saved in:
Bibliographic Details
Main Authors: Somayeh Kianian Bigdeli, Marjan Ghazisaedi, Seyed Mohammad Ayyoubzadeh, Sedigheh Hantoushzadeh, Marjan Ahmadi
Format: Article
Language:English
Published: BMC 2025-01-01
Series:BMC Medical Informatics and Decision Making
Subjects:
Online Access:https://doi.org/10.1186/s12911-024-02799-3
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1841559368010563584
author Somayeh Kianian Bigdeli
Marjan Ghazisaedi
Seyed Mohammad Ayyoubzadeh
Sedigheh Hantoushzadeh
Marjan Ahmadi
author_facet Somayeh Kianian Bigdeli
Marjan Ghazisaedi
Seyed Mohammad Ayyoubzadeh
Sedigheh Hantoushzadeh
Marjan Ahmadi
author_sort Somayeh Kianian Bigdeli
collection DOAJ
description Abstract Background Gestational Diabetes Mellitus (GDM) is a common complication during pregnancy. Late diagnosis can have significant implications for both the mother and the fetus. This research aims to create an early prediction model for GDM in the first trimester of pregnancy. This model will help obstetricians and gynecologists make appropriate decisions for treating and preventing GDM complications. Methods This applied descriptive study was conducted at the fertility health center of Vali-e-Asr Hospital in Tehran, Iran. The dataset was collected from the records of pregnant women registered in the hospital’s system from 2020 to 2022. Risk factors for designing predictive models were identified through literature review, expert opinions, and clinical specialists’ input. The extracted information underwent preprocessing, and six machine learning (ML) methods were developed and evaluated for GDM prediction in the first trimester of pregnancy: decision tree (DT), multilayer perceptron (MLP), k-nearest neighbors (KNN), Naïve Bayes (NB), random forest (RF), and extreme gradient boosting (XGBoost). Results Models were evaluated using accuracy, precision, sensitivity, and the area under the receiver operating characteristic curve (AUC). Based on the glucose tolerance test (GTT) results, the RF model achieved the best performance in GDM prediction, with 89% accuracy, 86% precision, 92% recall, and 94% AUC, using demographic variables, medical history, and clinical findings. In modeling based on insulin consumption, the RF model achieved the best results with 62% accuracy, 60% precision, 63% recall, and 63% AUC in predicting GDM using demographic variables and medical history. Conclusion The results of this study demonstrate that ML algorithms, especially RF, have acceptable accuracy in the early prediction of GDM during the first trimester of pregnancy.
format Article
id doaj-art-791c28aef1914e1db2b4f968e417d20d
institution Kabale University
issn 1472-6947
language English
publishDate 2025-01-01
publisher BMC
record_format Article
series BMC Medical Informatics and Decision Making
spelling doaj-art-791c28aef1914e1db2b4f968e417d20d2025-01-05T12:32:24ZengBMCBMC Medical Informatics and Decision Making1472-69472025-01-0125111110.1186/s12911-024-02799-3Predicting Gestational Diabetes Mellitus in the first trimester using machine learning algorithms: a cross-sectional study at a hospital fertility health center in IranSomayeh Kianian Bigdeli0Marjan Ghazisaedi1Seyed Mohammad Ayyoubzadeh2Sedigheh Hantoushzadeh3Marjan Ahmadi4Department of Health Information Management, School of Allied Medical Sciences, Tehran University of Medical SciencesDepartment of Health Information Management, School of Allied Medical Sciences, Tehran University of Medical SciencesDepartment of Health Information Management, School of Allied Medical Sciences, Tehran University of Medical SciencesVali-E-Asr Reproductive Health Research Center, Family Health Research Institute, Imam Khomeini Hospital Complex, Tehran University of Medical SciencesDepartment of Obstetrics and Gynecology, Tehran University of Medical SciencesAbstract Background Gestational Diabetes Mellitus (GDM) is a common complication during pregnancy. Late diagnosis can have significant implications for both the mother and the fetus. This research aims to create an early prediction model for GDM in the first trimester of pregnancy. This model will help obstetricians and gynecologists make appropriate decisions for treating and preventing GDM complications. Methods This applied descriptive study was conducted at the fertility health center of Vali-e-Asr Hospital in Tehran, Iran. The dataset was collected from the records of pregnant women registered in the hospital’s system from 2020 to 2022. Risk factors for designing predictive models were identified through literature review, expert opinions, and clinical specialists’ input. The extracted information underwent preprocessing, and six machine learning (ML) methods were developed and evaluated for GDM prediction in the first trimester of pregnancy: decision tree (DT), multilayer perceptron (MLP), k-nearest neighbors (KNN), Naïve Bayes (NB), random forest (RF), and extreme gradient boosting (XGBoost). Results Models were evaluated using accuracy, precision, sensitivity, and the area under the receiver operating characteristic curve (AUC). Based on the glucose tolerance test (GTT) results, the RF model achieved the best performance in GDM prediction, with 89% accuracy, 86% precision, 92% recall, and 94% AUC, using demographic variables, medical history, and clinical findings. In modeling based on insulin consumption, the RF model achieved the best results with 62% accuracy, 60% precision, 63% recall, and 63% AUC in predicting GDM using demographic variables and medical history. Conclusion The results of this study demonstrate that ML algorithms, especially RF, have acceptable accuracy in the early prediction of GDM during the first trimester of pregnancy.https://doi.org/10.1186/s12911-024-02799-3Artificial intelligenceGestational diabetes mellitusMachine learningRandom forestFirst trimester of pregnancyPrediction
spellingShingle Somayeh Kianian Bigdeli
Marjan Ghazisaedi
Seyed Mohammad Ayyoubzadeh
Sedigheh Hantoushzadeh
Marjan Ahmadi
Predicting Gestational Diabetes Mellitus in the first trimester using machine learning algorithms: a cross-sectional study at a hospital fertility health center in Iran
BMC Medical Informatics and Decision Making
Artificial intelligence
Gestational diabetes mellitus
Machine learning
Random forest
First trimester of pregnancy
Prediction
title Predicting Gestational Diabetes Mellitus in the first trimester using machine learning algorithms: a cross-sectional study at a hospital fertility health center in Iran
title_full Predicting Gestational Diabetes Mellitus in the first trimester using machine learning algorithms: a cross-sectional study at a hospital fertility health center in Iran
title_fullStr Predicting Gestational Diabetes Mellitus in the first trimester using machine learning algorithms: a cross-sectional study at a hospital fertility health center in Iran
title_full_unstemmed Predicting Gestational Diabetes Mellitus in the first trimester using machine learning algorithms: a cross-sectional study at a hospital fertility health center in Iran
title_short Predicting Gestational Diabetes Mellitus in the first trimester using machine learning algorithms: a cross-sectional study at a hospital fertility health center in Iran
title_sort predicting gestational diabetes mellitus in the first trimester using machine learning algorithms a cross sectional study at a hospital fertility health center in iran
topic Artificial intelligence
Gestational diabetes mellitus
Machine learning
Random forest
First trimester of pregnancy
Prediction
url https://doi.org/10.1186/s12911-024-02799-3
work_keys_str_mv AT somayehkianianbigdeli predictinggestationaldiabetesmellitusinthefirsttrimesterusingmachinelearningalgorithmsacrosssectionalstudyatahospitalfertilityhealthcenteriniran
AT marjanghazisaedi predictinggestationaldiabetesmellitusinthefirsttrimesterusingmachinelearningalgorithmsacrosssectionalstudyatahospitalfertilityhealthcenteriniran
AT seyedmohammadayyoubzadeh predictinggestationaldiabetesmellitusinthefirsttrimesterusingmachinelearningalgorithmsacrosssectionalstudyatahospitalfertilityhealthcenteriniran
AT sedighehhantoushzadeh predictinggestationaldiabetesmellitusinthefirsttrimesterusingmachinelearningalgorithmsacrosssectionalstudyatahospitalfertilityhealthcenteriniran
AT marjanahmadi predictinggestationaldiabetesmellitusinthefirsttrimesterusingmachinelearningalgorithmsacrosssectionalstudyatahospitalfertilityhealthcenteriniran