Benchmarking probabilistic neural networks and their uncertainty for groundwater exploration screening in Eastern Rwanda
This repository provides a reproducible geospatial and probabilistic deep-learning workflow for groundwater potential mapping, predictive uncertainty quantification and groundwater exploration screening in Eastern Province, Rwanda. The workflow benchmarks two probabilistic neural network approaches, Monte Carlo (MC) Dropout and Bayesian Neural Networks (BNN-Flipout), alongside their ensemble and conventional machine-learning and statistical baselines, including logistic regression, generalised additive models (GAM), random forest, gradient boosting and a deep ensemble. The analysis integrates hydrogeological, topographic, hydrological, soil, geological, land-cover and vegetation-related conditioning factors within a spatial modelling framework. The revised workflow (v4) incorporates leakage-free spatial validation using 10-km spatial blocks, fold-specific pseudo-absence sampling, open-water masking, independent test evaluation, spatial cross-validation, model calibration assessment, permutation-based feature importance, KernelSHAP interpretation and sensitivity analyses. It also evaluates predictive uncertainty, including epistemic and aleatoric components, Monte Carlo convergence, area of applicability and the robustness of groundwater potential screening classifications. The accompanying materials include the Python Jupyter Notebook, publication-ready figures, supplementary visualisations and tabulated model evaluation results. The workflow generates spatial groundwater potential predictions, uncertainty estimates and screening classes to support the interpretation and prioritisation of groundwater exploration areas in data-scarce aquifer environments. The results demonstrate the importance of evaluating predictive performance, spatial generalisation and uncertainty together. Under the revised spatial cross-validation design, the random forest achieved a mean AUC of 0.863, compared with 0.819 for MC Dropout, 0.820 for BNN-Flipout and 0.827 for the probabilistic ensemble. The independent test results also highlight the challenges of spatial generalisation in data-scarce environments. The materials are intended to support research reproducibility, methodological comparison and further applications of uncertainty-aware machine learning in groundwater resource assessment. Contents GWPM_Rwanda_uncertainty_v4_revision.ipynb: Main Python analysis workflow. Figures_and_tables_v4.zip: Publication figures, supplementary figures and analytical tables. Computational environment: Python, TensorFlow/Keras, TensorFlow Probability, scikit-learn, GeoPandas, Rasterio and Matplotlib. The notebook is designed for Google Colab and supports GPU acceleration. Study area: Eastern Province, Rwanda. Version: 4.0 (revised workflow).
Authors
- Elias Nyandwi (ORCID: https://orcid.org/0000-0002-3548-9980)
- Telesphore Kabera (ORCID: https://orcid.org/0000-0001-5172-3194)
- Hyacinthe Ngwijabagabo (ORCID: https://orcid.org/0000-0003-1530-9302)
Institutions
- University of Rwanda (RW)
- College of Science and Technology - University of Rwanda (RW)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-12-02
- DOI
- https://doi.org/10.5281/zenodo.24756176
- Primary Topic
- Groundwater and Watershed Analysis
- Type
- preprint