Skip to main content

Explainable artificial intelligence models for predicting pregnancy termination among reproductive-aged women in six east African countries: machine learning approach

Abstract

Pregnancy termination remains a complex and sensitive issue with approximately 45% of abortions worldwide being unsafe, and 97% of abortions occurring in developing countries. Unsafe pregnancy terminations have implications for women’s reproductive health. This research aims to compare black box models in their prediction of pregnancy termination among reproductive-aged women and identify factors associated with pregnancy termination using explainable artificial intelligence (XAI) methods. We used comprehensive secondary data on reproductive-aged women’s demographic and socioeconomic data from the Demographic Health Survey (DHS) from six countries in East Africa in the analysis. This study implemented five black box ML models, Bagging classifier, Random Forest, Extreme Gradient Boosting (XGB) Classifier, CatBoost Classifier, and Extra Trees Classifier on a dataset with 338,904 instances and 18 features. Additionally, SHAP, Eli5, and LIME XAI techniques were used to determine features associated with pregnancy termination and Statistical analysis were employed to understand the distribution of pregnancy termination. The results demonstrated that machine learning algorithms were able to predict pregnancy termination on DHS data with an overall accuracy ranging from 79.4 to 85.6%. The ML classifier random forest achieved the highest result, with an accuracy of 85.6%. Based on the results of the XAI tool, the most contributing factors for pregnancy termination are wealth index, current working experience, and source of drinking water, sex of household, education level, and marital status. The outcomes of this study using random forest is expected to significantly contribute to the field of reproductive healthcare in East Africa and can assist healthcare providers in identifying individuals’ countries at greater risk of pregnancy termination, allowing for targeted interventions and support.

Peer Review reports

Introduction

Despite advancements in medicine, maternal mortality remains a major issue in many nations, especially developing nations [1,2,3]. In low- and middle-income nations, abortion ranks among the top five causes of maternal death [1]. Pregnancy termination is defined as a pregnancy that is terminated by choice through intervention, which may occur unintentionally or intentionally [1, 2]. Previous studies have suggested that unsafe pregnancy termination has a negative impact on mothers’ health and can result in abnormal birth outcomes, such as low birth weight, preterm delivery, placental issues, and abnormal birth outcomes [4,5,6,7,8,9].Adolescent and young adult abortion is a serious public health concern, particularly in developing countries.

According to estimates, there are approximately 2.2 million unplanned pregnancies and 2.5 million unsafe terminations among adolescents, and an estimated 33 abortions are carried out annually per 1,000 women between the ages of 15 and 49. The sensitive and complex issue of pregnancy termination has significant consequences for the well-being and health of women. Due to political, cultural, religious, and financial constraints, abortion during pregnancy is now a sensitive and difficult issue in reproductive health [3, 8]. In Ghana [4], descriptive and inferential binary logistic regression analyses was applied to cross sectional study data with a lack of causal interpretation of those factors due to the cross-sectional nature of the study. According to [10], in Ethiopia, using data from 15,683 women binary logistic regression, descriptive statistics were generated from a cross-sectional study of data from the EDHS. Aalmneh et al., [5] investigated the incidence of abortion and related factors among women in East Africa using DHS data from 12 East African countries were used for a sample of 431,518 women of reproductive age with a binary logistic regression [6], cross-sectional nationally representative household surveys were conducted in 36 LMICs with 1,236,330 women. Multivariable logistic regression models were employed to identify the risk factors for pregnancy termination, and 13.3% was the average pooled weighted prevalence of pregnancy termination. Healthcare prediction using artificial intelligence has become crucial in saving lives [11]. The rapid development of these systems allows for the analysis of complex data relationships to make accurate predictions in the healthcare industry. Machine learning approaches allow for the development of an accurate model that can be applied to activities like estimation, prediction, classification, or any other similar task [12,13,14]. This study, motivated to fill these gaps by constructing explainable artificial intelligence models, assessed the underlying structure of pregnancy termination in a sample data set monitored in East Africa There are limited studies that have determined the underlying structure, and there is a lack of a reliable and interpretable predictive model that can accurately predict pregnancy termination among reproductive-aged women in some East Africa using machine learning. We aim to fill this critical knowledge gap by developing a predictive model that combines ML techniques and XAI methods. Our main contributions to this work are as follows:

  1. I.

    The underlying structure of the attributes related to pregnancy termination in a sample dataset was monitored in East Africa.

  2. II.

    Different ML classifiers were evaluated using model evaluation matrix parameters to select the best algorithm for predicting pregnancy termination in East Africa.

  3. III.

    XAI techniques can be used to identify major risk factors that influence the occurrence of abortion among reproductive-aged women in East Africa.

Literature review

Several studies investigated pregnancy termination among reproductive-aged women using different methods. Djibril et al. [6] conducted a cross-sectional study to analyze 36 LMICs between 2010 and 2018. According to the study’s findings, Namibia and Pakistan had average pooled weighted prevalence rates of 13.3% and 33.4%, respectively, of pregnancy terminations. This study also found that having more than four children, being married, increasing age, and having completed elementary and secondary school were associated with pregnancy terminations using a multivariable logistic regression model. Pooled community-level pregnancy termination in East Africa was investigated by Samuel et al. [15]. Women in the age category 20–24, media exposure, being married, employment, no education, primary or secondary education, multiparty and sexual initiation of 15 or more were found to be substantially associated with termination of pregnancy based on the multilevel multivariate logistic model. Khagi et al. [16] investigated a hospital-based case-control study of the associated risk factors related to spontaneous abortion (SA) in Nepal with 252 reproductive-aged women. Descriptive statistical methodologies were conducted. The study reported that family type, folic acid intake, prenatal checkups, and monthly income were the associated risk factors for SA. The study done by Bright [2] in sub-Saharan Africa examined cross-sectional analysis with a total of 62,747 adolescent girls and young women. To investigate the factors that contribute to pregnancy termination, fixed and random effects models were employed among adolescent girls and young women. Berhanu et al. [10] used the EDHS dataset to determine the prevalence of pregnancy termination and the risk factors associated with it in women. In 7.9% of women between the ages of 15–49, education level, and awareness of the use of contraceptives were found to be strongly associated with pregnancy termination. Another study was conducted by [5]. A binary logistic regression model with a total of 431,518 women of reproductive age was used from 12 East African nations. The final model found that a higher chance of abortion was associated with media exposure, traditional family planning methods, working, being single, using tobacco or cigarettes, alcohol consumption, and a lower wealth index. However, the aforementioned studies focused on identifying determinant risk factors with a small dataset, and the majority of previous research employed descriptive statistics, which have limitations such as potentially oversimplifying complex data and accurately predicting future difficulties. Results may be hindered by descriptive analytics. Besides, these studies did not develop a predictive model, did not design the underlying structure of the attributes related to pregnancy termination, and did not apply XAI tools to understand the effect of each attribute on the prediction mode. XAI techniques can also be used to identify major risk factors that influence the occurrence of abortion among reproductive-aged women in six countries from East Africa.

Proposed methodology

This study proposes a machine learning approach for the prediction of pregnancy termination among reproductive aged women with XAI tool, conducting a comprehensive and empirical analysis. The experiment consists of five steps, as illustrated in Fig. 1 the workflows and methods that were followed in this study to develop a predictive model. After analysis the study objective, data processing, model development, model evaluation and model monitoring are executed as follows:

Fig. 1
figure 1

Model architecture

Data collection

The present study used data extracted from the East Africa DHS, which contained data collected from six East African countries: Ethiopia (2016), Kenya (2022), Rwanda (2019-20), Burundi (2016-17), Tanzania (2015–2016), and Uganda (2016) in five-year intervals that followed the same standard sampling procedure, questionnaires, data collection, and coding, making multicounty analysis possible and including information on pregnancies, demographic characteristics, medical history, lifestyle choices, socioeconomic factors and others (Table 1).

Table 1 East African DHS dataset description used for this study

Data preprocessing

Before class balancing, the extracted datasets included 202,810 instances with 27 features in total including the target variable. Data preprocessing processes such as data cleaning, data transformation, and managing class imbalances were conducted. The missing values were replaced using the data imputation approach, which uses the mean for continuous data and the mode for categorical data. The process of selecting specific features for this research involves identifying a problem, reviewing existing literature, and analyzing data from the DHS. Some of the features were transformed using data discretization. In order to choose the most relevant features, we have carried out four feature selection experiments utilizing the filter (mutual information and chi-square) and wrapper (sequential forward and backward) approaches. Consequently, the step- backward feature selection technique outperforms the other methods with an accuracy of 94.7% and produces 18 important features (see Table 2). The synthetic minority oversampling technique (SMOTE) was used to balance the class without losing any important data [17].

Table 2 Feature selected by feature selection techniques

Model development

Following the completion of all necessary data preprocessing activities, a total of 338,904 instances with 18 features were considered for further analysis with ML algorithms, specifically Bagging Classifier, Random Forest (RF), XGB Classifier, CatBoost Classifier, and Extra-Trees Classifier, played a crucial part in the experiment.

Model evaluation

Model evaluation is important for analyzing the performance of a machine learning model by using different evaluation metrics to identify strengths and weaknesses. It is crucial for assessing effectiveness in the early stages of research and for ongoing model monitoring. In this study we used Accuracy, Precision Recall, F1-score, and ROC-AUC‍ with k-fold validation. The dataset was divided into training and testing datasets at an 80/20% ratio with stratified shuffled split methods.

Model monitoring

XAI plays a crucial role in ensuring the reliability of machine learning models. In this study, the Explainable AI algorithms SHAP, Eli5, and LIME were utilized to enhance the understanding of predictive class outcomes. This serves as a guide for planning and playing interventions for various international, continental, and national organizations to identify which region is severely affected and which further research and policy amendments are urgently needed to reduce unsafe abortion.

Statistical analysis

The statistical analysis of the data was used to determine the underlying structure of pregnancy termination in the Eastern Africa DHS dataset by considering pregnancy type, age of reproductive women, residences, reproductive women’s country, and reproductive women’s education level. Table 3 illustrates that the prevalence of reproductive-aged women in six East Africa countries with some relevant feature only. This study on pregnancy termination distribution in East Africa reveals that women who experienced unwanted pregnancy were more likely to have an abortion. Reproductive-aged women age less than 18 years were 2.6 times more likely to have an abortion than reproductive-aged women age greater than 18 years in East Africa. One potential reason for the finding could be that younger women may have higher rates of unwanted pregnancies and abortions due to limited access to contraception and family planning services, as well as barriers such as economic resources, educational opportunities, and social support systems [18]. Women in rural areas had a higher likelihood of pregnancy termination compared to those in urban areas. A possible explanation for this finding is that women in rural areas may have restricted access to reproductive healthcare services, leading them to seek abortion as a way to avoid social stigma and exclusion related to premarital sex and pregnancy [19]. Reproductive-aged women in Uganda, Tanzania, Burundi, and Rwanda were also more likely to have an abortion. This could be explained by restricted access to modern contraceptives and reproductive health services [20]. Additionally, women with no education or only primary education had a higher history of abortion compared to those with secondary or higher education. The potential justification for this finding may be that individuals with higher levels of education typically possess greater control over their reproductive choices, leading to a better understanding of reproductive health and lower rates of unintended pregnancies and abortions compared to those with lower education levels [21].

Table 3 The distribution of individuals who have undergone pregnancy termination in six East Africa countries

Results

In this research, five ensemble ML models were used: the Bagging Classifier, Random Forest (RF), XGB Classifier, CatBoost Classifier, and Extra-Trees Classifier with the XAI tool was employed to predict and determine features associated with pregnancy termination. The data of 338,904 reproductive women were included in the dataset. The dataset used in the study initially contained 27 features and a target class that classifies the reproductive women abortion samples into Yes and No domains. For feature selection, a step-forward feature selection technique was used, and the class level of the original dataset was unbalanced; thus, the synthetic minority oversampling technique (SMOTE) was used. Three XAI techniques were used. The holdout method was used to divide the dataset into training and testing sets at a ratio of 80:20.

From Table 4 the RF model outperforms the other models in terms of accuracy in the test dataset before SMOTE analysis.

Table 4 Accuracy, precision, recall, F1_score, and ROC when performing cross-validation (k = 20) on the training and test datasets before SMOTE analysis

