Skip to content

ale

0.5.3

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

0packages depend
7.7Kdownloads / year
62.1%test coverage
11/13checks pass

Overview

About
Maintained by Chitu OkoliFirst published 2023-08-297 releasesCRAN page ↗GitHub ↗

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.

Install

Health

CRAN checks
2NOTE11OK
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-clang
  • NOTE r-devel-linux-x86_64-debian-gcc
Slowest check: 25.2 min · r-devel-linux-x86_64-debian-clang
Code health
Yes
Tests · ratio 8.93
62.1%
Coverage · measured lines
100%
Documentation · exports
19
Dependencies · direct
Check history
  • NOTE2026-07-11
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-28
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-03-21
    13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
Show 1 earlier snapshots
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 949 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
60%
Documented parameters
80%
Return-value docs
88%
References docs
22%

Downloads

7.7K
CRAN downloads in the past year
Rank #4,952 · ~21/day · ~644/mo
Daily download trend is not available in this view yet.
38530 days
1.6K90 days
7.7K1 year
Compare downloads with other packages →
Also on168 r2u25 autocran

Repository

Repository
5Stars
0Forks
2Open issues
0Open PRs
0Releases
758Commits
1Contributors
758 commits · Last activity 2026-07-02 · 0% stars, 30d

Stars over time

2025-06-10 · 42026-07-07 · 5

Repository practices

Upstream repositoryBeta

8 development-tooling and community-health practices detected across 6 families in the upstream repository

Checks run against github.com/tripartio/ale on 2026-08-16.

Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (1)
data-raw/
CRAN release process (3)
cran-comments.mdrevdep/CRAN-SUBMISSION
Docs source (1)
README.Rmd
Show all practices
Lint, format, editor (1)
RStudio project
Coverage (1)
.covrignore
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
21 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.2.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Datasets

People & History

People (1)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Listed in earlier versions (1)
no longer listed · 0.1.0 to 0.3.1
Package Timeline

7 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.5.3Latest
    2025-09-12 · current release · diff ↗
  • 0.5.2
    2025-08-29 · diff ↗
  • unarchivedReturned to CRAN
    2025-08-29
  • archivedRemoved from CRAN
    2025-07-01
    issues were not corrected in time
  • R
    R 4.5.0 released · 2025-04-11
  • 0.5.0
    2025-04-09 · diff ↗
  • 0.3.1
    2025-03-10 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 0.3.0
    2024-02-14 · diff ↗
  • 0.2.0
    2023-10-19 · diff ↗
  • 0.1.0
    2023-08-29
  • R
    R 4.3.0 released · 2023-04-21

Package metadata

First published
2023-08-29
Total releases
7 / 3 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.2.0
Bundled data
235 KB / 2 files
Download size
1.6 MB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("ale")
Okoli, C. (2025). ale: Interpretable Machine Learning and Statistical Inference with Accumulated Local Effects (ALE) (Version 0.5.3) [Computer software]. https://doi.org/10.32614/CRAN.package.ale

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for ale version 0.5.3 [Data set]. HJJB, LLC. Data release v2026-08-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy