Package: xaiHydro 0.1.0
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.
Authors:
xaiHydro_0.1.0.tar.gz
xaiHydro_0.1.0.zip(r-4.7-any)xaiHydro_0.1.0.zip(r-4.6-any)xaiHydro_0.1.0.zip(r-4.5-any)
xaiHydro_0.1.0.tgz(r-4.6-any)xaiHydro_0.1.0.tgz(r-4.5-any)
xaiHydro_0.1.0.tar.gz(r-4.7-any)xaiHydro_0.1.0.tar.gz(r-4.6-any)
xaiHydro_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
xaiHydro/json (API)
| # Install 'xaiHydro' in R: |
| install.packages('xaiHydro', repos = c('https://sadikulislamiasri-hub.r-universe.dev', 'https://cloud.r-project.org')) |
This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.
Last updated from:6241613e6f. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 208 | ||
| source / vignettes | OK | 266 | ||
| linux-release | OK | 205 | ||
| macos-release | OK | 104 | ||
| macos-oldrel | OK | 107 | ||
| windows-devel | OK | 87 | ||
| windows-release | OK | 81 | ||
| windows-oldrel | OK | 81 | ||
| wasm-release | OK | 131 |
Exports:hydro_breakdownhydro_explainerhydro_importancehydro_limehydro_pdphydro_residualshydro_shaphydro_xai_reportplot_breakdown_hydroplot_importance_hydroplot_lime_hydroplot_pdp_hydroplot_shap_summaryplot_shap_waterfallsim_drought_datasim_streamflow_data
Dependencies:clicodetoolscpp11DALEXdigestdoFuturedplyrfarverforeachfuturefuture.applygenericsggplot2globalsgluegridExtragtableiBreakDowningredientsisobanditeratorskernelshaplabelinglifecyclelistenvmagrittrparallellypatchworkpillarpkgconfigpurrrR6RColorBrewerrlangS7scalesstringistringrtibbletidyrtidyselectutf8vctrsviridisLitewithr
Last update: 2026-09-24
Started: 2026-09-24
Last update: 2026-09-24
Started: 2026-09-24
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Prediction breakdown profile for a single observation | hydro_breakdown |
| Create a hydrology-aware DALEX explainer | hydro_explainer |
| Permutation-based variable importance for hydro-climate models | hydro_importance |
| Local LIME explanation for a single observation | hydro_lime |
| Compute partial dependence or ALE profiles | hydro_pdp |
| Four-panel residual diagnostics for hydro-climate models | hydro_residuals |
| Compute SHAP values for a hydro-climate model | hydro_shap |
| Generate a full XAI diagnostic report panel | hydro_xai_report |
| Plot prediction breakdown for a single observation | plot_breakdown_hydro |
| Plot permutation variable importance | plot_importance_hydro |
| Plot LIME feature effects for a single observation | plot_lime_hydro |
| Plot PDP or ALE profiles | plot_pdp_hydro |
| SHAP beeswarm summary plot | plot_shap_summary |
| SHAP waterfall plot for a single observation | plot_shap_waterfall |
| Synthetic monthly drought index dataset | sim_drought_data |
| Synthetic daily streamflow dataset | sim_streamflow_data |