xaiHydro: Explainable AI Tools for Hydro-Climate Modelling

Provides a unified workflow for applying Explainable Artificial Intelligence (XAI) methods to hydro-climate predictive models. Functions implement a permutation-based Monte Carlo SHAP estimator (Strumbelj and Kononenko (2014) <doi:10.1007/s10115-013-0679-x>; Lundberg and Lee (2017) <doi:10.48550/arXiv.1705.07874>), a self-contained locally weighted linear surrogate LIME (Ribeiro et al. (2016) <doi:10.1145/2939672.2939778>), and Partial Dependence Plots with Accumulated Local Effects (Friedman (2001) <doi:10.1214/aos/1013203451>; Apley and Zhu (2020) <doi:10.1111/rssb.12377>) with hydrology-specific visualisations and interpretation utilities. Supports any model object compatible with the 'DALEX' explainer interface (Biecek (2018) <doi:10.18637/jss.v097.i01>), including random forests, gradient boosting, and neural networks trained on streamflow, drought indices, flood risk, or evapotranspiration data. Hydrology-standard performance metrics Nash-Sutcliffe Efficiency (NSE, Nash and Sutcliffe (1970) <doi:10.1016/0022-1694(70)90255-6>) and Kling-Gupta Efficiency (KGE, Gupta et al. (2009) <doi:10.1016/j.jhydrol.2009.08.003>) are computed alongside standard regression metrics. Designed to accompany the book chapter: Islam, S., Dheeraj, A., Ali, S., Kaushal, R. and Venkatesh, G. (2026). Explainable Artificial Intelligence for Hydro-Climatic Modelling: Methods, Applications, and Implementation Using the xaiHydro R Package. In Chandniha, S. K. et al. (Eds.), Hydro-Climate Analytics: Remote Sensing, AI and Geospatial Modelling. Springer.

Version: 0.1.0
Depends: R (≥ 4.1.0)
Imports: DALEX (≥ 2.4.0), ggplot2 (≥ 3.4.0), dplyr (≥ 1.1.0), tidyr (≥ 1.3.0), patchwork (≥ 1.2.0), cli (≥ 3.6.0), rlang (≥ 1.1.0)
Suggests: randomForest (≥ 4.7.0), xgboost (≥ 1.7.0), ranger (≥ 0.16.0), testthat (≥ 3.0.0), knitr (≥ 1.45), rmarkdown (≥ 2.25)
Published: 2026-09-24
DOI: 10.32614/CRAN.package.xaiHydro (may not be active yet)
Author: Sadikul Islam ORCID iD [aut, cre], Shakir Ali [aut], Rajesh Kaushal [aut]
Maintainer: Sadikul Islam <sadikul.islamiasri at gmail.com>
License: GPL-3
NeedsCompilation: no
Materials: README, NEWS
CRAN checks: xaiHydro results

Documentation:

Reference manual: xaiHydro.html , xaiHydro.pdf
Vignettes: xaiHydro: Explainable AI for Hydro-Climate Models (source, R code)
xaiHydro Methods Reference (source, R code)

Downloads:

Package source: xaiHydro_0.1.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available

Linking:

Please use the canonical form https://CRAN.R-project.org/package=xaiHydro to link to this page.