← Back to home
Comparison · Analytics

kernelshap vs SimInf

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

kernelshap vs SimInf: at a glance

FeaturekernelshapSimInf
SectorAnalyticsAnalytics
Velocity score0.00.0
Sparks · 30d00
Top themesshap, model explainability, sampling algorithms, numerical correctnessepidemiology, stochastic-simulation, bayesian-inference, r-package
Last editorial update8h ago1h ago
WebsiteVisit →Visit →

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 →

What is SimInf?

SimInf 10.0 turns an epidemic simulator into a tool that fits models to real time series

SimInf simulates stochastic disease spread over networks of nodes, with a model parser that compiles user-specified transitions to C. Version 10.0.0 was a deliberate major break: the SimInf_pfilter S4 class and the bootstrap filtering interface were redesigned, a replicates slot was added to SimInf_model, a multi-particle variant of the split-step solver arrived, and the package gained Particle Markov Chain Monte Carlo fitting against observed time series. The follow-up 10.1.0 is a single zero-length memcpy fix found by CRAN's M1 checks.

Read the full SimInf trajectory →

kernelshap vs SimInf: editorial side-by-side

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.

S
SimInf
ANALYTICS
0.0

SimInf 10.0 turns an epidemic simulator into a tool that fits models to real time series

◆ Current state

SimInf simulates stochastic disease spread over networks of nodes, with a model parser that compiles user-specified transitions to C. Version 10.0.0 was a deliberate major break: the SimInf_pfilter S4 class and the bootstrap filtering interface were redesigned, a replicates slot was added to SimInf_model, a multi-particle variant of the split-step solver arrived, and the package gained Particle Markov Chain Monte Carlo fitting against observed time series. The follow-up 10.1.0 is a single zero-length memcpy fix found by CRAN's M1 checks.

◆ Where it's heading

The package has been moving from simulation toward inference for several releases. The 9.x line built the input side — utilities for cleaning raw individual event data, variables and enumeration constants in the model parser — and 10.0.0 closed the loop by making the simulator fittable to data through PMCMC. The version number was incremented precisely because that required breaking the particle filter interface.

◆ Prediction

Fitting machinery this new usually needs a second pass on usability, so the next releases most likely focus on diagnostics and documentation around PMCMC rather than on the simulation core, which has been stable across the whole 9.x and 10.x history.

Alternatives to kernelshap and SimInf

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

See all kernelshap alternatives → · See all SimInf alternatives →

Recent activity from kernelshap and SimInf

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

  1. 9mo agoSimInfAvoid memcpy on zero-length continuous state vector
  2. 9mo agoSimInfPMCMC fitting arrives; particle filter interface redesigned
  3. 1y agokernelshapKernel weight bug fixed; parallelism moves to doFuture
  4. 1y agokernelshapSampling permutation SHAP with standard errors
  5. 1y agokernelshapBackground data now optional; ranger survival support
  6. 2y agokernelshapFactor-valued predictions dropped
  7. 2y agoSimInfDocumentation link anchors; parser dependency fix
  8. 2y agokernelshapadditive_shap() explains additive models exactly
  9. 2y agoSimInfModel parser gains variables and enumeration constants
  10. 2y agoSimInfindividual_events() added for raw event data cleaning
  11. 2y agokernelshapFaster on plain data.frames
  12. 3y agoSimInfConfigure script uses R to locate the compiler

Frequently asked questions

What is the difference between kernelshap and SimInf?

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

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

What are the best alternatives to SimInf?

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