CRAN/E | ale

ale

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

Installation

About

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. . doi:10.48550/arXiv.2310.09877.

Citation ale citation info
github.com/tripartio/ale
tripartio.github.io/ale/
Bug report File report

Key Metrics

Version 0.3.0
R ≥ 3.5.0
Published 2024-02-14 75 days ago
Needs compilation? no
License GPL-2
CRAN checks ale results
Language en-ca

Downloads

Yesterday 8 0%
Last 7 days 61 -34%
Last 30 days 272 -14%
Last 90 days 977 +8%
Last 365 days 2.473

Maintainer

Maintainer

Chitu Okoli

Chitu.Okoli@skema.edu

Authors

Chitu Okoli

aut / cre

Dan Apley

cph

(The current code for calculating ALE interaction values is copied with few changes from Dan Apley's ALEPlot package. We gratefully acknowledge his open-source contribution. However, he was not directly involved in the development of this ale package.)

Material

README
NEWS
Reference manual
Package source

Vignettes

Introduction to the ale package
Analyzing small datasets (fewer than 2000 rows) with ALE
ALE-based statistics for statistical inference and effect sizes
ale function handling of various datatypes for x

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

ale archive

Depends

R ≥ 3.5.0

Imports

assertthat
broom
dplyr
ellipsis
furrr
future
ggplot2
ggpubr
glue
grDevices
insight
labeling
progressr
purrr
rlang
stats
stringr
tidyr
univariateML
yaImpute

Suggests

ALEPlot
knitr
mgcv
patchwork
readr
rmarkdown
testthat ≥ 3.0.0