When Benchmarks Do Not Travel: External Validation of Maternal Risk Prediction Models in Nigeria
Open Access
- 18 October 2026
- journal article
- Published by IntSys Research in Journal of Future Artificial Intelligence and Technologies
- Vol. 3 (3) , 484-506
Abstract
Machine learning models for maternal risk triage are developed largely using public datasets from South and East Asia, yet their transferability to clinical settings in Africa remains insufficiently examined. This study evaluates the external validity of benchmark-based maternal risk prediction models in Nigeria, focusing on discrimination, calibration, distributional shift, and subgroup performance. Five data sources were harmonized into a common six-variable schema comprising age, systolic and diastolic blood pressure, heart rate, blood glucose, and body temperature, supplemented by three derived hemodynamic variables. After removing 1,987 exact duplicate records and treating physiologically implausible values as missing, the final dataset comprised 1,524 external records from Mendeley and Kaggle/UCI and 382 clinical records from three hospitals in southwestern Nigeria. A stacking ensemble combining random forest, gradient boosting, and support vector machine base learners with a logistic regression meta-learner was evaluated through external validation, within-population comparison, and reverse transfer. Distributional shift was assessed using the population stability index, Kolmogorov–Smirnov statistics, and a domain discriminator. The ensemble achieved an internal AUROC of 0.964 (95% CI: 0.955–0.972), which decreased to 0.865 (95% CI: 0.822–0.905) on the primary Nigerian validation set. Expected calibration error increased from 0.045 to 0.234, while sensitivity at 80% specificity declined from 0.957 to 0.745. Transfer performance varied across model classes and benchmark sources: logistic regression showed minimal discrimination loss, and the Kaggle/UCI-trained model retained an AUROC of 0.920, whereas the Mendeley-trained model achieved 0.816. In the highest blood-glucose tertile, AUROC was 0.581 (95% CI: 0.430–0.732), with a false-positive rate of 0.667, indicating substantial subgroup-specific limitations. These findings suggest that pooled discrimination alone is insufficient to guide deployment; calibration, subgroup performance, and source-specific differences should also inform assessments of clinical transferability.Keywords
This publication has 29 references indexed in Scilit:
- Early detection of high risk pregnancies using clinical and social data to improve health outcomesnpj Digital Public Health, 2026
- Strengthening primary health care in Nigeria: a means to achieve universal health coverageBMJ Global Health, 2025
- Clinical decision support systems for maternity care: a systematic review and meta-analysiseClinicalMedicine, 2024
- TRIPOD+AI statement: updated guidance for reporting clinical prediction models that use regression or machine learning methodsBMJ, 2024
- IoT Based Risk Level Prediction Model For Maternal Health Care In The Context Of Bangladesh2020
- The myth of generalisability in clinical research and machine learning in health careThe Lancet Digital Health, 2020
- Calculating the sample size required for developing a clinical prediction modelBMJ, 2020
- Random ForestsMachine Learning, 2001
- Support-Vector NetworksMachine Learning, 1995
- Stacked generalizationNeural Networks, 1992