← Back to home
Comparison · Analytics

cfrnow vs treeshap

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

cfrnow vs treeshap: at a glance

Featurecfrnowtreeshap
SectorAnalyticsAnalytics
Velocity score5.00.0
Sparks · 30d00
Top themesepidemiology, bayesian-modelling, cfr-estimation, r-packageshap, model explainability, tree ensembles, r package
Last editorial update2h ago1h ago
WebsiteVisit →Visit →

What is cfrnow?

A Bayesian real-time CFR estimator that now ships stratified fits and posterior-predictive checks

cfrnow estimates case fatality ratios from line-list data while an outbreak is still running, using a Bayesian mixture-cure survival model registered as an `epidist` model type. Three releases in a month took it from first public release to stratified, partially-pooled fits with posterior-predictive checking. It leans on `distspec` for delay parameterisation, which reached CRAN alongside the 0.2.1 patch.

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

cfrnow vs treeshap: editorial side-by-side

C
cfrnow
ANALYTICS
5.0

A Bayesian real-time CFR estimator that now ships stratified fits and posterior-predictive checks

◆ Current state

cfrnow estimates case fatality ratios from line-list data while an outbreak is still running, using a Bayesian mixture-cure survival model registered as an `epidist` model type. Three releases in a month took it from first public release to stratified, partially-pooled fits with posterior-predictive checking. It leans on `distspec` for delay parameterisation, which reached CRAN alongside the 0.2.1 patch.

◆ Where it's heading

The arc runs from producing a single corrected CFR number toward supporting a full model-checking workflow. 0.2.0 added the pieces a modeller needs to defend an estimate: replicate line lists replayed through the real-time truncation, an ascertainment-ratio correction for when fatal and non-fatal cases enter the line list at different rates, and per-group CFRs from `brms` formulas. Delay coverage widened from LogNormal and Gamma to Weibull in the same release.

◆ Prediction

Expect the next release to keep widening covariate and pooling support rather than adding new outcome types, since every 0.2.0 addition extended the existing formula interface instead of replacing it.

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

See all cfrnow alternatives → · See all treeshap alternatives →

Recent activity from cfrnow and treeshap

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

  1. 5d agocfrnowdistspec dependency moves to CRAN
  2. 5d agocfrnowStratified CFR fits, Weibull delays, posterior-predictive checks
  3. 1mo agocfrnowFirst release: real-time CFR from a Bayesian mixture-cure model
  4. 3mo agotreeshapGPBoost support lands; xgboost adapter repaired
  5. 2y agotreeshapFixes broken lightgbm.unify examples
  6. 2y agotreeshapMulti-output model explanations added
  7. 2y agotreeshapFirst CRAN release consolidates the unify() adapters

Frequently asked questions

What is the difference between cfrnow and treeshap?

They serve adjacent needs but don't currently overlap on shipped themes. cfrnow is currently shipping more aggressively (velocity 5.0 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 cfrnow better than treeshap?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. cfrnow is currently shipping more aggressively (velocity 5.0 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 cfrnow?

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