Abstract
Unintended pregnancy refers to a pregnancy that is either mistimed or unwanted at the time of conception. Such pregnancies can have harmful effects, including negative impacts on maternal and child health, economic hardship, and strained relationships. This study aims to assess the effectiveness of machine learning algorithms in forecasting unintended pregnancies in Senegal and identifying the key factors that significantly impact them. The study utilized data from the 2023 Senegal Demographic and Health Survey, focusing on pregnant women. A final sample of 885 respondents was analyzed after handling missing values and six machine learning models namely Logistic Regression, Random Forest, K-Nearest Neighbors, Support Vector Machine, Naïve Bayes and Extra Tree Classifier was used. The Random Forest algorithm emerged as the best predictive model due to its highest AUC value (80.45%), surpassing all other machine learning algorithms used in this study. Total birth, currently residing with husband/partner, respondent’s education level, number of living children, Husband/partner’s occupation, residence type, Respondent can refuse sex and intention of contraceptive use are identified as contributing factors in that predict unintended pregnancy. The study’s results suggest that machine learning models, particularly Random Forest, can significantly enhance predictive accuracy for unintended pregnancies, helping public health initiatives in Senegal target at-risk populations. By identifying women at risk of unplanned pregnancies, targeted interventions and support services can be implemented, ultimately improving maternal health outcomes.
Competing Interest Statement
The authors have declared no competing interest.
Funding Statement
The author(s) received no specific funding for this work.
Author Declarations
I confirm all relevant ethical guidelines have been followed, and any necessary IRB and/or ethics committee approvals have been obtained.
Yes
The details of the IRB/oversight body that provided approval or exemption for the research described are given below:
As the data was obtained from an open source of Official Website of DHS (https://dhsprogram.com/), the ethical approval and consent to participate are not applicable for this study.
I confirm that all necessary patient/participant consent has been obtained and the appropriate institutional forms have been archived, and that any patient/participant/sample identifiers included were not known to anyone (e.g., hospital staff, patients or participants themselves) outside the research group so cannot be used to identify individuals.
Yes
I understand that all clinical trials and any other prospective interventional studies must be registered with an ICMJE-approved registry, such as ClinicalTrials.gov. I confirm that any such study reported in the manuscript has been registered and the trial registration ID is provided (note: if posting a prospective study registered retrospectively, please provide a statement in the trial ID field explaining why the study was not registered in advance).
Yes
I have followed all appropriate research reporting guidelines, such as any relevant EQUATOR Network research reporting checklist(s) and other pertinent material, if applicable.
Yes
Data Availability
The dataset, analyzed in this study, was obtained from the open source of Official Website of DHS program (Weblink: https://www.dhsprogram.com/Data/). The Senegal Demographic and Health Survey 2023 dataset was availed from website for this study (Link: https://dhsprogram.com/methodology/survey/survey-display-611.cfm)
https://dhsprogram.com/methodology/survey/survey-display-611.cfm