← Back to all sparks
E

effectplots

ANALYTICS
Velocity0.0

R package effectplots by mayer79 — release notes from GitHub.

A young ALE and PDP plotting package that rebuilt its numeric core after a data-corrupting bug.

r-packagemodel-interpretabilityalepartial-dependenceperformance
Current state
effectplots computes and plots partial dependence, ALE, and observed-versus-predicted effect curves for fitted models. It reached CRAN in November 2024 and shipped three releases in the four months after. The 0.2.0 release is the pivot: an outlier-clipping routine that silently modified the caller's data frame was fixed, the numeric path was rewritten for speed and memory, and the plotting and category-collapsing defaults were reset.
Where it's heading
After 0.2.0 the work turns to the awkward cases - missing values on the x axis, explicit and empty factor levels, discrete grid detection. The package is also widening past a single modelling ecosystem: h2o support and tidymodels examples arrived with 0.2.0, and fcut() was exported as a fast replacement for cut(). Release notes are issue-numbered throughout, so the roadmap is effectively the issue tracker.
Prediction
Expect continued default tuning around collapse_m and discrete_m plus more model-backend coverage; the cadence points to another batch of issue fixes rather than a new plot type.

Recent moves

  1. 1y ago

    Rare categories collapse into an 'other' level

    Continues the post-0.2.0 pass over categorical edge cases: an explicit other bucket, a lower collapse threshold, respected and dropped factor levels. Incremental refinement of decisions 0.2.0 made.

    View source ↗
  2. 1y ago

    Missing x values now plotted for numeric features

    Numeric features had been hiding their NA bucket where discrete ones showed it. Fixing that closes an inconsistency users would have read as missing data rather than missing plot.

    View source ↗
  3. 1y ago

    Numeric core rewritten after an in-place data corruption fix

    ⚡ SPARK

    The release that set the package's current shape - a correctness fix, a rewritten numeric path, renamed arguments, and new backends, all at once. Everything since has been refinement of the defaults it chose.

    View source ↗
  4. 1y ago

    Initial CRAN release

    The baseline. Three weeks later 0.2.0 rewrote much of what shipped here, which puts the real starting point of the package's public API at the second release rather than this one.

    View source ↗