{
  "_id": "6a1eec53b401979e73412549",
  "Package": "ale",
  "Title": "Interpretable Machine Learning and Statistical Inference with\nAccumulated Local Effects (ALE)",
  "Version": "0.5.3.20260217",
  "Authors@R": "c(\nperson(\"Chitu\", \"Okoli\", , \"Chitu.Okoli@skema.edu\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0001-5574-7572\"))\n)",
  "Description": "Accumulated Local Effects (ALE) were initially developed\nas a model-agnostic approach for global explanations of the\nresults of black-box machine learning algorithms. ALE has a key\nadvantage over other approaches like partial dependency plots\n(PDP) and SHapley Additive exPlanations (SHAP): its values\nrepresent a clean functional decomposition of the model. As\nsuch, ALE values are not affected by the presence or absence of\ninteractions among variables in a mode. Moreover, its\ncomputation is relatively rapid. This package reimplements the\nalgorithms for calculating ALE data and develops highly\ninterpretable visualizations for plotting these ALE values. It\nalso extends the original ALE concept to add bootstrap-based\nconfidence intervals and ALE-based statistics that can be used\nfor statistical inference. For more details, see Okoli, Chitu.\n2023. “Statistical Inference Using Machine Learning and\nClassical Techniques Based on Accumulated Local Effects (ALE).”\narXiv. <doi:10.48550/arXiv.2310.09877>.",
  "License": "MIT + file LICENSE",
  "Language": "en-ca",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "VignetteBuilder": "knitr, quarto",
  "URL": "https://github.com/tripartio/ale, https://tripartio.github.io/ale/",
  "BugReports": "https://github.com/tripartio/ale/issues",
  "Config/testthat/edition": "3",
  "Config/testthat/parallel": "true",
  "Config/testthat/start-first": "ALE-numerical, ModelBoot, ALE-categorical,\nALEpDist, ALE-binary, ALEPlot-gold-standard",
  "LazyData": "true",
  "Config/pak/sysreqs": "cmake make libicu-dev",
  "Repository": "https://tripartio.r-universe.dev",
  "Date/Publication": "2026-02-18 09:52:28 UTC",
  "RemoteUrl": "https://github.com/tripartio/ale",
  "RemoteRef": "HEAD",
  "RemoteSha": "c8f1d6d5da302e6944320d81f24fea57526d7ef9",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-19 09:23:24 UTC",
    "User": "root"
  },
  "Author": "Chitu Okoli [aut, cre] (ORCID: <https://orcid.org/0000-0001-5574-7572>)",
  "Maintainer": "Chitu Okoli <Chitu.Okoli@skema.edu>",
  "MD5sum": "2442c345e7cfe175750e82b7047f1872",
  "_user": "tripartio",
  "_type": "src",
  "_file": "ale_0.5.3.20260217.tar.gz",
  "_fileid": "7ec8ac93110a32c41315b71c805aa0b5d567ff8d8558763b2509b222c7eeaca5",
  "_filesize": 7686830,
  "_sha256": "7ec8ac93110a32c41315b71c805aa0b5d567ff8d8558763b2509b222c7eeaca5",
  "_created": "2026-05-19T09:23:24.000Z",
  "_published": "2026-06-02T14:44:35.597Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79098170603,
      "time": 385,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7079786991"
    },
    {
      "job": 79098170801,
      "time": 409,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7079795597"
    },
    {
      "job": 79098170815,
      "time": 496,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7079809354"
    },
    {
      "job": 79098170596,
      "time": 394,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7079780982"
    },
    {
      "job": 79098170244,
      "time": 539,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7079649049"
    },
    {
      "job": 79098169245,
      "time": 139,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7361038642"
    },
    {
      "job": 79098170126,
      "time": 405,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7079793636"
    },
    {
      "job": 79098170415,
      "time": 436,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7079804796"
    },
    {
      "job": 79098170680,
      "time": 435,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7079804479"
    }
  ],
  "_buildurl": "https://github.com/r-universe/tripartio/actions/runs/26087878260",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/tripartio/ale",
  "_commit": {
    "id": "c8f1d6d5da302e6944320d81f24fea57526d7ef9",
    "author": "Chitu Okoli <chitu.okoli@skema.edu>",
    "committer": "GitHub <noreply@github.com>",
    "message": "doc: add pd_diamonds_special.0.5.3.rds",
    "time": 1771408348
  },
  "_maintainer": {
    "name": "Chitu Okoli",
    "email": "chitu.okoli@skema.edu",
    "login": "tripartio",
    "description": "",
    "uuid": 7702487,
    "orcid": "0000-0001-5574-7572"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.2.0",
      "role": "Depends"
    },
    {
      "package": "broom",
      "role": "Imports"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "furrr",
      "role": "Imports"
    },
    {
      "package": "future",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "insight",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "patchwork",
      "role": "Imports"
    },
    {
      "package": "progressr",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "S7",
      "role": "Imports"
    },
    {
      "package": "staccuracy",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "univariateML",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "agridat",
      "role": "Suggests"
    },
    {
      "package": "cluster",
      "role": "Suggests"
    },
    {
      "package": "kableExtra",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "mgcv",
      "role": "Suggests"
    },
    {
      "package": "nnet",
      "role": "Suggests"
    },
    {
      "package": "quarto",
      "role": "Suggests"
    },
    {
      "package": "ranger",
      "role": "Suggests"
    },
    {
      "package": "readr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "rsample",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "tictoc",
      "role": "Suggests"
    },
    {
      "package": "yaImpute",
      "role": "Suggests"
    }
  ],
  "_owner": "tripartio",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-24",
      "n": 1
    },
    {
      "week": "2025-25",
      "n": 1
    },
    {
      "week": "2025-26",
      "n": 3
    },
    {
      "week": "2025-27",
      "n": 8
    },
    {
      "week": "2025-28",
      "n": 6
    },
    {
      "week": "2025-32",
      "n": 10
    },
    {
      "week": "2025-35",
      "n": 5
    },
    {
      "week": "2025-37",
      "n": 6
    },
    {
      "week": "2026-08",
      "n": 16
    }
  ],
  "_tags": [],
  "_stars": 5,
  "_contributors": [
    {
      "user": "tripartio",
      "count": 758,
      "uuid": 7702487
    }
  ],
  "_userbio": {
    "uuid": 7702487,
    "type": "user",
    "name": "Chitu Okoli"
  },
  "_downloads": {
    "count": 660,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ale"
  },
  "_devurl": "https://github.com/tripartio/ale",
  "_pkgdown": "https://tripartio.github.io/ale/",
  "_searchresults": 31,
  "_quarto": true,
  "_topics": [
    "quarto"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/ale.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/tripartio/ale",
  "_realowner": "tripartio",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2023-08-29"
    },
    {
      "version": "0.2.0",
      "date": "2023-10-19"
    },
    {
      "version": "0.3.0",
      "date": "2024-02-14"
    },
    {
      "version": "0.3.1",
      "date": "2025-03-10"
    },
    {
      "version": "0.5.0",
      "date": "2025-04-09"
    },
    {
      "version": "0.5.2",
      "date": "2025-08-29"
    },
    {
      "version": "0.5.3",
      "date": "2025-09-12"
    }
  ],
  "_exports": [
    "ALE",
    "ALEpDist",
    "customize",
    "get",
    "invert_probs",
    "ModelBoot",
    "resolve_x_cols",
    "retrieve_rds"
  ],
  "_datasets": [
    {
      "name": "census",
      "title": "Census Income",
      "object": "census",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "higher_income",
        "age",
        "workclass",
        "fnlwgt",
        "education",
        "education_num",
        "marital_status",
        "occupation",
        "relationship",
        "race",
        "sex",
        "capital_gain",
        "capital_loss",
        "hours_per_week",
        "native_country"
      ],
      "rows": 32561,
      "table": true,
      "tojson": true
    },
    {
      "name": "var_cars",
      "title": "Multi-variable transformation of the mtcars dataset.",
      "object": "var_cars",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "model",
        "mpg",
        "cyl",
        "disp",
        "hp",
        "drat",
        "wt",
        "qsec",
        "vs",
        "am",
        "gear",
        "carb",
        "country",
        "continent"
      ],
      "rows": 32,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "ALE",
      "title": "ALE data and statistics that describe a trained model",
      "topics": [
        "ALE"
      ]
    },
    {
      "page": "ALEpDist",
      "title": "Random variable distributions of ALE statistics for generating p-values",
      "topics": [
        "ALEpDist"
      ]
    },
    {
      "page": "ALEPlots",
      "title": "ALE plots with print and plot methods",
      "topics": [
        "ALEPlots"
      ]
    },
    {
      "page": "census",
      "title": "Census Income",
      "topics": [
        "census"
      ]
    },
    {
      "page": "customize",
      "title": "Customize plots contained in an ALEPlots object",
      "topics": [
        "customize"
      ]
    },
    {
      "page": "get",
      "title": "S7 generic get method for objects in the ale package",
      "topics": [
        "get"
      ]
    },
    {
      "page": "get.ALE",
      "title": "get method for ALE objects",
      "topics": [
        "get.ALE"
      ]
    },
    {
      "page": "get.ALEPlots",
      "title": "get method for ALEPlots objects",
      "topics": [
        "get.ALEPlots"
      ]
    },
    {
      "page": "get.ModelBoot",
      "title": "get method for ModelBoot objects",
      "topics": [
        "get.ModelBoot"
      ]
    },
    {
      "page": "invert_probs",
      "title": "Invert ALE Probabilities",
      "topics": [
        "invert_probs"
      ]
    },
    {
      "page": "ModelBoot",
      "title": "Statistics and ALE data for a bootstrapped model",
      "topics": [
        "ModelBoot"
      ]
    },
    {
      "page": "plot.ale",
      "title": "plot method for 'ALE' objects",
      "topics": [
        "plot.ALE"
      ]
    },
    {
      "page": "plot.ALEPlots",
      "title": "Plot method for ALEPlots object",
      "topics": [
        "plot.ALEPlots"
      ]
    },
    {
      "page": "plot.ModelBoot",
      "title": "plot method for 'ModelBoot' objects",
      "topics": [
        "plot.ModelBoot"
      ]
    },
    {
      "page": "print.ale",
      "title": "print Method for ALE object",
      "topics": [
        "print.ALE"
      ]
    },
    {
      "page": "print.ALEPlots",
      "title": "Print method for ALEPlots object",
      "topics": [
        "print.ALEPlots"
      ]
    },
    {
      "page": "print.ModelBoot",
      "title": "print method for ModelBoot object",
      "topics": [
        "print.ModelBoot"
      ]
    },
    {
      "page": "resolve_x_cols",
      "title": "Resolve x_cols and exclude_cols to their standardized format",
      "topics": [
        "resolve_x_cols"
      ]
    },
    {
      "page": "retrieve_rds",
      "title": "Retrieve an R object from the first successful source among multiple attempts",
      "topics": [
        "retrieve_rds"
      ]
    },
    {
      "page": "subset.ALEPlots",
      "title": "subset method for ALEPlots object",
      "topics": [
        "subset.ALEPlots"
      ]
    },
    {
      "page": "summary.ALE",
      "title": "summary Method for ALE object",
      "topics": [
        "summary.ALE"
      ]
    },
    {
      "page": "summary.ALEPlots",
      "title": "summary method for ALEPlots object",
      "topics": [
        "summary.ALEPlots"
      ]
    },
    {
      "page": "summary.ModelBoot",
      "title": "summary Method for ModelBoot object",
      "topics": [
        "summary.ModelBoot"
      ]
    },
    {
      "page": "var_cars",
      "title": "Multi-variable transformation of the mtcars dataset.",
      "topics": [
        "var_cars"
      ]
    },
    {
      "page": "x_medoids",
      "title": "k-medoids across a range, returning all internal cluster-quality measures",
      "topics": [
        "x_medoids"
      ]
    }
  ],
  "_pkglogo": "https://github.com/tripartio/ale/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/tripartio/ale/raw/HEAD/README.md",
  "_rundeps": [
    "actuar",
    "assertthat",
    "backports",
    "bbmle",
    "bdsmatrix",
    "broom",
    "cli",
    "codetools",
    "cpp11",
    "cvar",
    "digest",
    "dplyr",
    "expint",
    "extraDistr",
    "farver",
    "fastICA",
    "fBasics",
    "fGarch",
    "furrr",
    "future",
    "gbutils",
    "generics",
    "ggplot2",
    "globals",
    "glue",
    "gss",
    "gtable",
    "GUILDS",
    "insight",
    "intervals",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "listenv",
    "logitnorm",
    "magrittr",
    "MASS",
    "Matrix",
    "mvtnorm",
    "nakagami",
    "nloptr",
    "numDeriv",
    "parallelly",
    "patchwork",
    "pillar",
    "pkgconfig",
    "poilog",
    "poweRlaw",
    "pracma",
    "progressr",
    "purrr",
    "R6",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppParallel",
    "Rdpack",
    "Rfast",
    "rlang",
    "S7",
    "sads",
    "scales",
    "spatial",
    "stabledist",
    "staccuracy",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "timeDate",
    "timeSeries",
    "univariateML",
    "utf8",
    "vctrs",
    "VGAM",
    "viridisLite",
    "withr",
    "zigg"
  ],
  "_vignettes": [
    {
      "source": "ale-x-datatypes.Rmd",
      "filename": "ale-x-datatypes.html",
      "title": "ale package handling of various input datatypes",
      "author": "Chitu Okoli",
      "engine": "knitr::rmarkdown",
      "headings": [
        "var_cars: modified mtcars dataset (Motor Trend Car Road Tests)",
        "Modelling with ALE and GAM"
      ],
      "created": "2023-09-30 16:03:37",
      "modified": "2026-02-17 02:14:54",
      "commits": 33
    },
    {
      "source": "ale-statistics.Rmd",
      "filename": "ale-statistics.html",
      "title": "ALE-based statistics for statistical inference and effect sizes",
      "author": "Chitu Okoli",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Example dataset",
        "Full model bootstrap",
        "Create p-value distribution objects",
        "Bootstrap the model with p-values",
        "ALE effect size measures",
        "ALE plots with p-values",
        "ALE plots without p-values",
        "ALE effect size measures on the scale of the y outcome variable",
        "ALE range (ALER)",
        "ALE deviation (ALED)",
        "Normalized ALE effect size measures",
        "Normalized ALER (NALER)",
        "Normalized ALED (NALED)",
        "The ALER band and random variables",
        "Interpretation of normalized ALE effect sizes",
        "Statistical inference with ALE",
        "ALE data structures for categorical and numeric variables",
        "Bootstrap-based inference with ALE"
      ],
      "created": "2023-09-30 16:03:37",
      "modified": "2026-02-17 02:14:54",
      "commits": 58
    },
    {
      "source": "ale-acdc-corn.qmd",
      "filename": "ale-acdc-corn.html",
      "title": "Analyzing a Large Corn Yield Dataset with ALE-Based Inference",
      "engine": "quarto::html",
      "headings": [],
      "created": "2026-02-17 02:14:54",
      "modified": "2026-02-17 20:33:53",
      "commits": 5
    },
    {
      "source": "ale-gomez-rice.qmd",
      "filename": "ale-gomez-rice.html",
      "title": "Analyzing a Small Rice Yield Dataset with ALE-Based Inference",
      "engine": "quarto::html",
      "headings": [],
      "created": "2026-02-17 02:14:54",
      "modified": "2026-02-17 20:35:38",
      "commits": 5
    },
    {
      "source": "ale-small-datasets.Rmd",
      "filename": "ale-small-datasets.html",
      "title": "Analyzing small datasets (fewer than 2000 rows) with ALE",
      "author": "Chitu Okoli",
      "engine": "knitr::rmarkdown",
      "headings": [
        "What is a \"small\" dataset?",
        "attitude dataset",
        "Format",
        "Source",
        "ALE for ordinary least squares regression (multiple linear regression)",
        "Full model bootstrapping",
        "ALE for generalized additive models (GAM)",
        "model_call_string argument for models not automatically detected"
      ],
      "created": "2023-09-30 16:03:37",
      "modified": "2026-02-17 02:14:54",
      "commits": 32
    },
    {
      "source": "ale-intro.Rmd",
      "filename": "ale-intro.html",
      "title": "Introduction to the ale package",
      "author": "Chitu Okoli",
      "engine": "knitr::rmarkdown",
      "headings": [
        "diamonds dataset",
        "Modelling with generalized additive models (GAM)",
        "ALE object for ALE data",
        "Bootstrapped ALE",
        "ALE interactions"
      ],
      "created": "2023-09-30 16:03:37",
      "modified": "2026-02-17 02:14:54",
      "commits": 41
    }
  ],
  "_score": 6.621695462329279,
  "_indexed": true,
  "_nocasepkg": "ale",
  "_universes": [
    "tripartio"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5.3.20260217",
      "date": "2026-05-19T09:26:52.000Z",
      "distro": "noble",
      "commit": "c8f1d6d5da302e6944320d81f24fea57526d7ef9",
      "fileid": "4e6991c6497769e3c21b67b5d4d9bb996f6eca46390669b2434cf374bded9a78",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tripartio/actions/runs/26087878260"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.5.3.20260217",
      "date": "2026-05-19T09:26:52.000Z",
      "distro": "noble",
      "commit": "c8f1d6d5da302e6944320d81f24fea57526d7ef9",
      "fileid": "9773fa99ae59f6e944fa8fc626f03854f943d601a26e5479b09eca3f5372c5b8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tripartio/actions/runs/26087878260"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.5.3.20260217",
      "date": "2026-05-19T09:27:59.000Z",
      "commit": "c8f1d6d5da302e6944320d81f24fea57526d7ef9",
      "fileid": "4c7339478bb8148db627464d79ddc08cc62615f11c237c5a3b868f55b8616775",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tripartio/actions/runs/26087878260"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.5.3.20260217",
      "date": "2026-05-19T09:27:13.000Z",
      "commit": "c8f1d6d5da302e6944320d81f24fea57526d7ef9",
      "fileid": "b93cdd2761a385b001f0efb0cfc2ee103ef0fdad03775f1c86be3d0a80e5337a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tripartio/actions/runs/26087878260"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.5.3.20260217",
      "date": "2026-05-19T09:26:12.000Z",
      "commit": "c8f1d6d5da302e6944320d81f24fea57526d7ef9",
      "fileid": "d02f5407bbc56e9a4438ffabd6f44f9a951d5e93fc424978e795c0fd143c26a0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tripartio/actions/runs/26087878260"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.5.3.20260217",
      "date": "2026-05-19T09:26:13.000Z",
      "commit": "c8f1d6d5da302e6944320d81f24fea57526d7ef9",
      "fileid": "f26d5940f375e3306cfb0a8afcad5facd583870d283616b024c5f4aa4e685f8e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tripartio/actions/runs/26087878260"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.5.3.20260217",
      "date": "2026-05-19T09:26:07.000Z",
      "commit": "c8f1d6d5da302e6944320d81f24fea57526d7ef9",
      "fileid": "dfa8df265d3a9c69e3513d976b0a9350ee6ab4b38e90ffb9a8785162841845f6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tripartio/actions/runs/26087878260"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.5.3.20260217",
      "date": "2026-06-02T14:44:03.000Z",
      "commit": "c8f1d6d5da302e6944320d81f24fea57526d7ef9",
      "fileid": "0bb5f73a23989de560e04b895b608de177424f7cd3daec4cbd0d9f03184eeee8",
      "status": "success",
      "buildurl": "https://github.com/r-universe/tripartio/actions/runs/26087878260"
    }
  ]
}