Package: ale 0.5.3.20260217

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 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>.

Authors:Chitu Okoli [aut, cre]

ale_0.5.3.20260217.tar.gz
ale_0.5.3.20260217.zip(r-4.7)ale_0.5.3.20260217.zip(r-4.6)ale_0.5.3.20260217.zip(r-4.5)
ale_0.5.3.20260217.tgz(r-4.6-any)ale_0.5.3.20260217.tgz(r-4.5-any)
ale_0.5.3.20260217.tar.gz(r-4.7-any)ale_0.5.3.20260217.tar.gz(r-4.6-any)
ale_0.5.3.20260217.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
ale/json (API)
NEWS

# Install 'ale' in R:
install.packages('ale', repos = c('https://tripartio.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/tripartio/ale/issues

Pkgdown/docs site:https://tripartio.github.io

Datasets:
  • census - Census Income
  • var_cars - Multi-variable transformation of the mtcars dataset.

On CRAN:

Conda:

quarto

6.64 score 5 stars 36 scripts 625 downloads 8 exports 81 dependencies

Last updated from:c8f1d6d5da. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK393
source / vignettesOK803
linux-release-x86_64OK419
macos-release-arm64OK310
macos-oldrel-arm64OK273
windows-develOK396
windows-releaseOK419
windows-oldrelOK365
wasm-releaseOK137

Exports:ALEALEpDistcustomizegetinvert_probsModelBootresolve_x_colsretrieve_rds

Dependencies:actuarassertthatbackportsbbmlebdsmatrixbroomclicodetoolscpp11cvardigestdplyrexpintextraDistrfarverfastICAfBasicsfGarchfurrrfuturegbutilsgenericsggplot2globalsgluegssgtableGUILDSinsightintervalsisobandlabelinglatticelifecyclelistenvlogitnormmagrittrMASSMatrixmvtnormnakagaminloptrnumDerivparallellypatchworkpillarpkgconfigpoilogpoweRlawpracmaprogressrpurrrR6rbibutilsRColorBrewerRcppRcppArmadilloRcppParallelRdpackRfastrlangS7sadsscalesspatialstablediststaccuracystringistringrtibbletidyrtidyselecttimeDatetimeSeriesunivariateMLutf8vctrsVGAMviridisLitewithrzigg

ale package handling of various input datatypes

Rendered fromale-x-datatypes.Rmdusingknitr::rmarkdownon Jun 18 2026.

Last update: 2026-02-17
Started: 2023-09-30

ALE-based statistics for statistical inference and effect sizes

Rendered fromale-statistics.Rmdusingknitr::rmarkdownon Jun 18 2026.

Last update: 2026-02-17
Started: 2023-09-30

Analyzing a Large Corn Yield Dataset with ALE-Based Inference

Rendered fromale-acdc-corn.qmdusingquarto::htmlon Jun 18 2026.

Last update: 2026-02-17
Started: 2026-02-17

Analyzing a Small Rice Yield Dataset with ALE-Based Inference

Rendered fromale-gomez-rice.qmdusingquarto::htmlon Jun 18 2026.

Last update: 2026-02-17
Started: 2026-02-17

Analyzing small datasets (fewer than 2000 rows) with ALE

Rendered fromale-small-datasets.Rmdusingknitr::rmarkdownon Jun 18 2026.

Last update: 2026-02-17
Started: 2023-09-30

Introduction to the ale package

Rendered fromale-intro.Rmdusingknitr::rmarkdownon Jun 18 2026.

Last update: 2026-02-17
Started: 2023-09-30