From Table 5 the RF model outperforms the other models in terms of accuracy in the test dataset. Because of its robustness to overfitting, capacity to manage high-dimensional data with numerous features, and strong default performance without the need for considerable hyperparameter tuning, it is less susceptible to noise and outliers and increases its performance compared to other machine learning algorithms. To interpret the classification technique, we used RF for these reasons [22]. The best-performing model’s ROC curve is shown in Fig. 2. Each graph has two curves: the baseline, which is a threshold that denotes a starting point or minimum for comparisons, and the ROC curve, which shows a prediction.

Table 5 Accuracy, precision, recall, F1_score, and ROC when performing cross-validation (k = 20) on the training and test datasets after SMOTE analysis
Fig. 2
figure 2

Receiver operating characteristic (ROC) curves of the RF classification models for both the training and testing datasets (model performance can be evaluated based on its false positive rate (FPR) and true positive rate (TPR). A curve that hugs the top left corner indicates a well-performing model with a low FPR and a high TPR, while points along the diagonal represent the baseline for a random classifier where FPR equals TPR)

Explanations of ML models

XAI is currently a key focus in research to improve transparency between the working model and the user. In particular, explainable AI (XAI) techniques are essential for clarifying the reasoning behind the system’s predictions and decisions when handling sensitive health data [23]. The lack of transparency in AI and ML systems has been a persistent issue in healthcare, but the use of interpretable techniques could help to overcome this challenge [24]. In this study we used XAI tools SHAP, Eli5, and LIME to describe how attributes contributed to the prediction model. The force plot for local interpretation generated by SHAP analysis is displayed in Fig. 3. According to the figure, the wealth index, current working experience, source of drinking water, sex of the household, education level, and marital status were the main socio-demographic attributes contributing to reproductive women’s pregnancy termination.

Fig. 3
figure 3

Beeswarm plot, ranked by mean absolute SHAP value (The figure uses color to show the contribution of each feature for the model, with red color representing the feature having high contribution for the model and blue color representing the feature having low contribution for the model). Figure 4 displays the results for reproductive-aged women undergoing pregnancy termination using a random forest ensemble algorithm. It is evident from the illustration that the features that are important for reproductive-aged women to terminate pregnancy are represented by red in the bar chart

Fig. 4
figure 4

Shap interpretation. Force plot (local interpretation) for random forest algorithm and the red color in the bar chart represents the attributes that contributed to a reproductive-aged women to have a pregnancy termination

The LIME technique explains the predictions made by machine learning models by building a local, interpretable model around the prediction point [25,26,27]. It provides interpretable explanations locally by extracting the subset of the original data that are most important for the prediction and fitting a simple model to explain the relationship between these. Figure 5 shows the LIME visualization for the RF model to predict, for instance, the pregnancy termination class. The predicted probabilities of test pregnancy termination Yes instance and pregnancy termination No instance are 32% and 68%, respectively. The most important features of this model are the use of contraception, the source of drinking water, the husband’s education, and the education level of reproductive women. The feature importance of these features is 6%, 4%, 3%, and 2%, respectively, according to the random forest model.

Fig. 5
figure 5

Explaining prediction using LIME

As observed in Table 6, the Eli5 model utilizes RF to determine the most important local contribution for predicting a test sample as a pregnancy termination. The table’s contribution column indicates the significance. According to the Eli5 methodology, the ML models provided reproductive women’s residence, wealth index, cooking style, marital status, insurance coverage, number of households, current working experience, body mass index, media coverage on television, gender of the household, and level of education more strongly associated factors than other features.

Table 6 Explanation of the local contribution of features through the Eli5 model in classifying a single test instance (predicted class = pregnancy termination yes) using the RF. The importance of the features is denoted by a positive contribution

Discussion

