ale: Interpretable Machine Learning and Statistical Inference with Accumulated Local Effects (ALE)

Accumulated Local Effects (ALE) were initially developed as a model-agnostic approach for global explanations of the results of black-box machine learning algorithms. ALE has a key advantage over other approaches like partial dependency plots (PDP) and SHapley Additive exPlanations (SHAP): its values represent a clean functional decomposition of the model. As such, ALE values are not affected by the presence or absence of interactions among variables in a mode. Moreover, its computation is relatively rapid. This package rewrites the original code from the 'ALEPlot' package for calculating ALE data and it completely reimplements the plotting of ALE values. It also extends the original ALE concept to add bootstrap-based confidence intervals and ALE-based statistics that can be used for statistical inference. For more details, see Okoli, Chitu. 2023. “Statistical Inference Using Machine Learning and Classical Techniques Based on Accumulated Local Effects (ALE).” arXiv. <arXiv:2310.09877>. <doi:10.48550/arXiv.2310.09877>.

Version: 0.2.0
Depends: R (≥ 3.5.0), ggplot2
Imports: assertthat, broom, dplyr, ellipsis, grDevices, labeling, methods, purrr, stats, stringr, tidyr, yaImpute
Suggests: ALEPlot, gbm, gridExtra, knitr, mgcv, nnet, readr, rmarkdown, testthat (≥ 3.0.0)
Published: 2023-10-19
Author: Chitu Okoli ORCID iD [aut, cre], Dan Apley [cph] (The current code for calculating ALE interaction values is copied with frew changes from Dan Apley's ALEPlot package. We gratefully acknowledge his open-source contribution. However, he was not directly involved with this ale package.)
Maintainer: Chitu Okoli <Chitu.Okoli at>
License: GPL-2
NeedsCompilation: no
Language: en-ca
Citation: ale citation info
Materials: README NEWS
CRAN checks: ale results


Reference manual: ale.pdf
Vignettes: Comparison between 'ALEPlot' and 'ale' packages
Introduction to the 'ale' package
Analyzing small datasets (<2000 rows) with ALE
ALE-based statistics for statistical inference and effect sizes
ale function handling of various datatypes for x


Package source: ale_0.2.0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): ale_0.2.0.tgz, r-oldrel (arm64): ale_0.2.0.tgz, r-release (x86_64): ale_0.2.0.tgz, r-oldrel (x86_64): ale_0.2.0.tgz
Old sources: ale archive


Please use the canonical form to link to this page.