{
  "_id": "6ab6b46499f7aa8c6aa2f06b",
  "Package": "xaiHydro",
  "Type": "Package",
  "Title": "Explainable AI Tools for Hydro-Climate Modelling",
  "Version": "0.1.0",
  "Date": "2026-09-09",
  "Authors@R": "c(\nperson(\"Sadikul\", \"Islam\",\nemail   = \"sadikul.islamiasri@gmail.com\",\nrole    = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0003-2924-7122\")),\nperson(\"Shakir\",  \"Ali\",\nrole    = \"aut\"),\nperson(\"Rajesh\",  \"Kaushal\",\nrole    = \"aut\"))",
  "Description": "Provides a unified workflow for applying Explainable\nArtificial Intelligence (XAI) methods to hydro-climate\npredictive models. Functions implement a permutation-based\nMonte Carlo SHAP estimator (Strumbelj and Kononenko (2014)\n<doi:10.1007/s10115-013-0679-x>; Lundberg and Lee (2017)\n<doi:10.48550/arXiv.1705.07874>), a self-contained locally\nweighted linear surrogate LIME (Ribeiro et al. (2016)\n<doi:10.1145/2939672.2939778>), and Partial Dependence Plots\nwith Accumulated Local Effects (Friedman (2001)\n<doi:10.1214/aos/1013203451>; Apley and Zhu (2020)\n<doi:10.1111/rssb.12377>) with hydrology-specific\nvisualisations and interpretation utilities. Supports any model\nobject compatible with the 'DALEX' explainer interface (Biecek\n(2018) <doi:10.18637/jss.v097.i01>), including random forests,\ngradient boosting, and neural networks trained on streamflow,\ndrought indices, flood risk, or evapotranspiration data.\nHydrology-standard performance metrics Nash-Sutcliffe\nEfficiency (NSE, Nash and Sutcliffe (1970)\n<doi:10.1016/0022-1694(70)90255-6>) and Kling-Gupta Efficiency\n(KGE, Gupta et al. (2009) <doi:10.1016/j.jhydrol.2009.08.003>)\nare computed alongside standard regression metrics. Designed to\naccompany the book chapter: Islam, S., Dheeraj, A., Ali, S.,\nKaushal, R. and Venkatesh, G. (2026). Explainable Artificial\nIntelligence for Hydro-Climatic Modelling: Methods,\nApplications, and Implementation Using the xaiHydro R Package.\nIn Chandniha, S. K. et al. (Eds.), Hydro-Climate Analytics:\nRemote Sensing, AI and Geospatial Modelling. Springer.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "NeedsCompilation": "no",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Config/roxygen2/version": "8.1.0",
  "Packaged": {
    "Date": "2026-09-25 17:46:19 UTC",
    "User": "root"
  },
  "Author": "Sadikul Islam [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-2924-7122>), Shakir Ali [aut],\nRajesh Kaushal [aut]",
  "Maintainer": "Sadikul Islam <sadikul.islamiasri@gmail.com>",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://sadikulislamiasri-hub.r-universe.dev",
  "Date/Publication": "2026-09-24 15:20:07 UTC",
  "RemoteUrl": "https://github.com/cran/xaiHydro",
  "RemoteRef": "HEAD",
  "RemoteSha": "6241613e6f18a04212ccf3ede08024d3dae5cd72",
  "_user": "sadikulislamiasri-hub",
  "_type": "src",
  "_file": "xaiHydro_0.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/abf99a6830f5c301dee78163e50d7873af6a965283e2e75ae18d467e845b9ffa",
  "_filesize": 264272,
  "_sha256": "abf99a6830f5c301dee78163e50d7873af6a965283e2e75ae18d467e845b9ffa",
  "_expires": "2027-01-03T17:50:26.000Z",
  "_created": "2026-09-25T17:46:19.000Z",
  "_published": "2026-09-25T17:50:28.144Z",
  "_jobs": [
    {
      "job": 108184458553,
      "time": 208,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10880132157"
    },
    {
      "job": 108184458609,
      "time": 205,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10879382557"
    },
    {
      "job": 108184458627,
      "time": 107,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10880027007"
    },
    {
      "job": 108184458811,
      "time": 104,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10879497166"
    },
    {
      "job": 108182913600,
      "time": 266,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10880106663"
    },
    {
      "job": 108184458465,
      "time": 131,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10879457371"
    },
    {
      "job": 108184458549,
      "time": 87,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10878997874"
    },
    {
      "job": 108184458482,
      "time": 81,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10879462141"
    },
    {
      "job": 108184458758,
      "time": 81,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10879532169"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/sadikulislamiasri-hub/actions/runs/36168738876",
  "_status": "success",
  "_upstream": "https://github.com/cran/xaiHydro",
  "_commit": {
    "id": "6241613e6f18a04212ccf3ede08024d3dae5cd72",
    "author": "Sadikul Islam <sadikul.islamiasri@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.1.0\n",
    "time": 1790263207
  },
  "_maintainer": {
    "name": "Sadikul Islam",
    "email": "sadikul.islamiasri@gmail.com",
    "login": "sadikulislamiasri-hub",
    "description": "",
    "uuid": 295794536,
    "orcid": "0000-0003-2924-7122"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "DALEX",
      "version": ">= 2.4.0",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "version": ">= 3.4.0",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "version": ">= 1.1.0",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "version": ">= 1.3.0",
      "role": "Imports"
    },
    {
      "package": "patchwork",
      "version": ">= 1.2.0",
      "role": "Imports"
    },
    {
      "package": "cli",
      "version": ">= 3.6.0",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "version": ">= 1.1.0",
      "role": "Imports"
    },
    {
      "package": "randomForest",
      "version": ">= 4.7.0",
      "role": "Suggests"
    },
    {
      "package": "xgboost",
      "version": ">= 1.7.0",
      "role": "Suggests"
    },
    {
      "package": "ranger",
      "version": ">= 0.16.0",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "version": ">= 1.45",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "version": ">= 2.25",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-39",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.1.0",
      "date": "2026-09-24"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "sadikulislamiasri-hub",
      "count": 1,
      "uuid": 295794536
    }
  ],
  "_userbio": {
    "uuid": 295794536,
    "type": "user",
    "name": "sadikulislamiasri-hub",
    "followers": 0
  },
  "_downloads": {
    "count": 16,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/xaiHydro"
  },
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/xaiHydro.html"
  ],
  "_realowner": "sadikulislamiasri-hub",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-09-24"
    }
  ],
  "_exports": [
    "hydro_breakdown",
    "hydro_explainer",
    "hydro_importance",
    "hydro_lime",
    "hydro_pdp",
    "hydro_residuals",
    "hydro_shap",
    "hydro_xai_report",
    "plot_breakdown_hydro",
    "plot_importance_hydro",
    "plot_lime_hydro",
    "plot_pdp_hydro",
    "plot_shap_summary",
    "plot_shap_waterfall",
    "sim_drought_data",
    "sim_streamflow_data"
  ],
  "_help": [
    {
      "page": "hydro_breakdown",
      "title": "Prediction breakdown profile for a single observation",
      "topics": [
        "hydro_breakdown"
      ]
    },
    {
      "page": "hydro_explainer",
      "title": "Create a hydrology-aware DALEX explainer",
      "topics": [
        "hydro_explainer"
      ]
    },
    {
      "page": "hydro_importance",
      "title": "Permutation-based variable importance for hydro-climate models",
      "topics": [
        "hydro_importance"
      ]
    },
    {
      "page": "hydro_lime",
      "title": "Local LIME explanation for a single observation",
      "topics": [
        "hydro_lime"
      ]
    },
    {
      "page": "hydro_pdp",
      "title": "Compute partial dependence or ALE profiles",
      "topics": [
        "hydro_pdp"
      ]
    },
    {
      "page": "hydro_residuals",
      "title": "Four-panel residual diagnostics for hydro-climate models",
      "topics": [
        "hydro_residuals"
      ]
    },
    {
      "page": "hydro_shap",
      "title": "Compute SHAP values for a hydro-climate model",
      "topics": [
        "hydro_shap"
      ]
    },
    {
      "page": "hydro_xai_report",
      "title": "Generate a full XAI diagnostic report panel",
      "topics": [
        "hydro_xai_report"
      ]
    },
    {
      "page": "plot_breakdown_hydro",
      "title": "Plot prediction breakdown for a single observation",
      "topics": [
        "plot_breakdown_hydro"
      ]
    },
    {
      "page": "plot_importance_hydro",
      "title": "Plot permutation variable importance",
      "topics": [
        "plot_importance_hydro"
      ]
    },
    {
      "page": "plot_lime_hydro",
      "title": "Plot LIME feature effects for a single observation",
      "topics": [
        "plot_lime_hydro"
      ]
    },
    {
      "page": "plot_pdp_hydro",
      "title": "Plot PDP or ALE profiles",
      "topics": [
        "plot_pdp_hydro"
      ]
    },
    {
      "page": "plot_shap_summary",
      "title": "SHAP beeswarm summary plot",
      "topics": [
        "plot_shap_summary"
      ]
    },
    {
      "page": "plot_shap_waterfall",
      "title": "SHAP waterfall plot for a single observation",
      "topics": [
        "plot_shap_waterfall"
      ]
    },
    {
      "page": "sim_drought_data",
      "title": "Synthetic monthly drought index dataset",
      "topics": [
        "sim_drought_data"
      ]
    },
    {
      "page": "sim_streamflow_data",
      "title": "Synthetic daily streamflow dataset",
      "topics": [
        "sim_streamflow_data"
      ]
    }
  ],
  "_readme": "https://github.com/cran/xaiHydro/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "codetools",
    "cpp11",
    "DALEX",
    "digest",
    "doFuture",
    "dplyr",
    "farver",
    "foreach",
    "future",
    "future.apply",
    "generics",
    "ggplot2",
    "globals",
    "glue",
    "gridExtra",
    "gtable",
    "iBreakDown",
    "ingredients",
    "isoband",
    "iterators",
    "kernelshap",
    "labeling",
    "lifecycle",
    "listenv",
    "magrittr",
    "parallelly",
    "patchwork",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "xaiHydro-methods.Rmd",
      "filename": "xaiHydro-methods.html",
      "title": "xaiHydro Methods Reference",
      "author": "Sadikul Islam",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Method 1: SHAP (SHapley Additive exPlanations)",
        "Mathematical definition",
        "Key properties",
        "Computational implementation",
        "Method 2: LIME",
        "Implementation",
        "Selecting kernel_width",
        "Method 3: Partial Dependence Plots (PDP)",
        "Limitation: correlated predictors",
        "Method 4: Accumulated Local Effects (ALE)",
        "When to use ALE vs PDP",
        "Method 5: Permutation variable importance",
        "Definition",
        "Choosing the right XAI method",
        "Reporting checklist for book chapters",
        "References"
      ],
      "created": "2026-09-24 15:20:07",
      "modified": "2026-09-24 15:20:07",
      "commits": 1
    },
    {
      "source": "xaiHydro-intro.Rmd",
      "filename": "xaiHydro-intro.html",
      "title": "xaiHydro: Explainable AI Tools for Hydro-Climate Modelling",
      "author": "Sadikul Islam",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Background",
        "The xaiHydro package",
        "Scope of this vignette",
        "Installation",
        "Simulated datasets",
        "Daily streamflow dataset",
        "Monthly drought index dataset",
        "Model training",
        "Random Forest — streamflow prediction",
        "XGBoost — drought index prediction",
        "The hydro explainer",
        "Creating an explainer",
        "Explainer for XGBoost (custom predict wrapper)",
        "SHAP Analysis",
        "Computing SHAP values",
        "Global SHAP summary plot",
        "Single-observation waterfall",
        "LIME Explanation",
        "Partial Dependence Profiles",
        "PDP — marginal effects",
        "ALE — preferred for correlated predictors",
        "Variable Importance",
        "Prediction Breakdown",
        "Residual Diagnostics",
        "Full automated XAI report",
        "Complete drought index case study",
        "Interpreting XAI results in a hydro-climate context",
        "Physical interpretation of SHAP",
        "ALE vs PDP selection guide",
        "LIME local R² threshold",
        "Session information",
        "References"
      ],
      "created": "2026-09-24 15:20:07",
      "modified": "2026-09-24 15:20:07",
      "commits": 1
    }
  ],
  "_score": 3,
  "_indexed": true,
  "_nocasepkg": "xaihydro",
  "_universes": [
    "sadikulislamiasri-hub"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-09-25T17:49:52.000Z",
      "distro": "resolute",
      "commit": "6241613e6f18a04212ccf3ede08024d3dae5cd72",
      "fileid": "https://r2.ropensci.org/419e15b5eb7beb46c01ec71ae1e9f676601209a4356144a533bb266f864b8ef3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sadikulislamiasri-hub/actions/runs/36168738876"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-09-25T17:49:50.000Z",
      "distro": "resolute",
      "commit": "6241613e6f18a04212ccf3ede08024d3dae5cd72",
      "fileid": "https://r2.ropensci.org/8fa2ff5f21f551f46736d7754177ad6aba41f717499ca98670ea8e8d8d9c66a2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sadikulislamiasri-hub/actions/runs/36168738876"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-09-25T17:48:18.000Z",
      "commit": "6241613e6f18a04212ccf3ede08024d3dae5cd72",
      "fileid": "https://r2.ropensci.org/cfeb331a97d4503a322e020491bb9c8bb3af46a7e36b57d836fff6632d20a052",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sadikulislamiasri-hub/actions/runs/36168738876"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-09-25T17:48:15.000Z",
      "commit": "6241613e6f18a04212ccf3ede08024d3dae5cd72",
      "fileid": "https://r2.ropensci.org/67c3a57787514ecefc27fe276f26e2073f6947d3acf36666ee09936abdbef033",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sadikulislamiasri-hub/actions/runs/36168738876"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-09-25T17:48:52.000Z",
      "commit": "6241613e6f18a04212ccf3ede08024d3dae5cd72",
      "fileid": "https://r2.ropensci.org/51814806519cffd693bba6715a4c4d1ca5ed4d293913912bd7d3cd47f556d683",
      "status": "success",
      "buildurl": "https://github.com/r-universe/sadikulislamiasri-hub/actions/runs/36168738876"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-09-25T17:47:46.000Z",
      "commit": "6241613e6f18a04212ccf3ede08024d3dae5cd72",
      "fileid": "https://r2.ropensci.org/1edc258734c4b7710f20c83b410a7b2021c04caa9419b7d0580a8d972c6bc548",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sadikulislamiasri-hub/actions/runs/36168738876"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-09-25T17:47:42.000Z",
      "commit": "6241613e6f18a04212ccf3ede08024d3dae5cd72",
      "fileid": "https://r2.ropensci.org/238dfd8afeb394469c096baf04f520f20b61c5e0c07b9ed842b2f5b56634c805",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sadikulislamiasri-hub/actions/runs/36168738876"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-09-25T17:47:47.000Z",
      "commit": "6241613e6f18a04212ccf3ede08024d3dae5cd72",
      "fileid": "https://r2.ropensci.org/31515a3c5052d9520dccd6fdab7d4a3921edb5cb835df8f3e8dc99768e96b259",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sadikulislamiasri-hub/actions/runs/36168738876"
    }
  ]
}