The factors that contribute to the occurrence of pregnancy termination must be recognized in order to successfully prevent maternal mortality and morbidity during pregnancy termination. Thus, wealth index, place of residence, maternal occupational status, education level, and contraceptive use among reproductive-aged women were the variables that were significant predictors of pregnancy termination. Multilevel binary logistic regression can be used to predict abortion as a preliminary decision support system [5]. The wealth index is a significant risk factor for abortion, and our findings support this finding. In Ghana [4], a cross-sectional study with 2114 datasets and binary logistic regression analyses were carried out, and age, occupational status, marital status, age at first sex, parity, place of residence, and region were identified as predictors and our findings support place of residence and occupational status. According to [10] in Ethiopia, binary logistic regression and cross-sectional studies showed that, at the 5% level of significance, pregnancy termination was strongly associated with age, education, marital status, occupation, region, and awareness of using contraceptives among 15,683 women, and our findings support education level, occupational status and contraceptive use as significant risk factors for abortion. To identify significant risk factors for abortion [16], descriptive and inferential statistical analyses (chi-square and Fisher exact tests) were used to examine the factors associated with pregnancy termination among reproductive-aged individuals. Due to the methodology (machine learning approach with XAI tool) and large number of sample size across six East Africa countries we have used the outcomes of our study have significant implications for reproductive healthcare in East Africa to identify women at risk and inform targeted interventions. The proposed model can assist healthcare providers in identifying countries with reproductive-aged women at greater risk of pregnancy termination, enabling targeted interventions and support. By leveraging ML techniques, we enhance the accuracy and robustness of the predictive model, leading to more reliable predictions.

Conclusion

In conclusion, our study was able to use explainable machine learning models to predict pregnancy termination among reproductive-aged women on DHS data from six countries in East Africa. Wealth index, contraception method, and reproductive woman residency were found to be the most crucial variables for the prediction of pregnancy termination. Accurate prediction of pregnancy termination enable healthcare providers, policymakers, and community organizations to provide contraceptive services and post-abortion care, AI-powered predictive modeling may reduce the number of unwanted pregnancies and pregnancy terminations in low- and middle-income countries. To effectively predict individual risk, it is essential to collect comprehensive data on pregnancy termination rates within the local area and train machine learning appropriately.

Limitations and recommendation

This study has potential limitations. As limitation, this finding may be biased due to the cross-sectional nature of the DHS data and the potential for recall bias in self-reported information on pregnancy termination, the study recognizes that it is difficult to determine causal relationships. Finally, we recommend that future researchers to incorporating additional maternal health indicators like chronic disease, and clinical dataset with model explainability techniques to predict pregnancy termination. Additionally, future research will develop artifact for end user with the help of hybrid machine learning algorithms with hyperparameter tuning and generating useful rule for policy maker and expertise for decision making in the region as well as in the world will be considered.

Data availability

The datasets generated and/or analyzed during the current study are available in http://dhsprogram.com/data/available-datasets.cfm

Abbreviations

DHS:

Demographic and Health Survey

EDHS:

Ethiopia Demographic and Health Survey

Eli5:

Explain Like I’m 5

LMICs:

Low and Middle Income Countries

LIME:

Local Interpretable Model-Agnostic Explanations

ML:

Machine Learning

RF:

Random Forest

ROC:

Receiver Operating Characteristic

SHAP:

Shapley Additive Explanations

SMOTE:

Synthetic Minority Over-sampling Technique

WHO:

World Health Organization

XAI:

Explainable Artificial Intelligence

