← Back to home
Comparison · Analytics

ggdemetra vs kernelshap

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

ggdemetra vs kernelshap: at a glance

Featureggdemetrakernelshap
SectorAnalyticsAnalytics
Velocity score0.00.0
Sparks · 30d00
Top themesseasonal-adjustment, ggplot2, time-series, tramo-seatsshap, model explainability, sampling algorithms, numerical correctness
Last editorial update1h ago11h ago
WebsiteVisit →Visit →

What is ggdemetra?

A ggplot2 layer for seasonal adjustment output, filling in one plot type at a time.

ggdemetra is a thin, focused bridge: it puts RJDemetra's seasonal adjustment results — TRAMO-SEATS and X-13 models — into ggplot2 geoms and autoplot methods. Development runs in short bursts separated by long quiet stretches, and the most recent work has been correcting SI ratio handling rather than adding surface. The API is small enough that a single function rename counts as the notable change in a release.

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

ggdemetra vs kernelshap: editorial side-by-side

G
ggdemetra
ANALYTICS
0.0

A ggplot2 layer for seasonal adjustment output, filling in one plot type at a time.

◆ Current state

ggdemetra is a thin, focused bridge: it puts RJDemetra's seasonal adjustment results — TRAMO-SEATS and X-13 models — into ggplot2 geoms and autoplot methods. Development runs in short bursts separated by long quiet stretches, and the most recent work has been correcting SI ratio handling rather than adding surface. The API is small enough that a single function rename counts as the notable change in a release.

◆ Where it's heading

The package has been steadily completing its coverage of the seasonal adjustment output surface: component extractors and autoplot methods in 0.2.3, SI ratio plotting in 0.2.5, then two releases of corrections to make SI ratios behave under TRAMO-SEATS jSA models and when no seasonal component is exported. Alongside that, the naming is being tidied — y_forecast() became raw(), and init_ggplot() shortened the setup boilerplate. This reads as a package approaching the edge of its intended scope and spending its effort on correctness.

◆ Prediction

Two consecutive releases fixing SI ratios under TRAMO-SEATS suggest that code path is the least settled part of the package, so further corrections there are the most likely next move. The entries give no indication of new model families or plot types being planned.

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

See all ggdemetra alternatives → · See all kernelshap alternatives →

Recent activity from ggdemetra and kernelshap

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

  1. 1y agokernelshapKernel weight bug fixed; parallelism moves to doFuture
  2. 1y agokernelshapSampling permutation SHAP with standard errors
  3. 1y agokernelshapBackground data now optional; ranger survival support
  4. 2y agokernelshapFactor-valued predictions dropped
  5. 2y agokernelshapadditive_shap() explains additive models exactly
  6. 2y agoggdemetrasiratio() fix when TRAMO-SEATS exports no seasonal component
  7. 2y agoggdemetraraw() replaces y_forecast(); new init_ggplot() helper
  8. 2y agoggdemetraRe-tagged moments later as 0.2.7
  9. 2y agokernelshapFaster on plain data.frames
  10. 3y agoggdemetraSI ratio plotting functions land
  11. 5y agoggdemetrats2df() conversion helper and geom_outlier date fix
  12. 6y agoggdemetrageom_arima no longer recomputes the model

Frequently asked questions

What is the difference between ggdemetra and kernelshap?

They serve adjacent needs but don't currently overlap on shipped themes. ggdemetra and kernelshap 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 ggdemetra better than kernelshap?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. ggdemetra and kernelshap 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 ggdemetra?

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