← Back to home
Comparison · Analytics

quantities vs treeshap

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

quantities vs treeshap: at a glance

Featurequantitiestreeshap
SectorAnalyticsAnalytics
Velocity score0.00.0
Sparks · 30d00
Top themesunits, measurement-uncertainty, error-propagation, r-packageshap, model explainability, tree ensembles, r package
Last editorial update1h ago10h ago
WebsiteVisit →Visit →

What is quantities?

The glue package that makes R carry units and uncertainty through the same calculation.

quantities combines the units and errors packages into one class so values keep both their measurement units and their uncertainty through arithmetic, subsetting and data frame operations. Recent releases have been narrow: fixes to the covariance and correlation implementations, and performance work on the data.frame methods. Most of the release traffic is coordination with its two parent packages.

Read the full quantities 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 →

quantities vs treeshap: editorial side-by-side

Q
quantities
ANALYTICS
0.0

The glue package that makes R carry units and uncertainty through the same calculation.

◆ Current state

quantities combines the units and errors packages into one class so values keep both their measurement units and their uncertainty through arithmetic, subsetting and data frame operations. Recent releases have been narrow: fixes to the covariance and correlation implementations, and performance work on the data.frame methods. Most of the release traffic is coordination with its two parent packages.

◆ Where it's heading

The design settled with 0.2.0, which made uncertainty unit-aware and added correlation and covariance support for quantities objects. Since then the package behaves like the integration layer it is — releasing when units, errors, dplyr or ggplot2 shift underneath it rather than on its own schedule. Several releases consist only of test repairs against upstream changes.

◆ Prediction

Expect the next release to follow a units or errors change rather than introduce new behaviour of its own.

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 quantities 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 quantities or treeshap.

See all quantities alternatives → · See all treeshap alternatives →

Recent activity from quantities and treeshap

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

  1. 3mo agotreeshapGPBoost support lands; xgboost adapter repaired
  2. 1y agoquantitiesFixes covariance and correlation implementations
  3. 2y agoquantitiesFaster data.frame methods
  4. 2y agotreeshapFixes broken lightgbm.unify examples
  5. 2y agotreeshapMulti-output model explanations added
  6. 2y agotreeshapFirst CRAN release consolidates the unify() adapters
  7. 3y agoquantitiesTest fixes for an upstream units change
  8. 3y agoquantitiesUncertainty becomes unit-aware; adds correlation support
  9. 5y agoquantitiesCompatibility fix for units 0.7-0
  10. 6y agoquantitiesFixes uncertainty propagation for offset unit conversions

Frequently asked questions

What is the difference between quantities and treeshap?

They serve adjacent needs but don't currently overlap on shipped themes. quantities and treeshap are shipping at a similar cadence (velocity 0.0 vs 0.0, both within Sparkpulse's "active" band). See the at-a-glance table above for a side-by-side breakdown of velocity, recent sparks, and editorial themes.

Is quantities better than treeshap?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. quantities and treeshap are shipping at a similar cadence (velocity 0.0 vs 0.0, both within Sparkpulse's "active" band). For your specific use case, the alternatives sections above list other Analytics products to evaluate alongside.

What are the best alternatives to quantities?

Top quantities alternatives in Analytics are ranked by recent ship velocity. Browse the "quantities alternatives" section above for the current picks, or visit /alternatives/quantities 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.