References

  1. Tesfaye G, Hambisa MT, Semahegn A. Induced abortion and associated factors in health facilities of Guraghe Zone, southern Ethiopia. J Pregnancy. 2014. https://doi.org/10.1155/2014/295732.

    Article  PubMed  PubMed Central  Google Scholar 

  2. Ahinkorah BO. Socio-demographic determinants of pregnancy termination among adolescent girls and young women in selected high fertility countries in sub-saharan Africa. BMC Pregnancy Childbirth. 2021. https://doi.org/10.1186/s12884-021-04064-1.

    Article  PubMed  PubMed Central  Google Scholar 

  3. Huss B. Well-being before and after pregnancy termination: the consequences of abortion and miscarriage on satisfaction with various domains of life. J Happiness Stud. 2021. https://doi.org/10.1007/s10902-020-00350-5.

    Article  Google Scholar 

  4. Ahinkorah BO, Seidu AA, Hagan JE Jr, Archer AG, Budu E, Adoboi F, Schack T. Predictors of pregnancy termination among young women in Ghana: Empirical evidence from the 2014 demographic and health survey data. InHealthcare. 2021. https://doi.org/10.3390/healthcare9060705

  5. Aalmneh TS, Alem AZ, Tarekegn GE, Kassew T, Liyew B, Terefe B. Individual and community-level factors of abortion in East Africa: a multilevel analysis. Archives Public Health. 2022. https://doi.org/10.1186/s13690-022-00938-8.

    Article  Google Scholar 

  6. Ba DM, Zhang Y, Pasha-Razzak O, Khunsriraksakul C, Maiga M, Chinchilli VM, Ssentongo P. Factors associated with pregnancy termination in women of childbearing age in 36 low-and middle-income countries. PLOS Global Public Health. 2023. https://doi.org/10.1371/journal.pgph.0001509.

    Article  PubMed  PubMed Central  Google Scholar 

  7. Kozinszky Z, Boda K, Bártfai GY. Determinants of abortion among women undergoing artificial termination of pregnancy. Eur J Contracept Reproductive Health Care. 2001. https://doi.org/10.1080/ejc.6.3.145.152.

    Article  Google Scholar 

  8. Sahile AT, Beyene MS. Magnitude of Induced Abortion and Associated Factors among female students of Hawassa University, Southern Region, Ethiopia, 2019. J Pregnancy. 2020. https://doi.org/10.1155/2020/2856502.

    Article  PubMed  PubMed Central  Google Scholar 

  9. Woldeamanuel BT. Assessment of determinant factors of pregnancy termination among women of reproductive age group in Ethiopia: evidence from 2016 Ethiopian demographic and Health Survey. Int J Sex Reprod Health Care. 2019. https://doi.org/10.17352/ijsrhc.000005.

    Article  Google Scholar 

  10. Yemane GD, Korsa BB, Jemal SS. Multilevel analysis of factors associated with pregnancy termination in Ethiopia. Annals Med Surg 2022.https://doi.org/10.1016/j.amsu.2022.104120

  11. Hirani R, Noruzi K, Khuram H, Hussaini AS, Aifuwa EI, Ely KE, Lewis JM, Gabr AE, Smiley A, Tiwari RK, Etienne M. Artificial Intelligence and Healthcare: A Journey through History, Present Innovations, and Future Possibilities. Life. 2024. https://doi.org/10.3390/life14050557

  12. Mateen BA, Liley J, Denniston AK, Holmes CC, Vollmer SJ. Improving the quality of machine learning in health applications and clinical research. Nat Mach Intell. 2020. https://doi.org/10.1038/s42256-020-00239-1.

    Article  Google Scholar 

  13. Kourou K, Exarchos TP, Exarchos KP, Karamouzis MV, Fotiadis DI. Machine learning applications in cancer prognosis and prediction. Computational and structural biotechnology journal.2015. https://doi.org/10.1016/j.csbj.2014.11.005

  14. Badawy M, Ramadan N, Hefny HA. Healthcare predictive analytics using machine learning and deep learning techniques: a survey. J Electr Syst Inform Technol. 2023. https://doi.org/10.1186/s43067-023-00108-y.

    Article  Google Scholar 

  15. Hailegebreal S, Enyew EB, Simegn AE, Seboka BT, Gilano G, Kassa R, Ahmed MH, Haile Y, Haile F. Pooled prevalence and associated factors of pregnancy termination among youth aged 15–24 year women in East Africa: multilevel level analysis. PLoS ONE. 2022. https://doi.org/10.1371/journal.pone.0275349.

    Article  PubMed  PubMed Central  Google Scholar 

  16. Pun KM, Silwal K, Poudel A, Panthee B. Factors Associated with spontaneous abortion among Reproductive aged women. Int J Health Sci Res. 2021. https://doi.org/10.52403/ijhsr.20210937.

    Article  Google Scholar 

  17. Feng M, Wan L, Li Z, Qing L, Qi X. Fetal weight estimation via ultrasound using machine learning. IEEE Access. 2019. https://doi.org/10.1109/ACCESS.2019.2925803.

    Article  Google Scholar 

  18. Silumbwe A, Nkole T, Munakampe MN, Milford C, Cordero JP, Kriel Y, Zulu JM, Steyn PS. Community and health systems barriers and enablers to family planning and contraceptive services provision and use in Kabwe District, Zambia. BMC Health Serv Res. 2018. https://doi.org/10.1186/s12913-018-3136-4.

    Article  PubMed  PubMed Central  Google Scholar 

  19. Rahaman M, Das P, Chouhan P, Das KC, Roy A, Kapasia N. Examining the rural-urban divide in predisposing, enabling, and need factors of unsafe abortion in India using Andersen’s behavioral model. BMC Public Health. 2022. https://doi.org/10.1186/s12889-022-13912-4.

    Article  PubMed  PubMed Central  Google Scholar 

  20. Woldetsadik MA, Yoseph Y, Degu M. Exploring barriers to using modern contraceptives and accessing safe abortion care in women who terminated unintended pregnancies in Southern Ethiopia. BMC Womens Health. 2024. https://doi.org/10.1186/s12905-023-02793-3.

    Article  PubMed  PubMed Central  Google Scholar 

  21. Väisänen H. The association between education and induced abortion for three cohorts of adults in Finland. Popul Stud. 2015. https://doi.org/10.1080/00324728.2015.1083608.

    Article  Google Scholar 

  22. Logabiraman G, Ganesh D, Kumar MS, Kumar AV, Bhardwaj N. Heart disease prediction using machine learning algorithms. InMATEC Web of Conferences. 2024. https://doi.org/10.1051/matecconf/202439201122

  23. Sheu RK, Pardeshi MS. A survey on medical explainable AI (XAI): recent progress, explainability approach, human interaction and scoring system. Sensors. 2022. https://doi.org/10.3390/s22208068.

    Article  PubMed  PubMed Central  Google Scholar 

  24. Band SS, Yarahmadi A, Hsu CC, Biyari M, Sookhak M, Ameri R, Dehzangi I, Chronopoulos AT, Liang HW. Application of explainable artificial intelligence in medical health: a systematic review of interpretability methods. Inf Med Unlocked. 2023. https://doi.org/10.1016/j.imu.2023.101286.

    Article  Google Scholar 

  25. Chadaga K, Sampathila N, Prabhu S, Chadaga R. Multiple explainable approaches to predict the risk of Stroke using Artificial Intelligence. Information. 2023. https://doi.org/10.3390/info14080435.

    Article  Google Scholar 

  26. Bhandari M, Yogarajah P, Kavitha MS, Condell J. Exploring the capabilities of a lightweight CNN model in accurately identifying renal abnormalities: cysts, stones, and tumors, using LIME and SHAP. Applied Sciences. 2023. https://doi.org/10.3390/app13053125

  27. Chadaga K, Prabhu S, Sampathila N, Chadaga R, Bairy M. An explainable framework to predict child sexual abuse awareness in people using supervised machine learning models. J Technol Behav Sci. 2024. https://doi.org/10.1007/s41347-023-00343-0.

    Article  Google Scholar 

Download references

Acknowledgements

We would like to acknowledge the central statistics for providing us the data with a data set description.

Funding

This research received no specific grant from any funding agency in the public, commercial or not-for-profit sectors.

Author information

Authors and Affiliations

Authors

Contributions

Gizachew conceived and designed the study, participated in data analysis, wrote the report, finished the model refinements, carried out a deep analysis of the experiment results, drafted and revised the initial manuscript, and revised the manuscript; Belayneh designed the study, managed the quality and progress of the whole study, and revised the manuscript; all authors read and approved the final manuscript.

Corresponding author

Correspondence to Gizachew Mulu Setegn.

Ethics declarations

Consent for publication

Not applicable.

Competing interests

The authors declare no competing interests.

Clinical trial

Not applicable.

Additional information

Publisher’s note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Setegn, G.M., Dejene, B.E. Explainable artificial intelligence models for predicting pregnancy termination among reproductive-aged women in six east African countries: machine learning approach. BMC Pregnancy Childbirth 24, 600 (2024). https://doi.org/10.1186/s12884-024-06773-9

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1186/s12884-024-06773-9

Keywords