← Back to home
Comparison · Analytics

distributions3 vs treeshap

A side-by-side editorial comparison of distributions3 and treeshap — release velocity, themes, recent moves, and the top alternatives to consider.

distributions3 vs treeshap: at a glance

Featuredistributions3treeshap
SectorAnalyticsAnalytics
Velocity score2.50.0
Sparks · 30d00
Top themesr-package, probability-distributions, statistical-modelling, maintainershipshap, model explainability, tree ensembles, r package
Last editorial update49m ago4h ago
WebsiteVisit →Visit →

What is distributions3?

distributions3 changes hands to Achim Zeileis, and a moment calculation bug goes with it.

An R package giving probability distributions a consistent object interface — d/p/q/r functions, moments, and prodist() methods that extract a fitted distribution from a regression object. Releases are infrequent, roughly one a year, and the last one is largely administrative: Achim Zeileis takes over maintenance from Alex Hayes, with all URLs and documentation updated to match, alongside a fix to incorrect moment calculations reported by a user.

Read the full distributions3 trajectory →

What is treeshap?

treeshap keeps widening its tree-model coverage while the SHAP math stays put.

treeshap computes exact SHAP values for tree ensembles in R, reaching each modelling framework through a per-framework unify() adapter. Since returning to CRAN in 2023 it has added GPBoost, ranger survival forests and multi-output models to that adapter layer. Four releases in three years, each dominated by adapter work contributed by users of one specific framework.

Read the full treeshap trajectory →

distributions3 vs treeshap: editorial side-by-side

D2.5

distributions3 changes hands to Achim Zeileis, and a moment calculation bug goes with it.

◆ Current state

An R package giving probability distributions a consistent object interface — d/p/q/r functions, moments, and prodist() methods that extract a fitted distribution from a regression object. Releases are infrequent, roughly one a year, and the last one is largely administrative: Achim Zeileis takes over maintenance from Alex Hayes, with all URLs and documentation updated to match, alongside a fix to incorrect moment calculations reported by a user.

◆ Where it's heading

The package's growth has come in two modes. Early releases absorbed whole families of distributions from outside contributors — the extreme-value set, Erlang, later the Poisson binomial — while later ones tightened the interface itself with is_discrete() and is_continuous() generics and elementwise type-safety when applying a distribution vector to a numeric vector. The handover is the notable event in the current window: maintenance moves to the author of the surrounding statistical ecosystem this package already integrates with through prodist() and countreg, which suggests the interface work will continue over the distribution-collection work.

◆ Prediction

Expect closer alignment with Zeileis's own packages, with prodist() coverage widening to more model classes; the entries here do not indicate whether new distribution families remain on the agenda.

T
treeshap
ANALYTICS
0.0

treeshap keeps widening its tree-model coverage while the SHAP math stays put.

◆ Current state

treeshap computes exact SHAP values for tree ensembles in R, reaching each modelling framework through a per-framework unify() adapter. Since returning to CRAN in 2023 it has added GPBoost, ranger survival forests and multi-output models to that adapter layer. Four releases in three years, each dominated by adapter work contributed by users of one specific framework.

◆ Where it's heading

The direction is breadth of model support rather than new explanation methods: every release since the first CRAN submission adds or repairs a unify() backend. Maintenance is community-driven, with named contributors fixing the framework they personally use. Nothing in these entries points at work on the SHAP algorithms themselves.

◆ Prediction

Expect the next release to add or repair another unify() adapter as a contributor brings their own framework, rather than to change how explanations are computed.

Alternatives to distributions3 and treeshap

Other Analytics products tracked by Sparkpulse, ranked by recent ship velocity. Each card links to a full editorial trajectory and lets you pivot into a head-to-head comparison with either distributions3 or treeshap.

See all distributions3 alternatives → · See all treeshap alternatives →

Recent activity from distributions3 and treeshap

Latest ship moves from both products, interleaved chronologically. ⚡ = editorial spark.

  1. 24d agodistributions3Maintenance moves to Achim Zeileis; moment calculations corrected
  2. 3mo agotreeshapGPBoost support lands; xgboost adapter repaired
  3. 10mo agodistributions3ggplot2 compatibility for the plotting functions
  4. 1y agodistributions3Poisson binomial distribution, with a normal-approximation fallback
  5. 2y agotreeshapFixes broken lightgbm.unify examples
  6. 2y agotreeshapMulti-output model explanations added
  7. 2y agotreeshapFirst CRAN release consolidates the unify() adapters
  8. 3y agodistributions3is_discrete and is_continuous generics, plus elementwise type-safety
  9. 4y agodistributions3Extreme-value family, Erlang, and a plotting generic

Frequently asked questions

What is the difference between distributions3 and treeshap?

They serve adjacent needs but don't currently overlap on shipped themes. distributions3 is currently shipping more aggressively (velocity 2.5 vs 0.0), with 0 editorial sparks in the last 30 days against 0. See the at-a-glance table above for a side-by-side breakdown of velocity, recent sparks, and editorial themes.

Is distributions3 better than treeshap?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. distributions3 is currently shipping more aggressively (velocity 2.5 vs 0.0), with 0 editorial sparks in the last 30 days against 0. For your specific use case, the alternatives sections above list other Analytics products to evaluate alongside.

What are the best alternatives to distributions3?

Top distributions3 alternatives in Analytics are ranked by recent ship velocity. Browse the "distributions3 alternatives" section above for the current picks, or visit /alternatives/distributions3-r for the full list with editorial commentary on each.

What are the best alternatives to treeshap?

Top treeshap alternatives in Analytics are ranked by recent ship velocity. Browse the "treeshap alternatives" section above for the current picks, or visit /alternatives/treeshap for the full list with editorial commentary on each.