Answers are grounded in this paper and cite their sources.
Background Rwanda has experienced a dramatic increase in contraceptive prevalence, rising from 10% to 58% between 2005 and 2020. Despite this progress, the complex socio-demographic factors influencing contraceptive choice among Rwandan women remain incompletely characterised. Traditional statistical methods struggle to capture the nonlinear interactions inherent in survey data. Machine learning (ML) offers a data-driven alternative that may reveal hidden patterns and improve predictive performance. Methods Using data from the 2020 Rwanda Demographic and Health Survey (RDHS), we applied five supervised ML classifiers, namely Random Forest (RF), Logistic Regression (LR), Support Vector Machine (SVM), Decision Tree (DT), and K-Nearest Neighbours (KNN), to classify current contraceptive use among women of reproductive age (15–49 years). The dataset comprised 8,824 observations with 57 features following pre-processing. We used all 57 features for model training; we then applied permutation feature importance (threshold > 0.003) to the tuned Decision Tree model to identify the top ten predictors. Grid Search Cross-Validation (GridSearchCV) was applied for hyperparameter optimisation. Results Prior to hyperparameter tuning, RF achieved the highest accuracy (81%), followed by LR and SVM (79% each), DT (74%), and KNN (68%). Following GridSearchCV optimisation, RF remained the strongest classifier overall (accuracy: 81%, ROC-AUC: 0.90), while the tuned DT model showed the largest improvement and reached comparable performance (accuracy: 80%, precision: 0.82, recall: 0.80, F1: 0.80, ROC-AUC: 0.87). Key predictors identified included: decision-making on contraceptive non-use, number of living children, side-effect counselling, respondent's age, recent sexual activity, husband's desire for children, partner's age, and fertility preference. Conclusions Random Forest achieved the strongest overall performance for predicting contraceptive use in the Rwandan DHS context, while hyperparameter-tuned Decision Trees performed comparably with an interpretable model structure. Permutation-based feature importance reveals actionable predictors, specifically fertility-related factors, partner factors, contraceptive decision-making, and side-effect counselling, that should inform targeted family planning interventions. ML-based predictive models represent a valuable complement to conventional epidemiological tools for reproductive health programme planning.
No takes yet. Share an insight, caveat, or question.
Rubayita et al. (2026) studied this question.
Synapse has enriched 8 closely related papers on similar clinical questions. Consider them for comparative context: