← Back to home
Comparison · Analytics

cfrnow vs kernelshap

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

cfrnow vs kernelshap: at a glance

Featurecfrnowkernelshap
SectorAnalyticsAnalytics
Velocity score5.00.0
Sparks · 30d00
Top themesepidemiology, bayesian-modelling, cfr-estimation, r-packageshap, model explainability, sampling algorithms, numerical correctness
Last editorial update1h ago41m 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 kernelshap?

kernelshap makes permutation SHAP practical past eight features, then fixes the kernel weights it had wrong.

kernelshap computes model-agnostic SHAP values in R through Kernel SHAP, permutation SHAP and an exact additive explainer. Version 0.8.0 added a sampling permutation-SHAP algorithm with standard errors and early stopping, lifting the practical feature ceiling past what the exact method allows. Version 0.9.0 then corrected a bug in how kernel weights were computed — exact Kernel SHAP now agrees with exact permutation SHAP — and moved parallelism from foreach to doFuture.

Read the full kernelshap trajectory →

cfrnow vs kernelshap: 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.

K
kernelshap
ANALYTICS
0.0

kernelshap makes permutation SHAP practical past eight features, then fixes the kernel weights it had wrong.

◆ Current state

kernelshap computes model-agnostic SHAP values in R through Kernel SHAP, permutation SHAP and an exact additive explainer. Version 0.8.0 added a sampling permutation-SHAP algorithm with standard errors and early stopping, lifting the practical feature ceiling past what the exact method allows. Version 0.9.0 then corrected a bug in how kernel weights were computed — exact Kernel SHAP now agrees with exact permutation SHAP — and moved parallelism from foreach to doFuture.

◆ Where it's heading

Two concerns drive this package: making exact methods reach further, and being demonstrably right. The first shows in the additive explainer, the optional background dataset and the sampling permutation algorithm; the second in unit tests written against Python's shap, credited fixes from outside contributors, and a willingness to ship a correctness fix that changes numbers people have already published. Speed work runs continuously underneath — direct solves replacing the Moore-Penrose pseudo-inverse, roughly 10% less memory.

◆ Prediction

The 0.6.0 and 0.7.0 notes each promised a stable 1.0.0 that has not arrived; with the weighting bug fixed and parallelism reworked, a 1.0 release is the most plausible next step.

Alternatives to cfrnow and kernelshap

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 kernelshap.

See all cfrnow alternatives → · See all kernelshap alternatives →

Recent activity from cfrnow and kernelshap

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. 1y agokernelshapKernel weight bug fixed; parallelism moves to doFuture
  5. 1y agokernelshapSampling permutation SHAP with standard errors
  6. 1y agokernelshapBackground data now optional; ranger survival support
  7. 2y agokernelshapFactor-valued predictions dropped
  8. 2y agokernelshapadditive_shap() explains additive models exactly
  9. 2y agokernelshapFaster on plain data.frames

Frequently asked questions

What is the difference between cfrnow and kernelshap?

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 kernelshap?

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 kernelshap?

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