Skip to content

ale

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

v0.5.3 · Sep 12, 2025 · MIT + file LICENSE

Description

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 reimplements the algorithms for calculating ALE data and develops highly interpretable visualizations for plotting these 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. <doi:10.48550/arXiv.2310.09877>.

Downloads

843

Last 30 days

4240th

2.1K

Last 90 days

7K

Last year

Trend: +20.8% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 27, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 20, 2026
ERROR r-devel-windows-x86_64

examples

Running examples in 'ale-Ex.R' failed
The error most likely occurred in:

> ### Name: retrieve_rds
> ### Title: Retrieve an R object from the first successful source among
> ###   multiple attempts
> ### Aliases: retrieve_rds
> 
> ### ** Examples
> 

...[truncated]...
s()`:
! None of the provided options successfully retrieved an object.
Backtrace:
    ▆
 1. └─ale::retrieve_rds(...)
 2.   └─cli::cli_abort("None of the provided options successfully retrieved an object.")
 3.     └─rlang::abort(...)
Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies broom cli dplyr furrr future ggplot2 insight patchwork progressr purrr rlang S7 staccuracy stringr tidyr +1 more dependencies ale

Version History

new 0.5.3 Mar 10, 2026
updated 0.5.3 ← 0.5.2 diff Sep 11, 2025
updated 0.5.2 ← 0.5.0 diff Aug 28, 2025
updated 0.5.0 ← 0.3.1 diff Apr 8, 2025
updated 0.3.1 ← 0.3.0 diff Mar 9, 2025
updated 0.3.0 ← 0.2.0 diff Feb 13, 2024
updated 0.2.0 ← 0.1.0 diff Oct 18, 2023
new 0.1.0 Aug 28, 2023