Skip to content

xplaineff

0.1.1Package record

Decomposing Global Feature Effects Based on Feature Interactions

0packages depend
546downloads / year
88.5%test coverage
13/13flavors OK

Overview

About

Implements the GADGET (Generalized Additive Decomposition of Global EffecTs) algorithm for interpretable machine learning. The package recursively partitions the feature space to minimize heterogeneity of feature effects (e.g., Accumulated Local Effects or Partial Dependence), producing a tree of regions where effects are more stable. It supports both ALE and PD strategies, works with 'mlr3' learners and provides visualization of the interaction tree and regional effect plots. The method is described in Herbinger, J., Wright, M. N., Nagler, T., Bischl, B., and Casalicchio, G. (2024), "Decomposing Global Feature Effects Based on Feature Interactions" https://jmlr.org/papers/volume25/23-0699/23-0699.pdf.

Changes in 0.1.1
  • Added the introductory vignette vignette("xplaineff") with PD and ALE examples on synthetic and bike-sharing data (no issue).
  • GadgetTree$new() now rejects n_quantiles < 1 up front (no issue).
  • The PD split search no longer writes NaN replacements back into the caller's effect matrices and copies coerced non-double inputs, and it excludes observations with a missing split-feature value from both children and from the parent totals, matching Node$create_children() (no issue).
  • The ALE split sweep skips observations without a valid interval index instead of computing an out-of-range position (no issue).
  • Regional PD plots now place observation points of categorical features on the plotted levels, also in child nodes that lack some levels (no issue).
  • Roxygen markdown is enabled and GadgetTree is no longer marked as an internal help topic (no issue).
  • AleStrategy$fit() now reports a clear error when model is missing, and GadgetTree$plot() for ALE trees errors on unknown arguments instead of ignoring them (no issue).
  • Regional PD plots no longer add an invisible observation layer when show_point = FALSE (no issue).
  • Removed unused internal helpers and imports; the ALE split sweep skips non-finite local effects instead of letting them poison the running sums (no issue).

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 5.4 min · r-devel-windows-x86_64
Status changes
  • OK13 OKNow
  • OK5 OK2026-09-15
Advisories

none known

Documentation

In release 0.1.1
READMEYes · 1,356 wordsVignettesYes · 1 · dynamicNEWSYes · 100% structured · mentions 0.1.1Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
57 (53 internal)includes a package overview page
Examples that run
100%3 run in a plain check
Exported functions with examples
100%
Documented parameters
not tracked
Return-value docs
0%
Help pages citing references
2%

Downloads

546
CRAN downloads in the past year
Rank #23,704 · ~1/day · ~46/mo
Daily download trend is not available in this view yet.
33230 days
54690 days
5461 year
Compare downloads with other packages →
Also on24 r2u1 autocran

Repository

4Stars
0Forks
0Open issues
0Open PRs
0Releases
289Commits
5Commit identities
interpretable-machine-learningmachine-learning
289 commits · Last activity 2026-10-19 · Default branch at 0.1.1.9000, ahead of CRAN 0.1.1 (checked 2026-10-22)
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
2
Median days to close, 50 most recently updated closed PRs
5

PRs over time

2026-09-15 · 02026-10-03 · 0
PracticesBeta

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

Checks run against github.com/mlr-org/xplaineff on 2026-10-22.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Governance and community (3)
Contributing guide (inherited from mlr-org)

Funding links: GitHub Sponsors

The repository owner accepts GitHub Sponsors

Coverage (1)
Coverage reporting (Codecov)
CRAN release process (1)
cran-comments.md
Show all practicesHide 2 practices
Lint, format, editor (5)
lintrAirEditorConfigVS CodeRStudio project
Git structural (1)
Submodules
How this is detected·Detection ruleset v4 (2026-10-20)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • Cursorfirst seen 2026-02-17
    Named in .Rbuildignore: .cursor
    Commits: at least 7 crediting it in the message
  • Claude Codefirst seen 2026-03-13
    Seen in the repository: .claude
    Named in .Rbuildignore: .claude, CLAUDE.md
    Named in .gitignore: .claude, CLAUDE.md
    Commits: at least 22 crediting it in the message
Shared conventions any agent may read, so they name no particular tool.
Seen in the repository: AGENTS.md
Models named in its commits
  • Claude Fable 5.118 commits · Sep to Oct 2026
  • Claude Sonnet 4.64 commits · May 2026
Counts are commits, not lines of code. Commits by a tool's accounts count once across all of its accounts. Commits crediting it are the largest count among its credit lines, a minimum.How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
22 external dependencies (excludes base and recommended)

Installing xplaineff adds 53 packages (35 with compiled code, 58 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, data.table 5.7 MB.

Depends (1)
R >= 4.3.0
LinkingTo (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (4)
Author, Maintainer since 0.1.0 (2026)
Author · added in 0.1.1
Author · added in 0.1.1
Author · added in 0.1.1
Releases (2)

Pick two releases to compare their code metrics.

  • 0.1.1Latest
    record
    2026-09-29 · current release · diff ↗
  • 0.1.0
    record
    first seen 2026-09-14
  • R
    R 4.6.0 released · 2026-04-24

Package metadata

First seen
2026-09-14
Total releases
2 / 1 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.3.0
Download size
1.3 MB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("xplaineff")
Zhang, Z., Bischl, B., Bögel, C., & Casalicchio, G. (2026). xplaineff: Decomposing Global Feature Effects Based on Feature Interactions (Version 0.1.1) [Computer software]. https://doi.org/10.32614/CRAN.package.xplaineff

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

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 xplaineff version 0.1.1 [Data set]. HJJB, LLC. Data release v2026-10-25. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-25, 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