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. (Apley, Daniel W., and Jingyu Zhu. "Visualizing the effects of predictor variables in black box supervised learning models." Journal of the Royal Statistical Society Series B: Statistical Methodology 82.4 (2020): 1059-1086 <doi:10.1111/rssb.12377>.) ALE has two primary advantages over other approaches like partial dependency plots (PDP) and SHapley Additive exPlanations (SHAP): its values are not affected by the presence of interactions among variables in a model and 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. Future versions hope to extend the original ALE concept beyond global explanations with ALE-based measures that can be used for statistical inference as well as an ALE-based approach for local explanations.

Version: 0.1.0
Depends: R (≥ 3.5.0), ggplot2
Imports: broom, dplyr, grDevices, purrr, stats, stringr, tidyr, yaImpute
Suggests: ALEPlot, gbm, gridExtra, knitr, mgcv, nnet, readr, rmarkdown
Published: 2023-08-29
Author: Chitu Okoli ORCID iD [aut, cre], Dan Apley [ctb] (The core code for calculating ALE values is rewritten from Dan Apley's ALEPlot package. We are grateful for his open-source contribution.)
Maintainer: Chitu Okoli <Chitu.Okoli at skema.edu>
BugReports: https://github.com/Tripartio/ale/issues
License: GPL-2
URL: https://github.com/Tripartio/ale
NeedsCompilation: no
Language: en-ca
Materials: README NEWS
CRAN checks: ale results

Documentation:

Reference manual: ale.pdf
Vignettes: Introduction to the 'ale' package
Analyzing small datasets (<2000 rows) with ALE
ale function handling of various datatypes for x

Downloads:

Package source: ale_0.1.0.tar.gz
Windows binaries: r-devel: ale_0.1.0.zip, r-release: ale_0.1.0.zip, r-oldrel: ale_0.1.0.zip
macOS binaries: r-release (arm64): ale_0.1.0.tgz, r-oldrel (arm64): ale_0.1.0.tgz, r-release (x86_64): ale_0.1.0.tgz, r-oldrel (x86_64): ale_0.1.0.tgz

Linking:

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