Developing machine learning-based models to predict intrauterine insemination (IUI) success by address modeling challenges in imbalanced data and providing modification solutions for them
- PMID: 36050710
- PMCID: PMC9434923
- DOI: 10.1186/s12911-022-01974-8
Developing machine learning-based models to predict intrauterine insemination (IUI) success by address modeling challenges in imbalanced data and providing modification solutions for them
Abstract
Background: This study sought to provide machine learning-based classification models to predict the success of intrauterine insemination (IUI) therapy. Additionally, we sought to illustrate the effect of models fitting with balanced data vs original data with imbalanced data labels using two different types of resampling methods. Finally, we fit models with all features against optimized feature sets using various feature selection techniques.
Methods: The data for the cross-sectional study were collected from 546 infertile couples with IUI at the Fatemehzahra Infertility Research Center, Babol, North of Iran. Logistic regression (LR), support vector classification, random forest, Extreme Gradient Boosting (XGBoost) and, Stacking generalization (Stack) as the machine learning classifiers were used to predict IUI success by Python v3.7. We employed the Smote-Tomek (Stomek) and Smote-ENN (SENN) resampling methods to address the imbalance problem in the original dataset. Furthermore, to increase the performance of the models, mutual information classification (MIC-FS), genetic algorithm (GA-FS), and random forest (RF-FS) were used to select the ideal feature sets for model development.
Results: In this study, 28% of patients undergoing IUI treatment obtained a successful pregnancy. Also, the average age of women and men was 24.98 and 29.85 years, respectively. The calibration plot in this study for IUI success prediction by machine learning models showed that between feature selection methods, the RF-FS, and among the datasets used to fit the models, the balanced dataset with the Stomek method had well-calibrating predictions than other methods. Finally, the brier scores for the LR, SVC, RF, XGBoost, and Stack models that were fitted utilizing the Stomek dataset and the chosen feature set using the Random Forest technique obtained equal to 0.202, 0.183, 0.158, 0.129, and 0.134, respectively. It showed duration of infertility, male and female age, sperm concentration, and sperm motility grading score as the most predictable factors in IUI success.
Conclusion: The results of this study with the XGBoost prediction model can be used to foretell the individual success of IUI for each couple before initiating therapy.
Keywords: Cumulative live birth; Imbalanced data; Infertility; Intrauterine insemination; Machine learning.
© 2022. The Author(s).
Conflict of interest statement
None declared.
Figures






Similar articles
-
CNFE-SE: a novel approach combining complex network-based feature engineering and stacked ensemble to predict the success of intrauterine insemination and ranking the features.BMC Med Inform Decis Mak. 2021 Jan 2;21(1):1. doi: 10.1186/s12911-020-01362-0. BMC Med Inform Decis Mak. 2021. PMID: 33388057 Free PMC article.
-
Ensemble machine learning models for sperm quality evaluation concerning success rate of clinical pregnancy in assisted reproductive techniques.Sci Rep. 2024 Oct 16;14(1):24283. doi: 10.1038/s41598-024-73326-7. Sci Rep. 2024. PMID: 39414869 Free PMC article.
-
Effect of time intervals from the end of sperm collection to intrauterine insemination on the pregnancy rates in controlled ovarian hyperstimulation-intrauterine insemination cycles.J Gynecol Obstet Hum Reprod. 2018 Dec;47(10):561-564. doi: 10.1016/j.jogoh.2018.08.015. Epub 2018 Aug 29. J Gynecol Obstet Hum Reprod. 2018. PMID: 30170131
-
Semen quality and intrauterine insemination.Reprod Biomed Online. 2003 Oct-Nov;7(4):485-92. doi: 10.1016/s1472-6483(10)61894-9. Reprod Biomed Online. 2003. PMID: 14656412 Review.
-
Intrauterine insemination: is it an effective treatment for male factor infertility?Baillieres Clin Obstet Gynaecol. 1997 Dec;11(4):691-710. doi: 10.1016/s0950-3552(97)80007-7. Baillieres Clin Obstet Gynaecol. 1997. PMID: 9692011 Review.
Cited by
-
Diagnostic value of oxidation-reduction potential for male infertility: a systematic review and meta-analysis.Transl Androl Urol. 2024 Jul 31;13(7):1228-1238. doi: 10.21037/tau-24-32. Epub 2024 Jul 16. Transl Androl Urol. 2024. PMID: 39100838 Free PMC article.
-
Criteria for implementing artificial intelligence systems in reproductive medicine.Clin Exp Reprod Med. 2024 Mar;51(1):1-12. doi: 10.5653/cerm.2023.06009. Epub 2023 Dec 1. Clin Exp Reprod Med. 2024. PMID: 38035589 Free PMC article.
-
Artificial Intelligence for Clinical Management of Male Infertility, a Scoping Review.Curr Urol Rep. 2024 Nov 9;26(1):17. doi: 10.1007/s11934-024-01239-z. Curr Urol Rep. 2024. PMID: 39520645 Free PMC article.
-
The impact of adenomyosis on intrauterine insemination success in unexplained infertile women: a retrospective cross-sectional study.BMC Pregnancy Childbirth. 2025 Jun 3;25(1):650. doi: 10.1186/s12884-025-07769-9. BMC Pregnancy Childbirth. 2025. PMID: 40462001 Free PMC article.
-
An Algorithm to Predict the Lack of Pregnancy after Intrauterine Insemination in Infertile Patients.J Clin Med. 2023 Apr 30;12(9):3225. doi: 10.3390/jcm12093225. J Clin Med. 2023. PMID: 37176664 Free PMC article.
References
-
- Pan MM, Hockenberry MS, Kirby EW, Lipshultz LI. Male infertility diagnosis and treatment in the era of in vitro fertilization and intracytoplasmic sperm injection. Med Clin. 2018;102(2):337–347. - PubMed
-
- Muthigi A, Jahandideh S, Bishop LA, Naeemi FK, Shipley SK, O’Brien JE, Shin PR, Devine K, Tanrikut C. Clarifying the relationship between total motile sperm counts and intrauterine insemination pregnancy rates. Fertil Steril. 2021;115(6):1454–1460. - PubMed
-
- Merviel P, Labarre M, James P, Bouée S, Chabaud J-J, Roche S, Cabry R, Scheffler F, Lourdel E, Benkhalifa M. Should intrauterine inseminations still be proposed in cases of unexplained infertility? Retrospective study and literature review. Arch Gynecol Obstet. 2022;66:1–14. - PubMed
-
- Guzick DS, Carson SA, Coutifaris C, Overstreet JW, Factor-Litvak P, Steinkampf MP, Hill JA, Mastroianni L, Jr, Buster JE, Nakajima ST. Efficacy of superovulation and intrauterine insemination in the treatment of infertility. N Engl J Med. 1999;340(3):177–183. - PubMed
MeSH terms
LinkOut - more resources
Full Text Sources