← Back to home
Comparison · Analytics

bpbounds vs shapviz

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

bpbounds vs shapviz: at a glance

Featurebpboundsshapviz
SectorAnalyticsAnalytics
Velocity score0.00.0
Sparks · 30d00
Top themescausal inference, instrumental variables, r, partial identificationshap, visualization, model explainability, ggplot2
Last editorial update1h ago2h ago
WebsiteVisit →Visit →

What is bpbounds?

bpbounds found the same swapped-cell bug twice and clamped its bounds back into range

bpbounds computes nonparametric Balke-Pearl bounds on the average causal effect from instrumental variable data, in the bivariate and trivariate cases. After years of pure packaging maintenance, the two 2026 releases are analytical corrections. Bounds on intervention probabilities are now clamped to [0, 1] so derived causal risk ratio bounds cannot fall outside their feasible range, and a cell-ordering error in the trivariate three-category instrument path has been repaired.

Read the full bpbounds trajectory →

What is shapviz?

shapviz refines its SHAP plots release by release while chasing ggplot2's moving target.

shapviz turns SHAP values from XGBoost, LightGBM, H2O, kernelshap and other sources into standard diagnostic plots — importance, dependence, waterfall, force and interaction. Recent work is plot ergonomics: shared y-axis control across dependence plots, a bar view for interaction values, and axis collection via patchwork. The two most recent releases are pure compatibility and bug fixes.

Read the full shapviz trajectory →

bpbounds vs shapviz: editorial side-by-side

B
bpbounds
ANALYTICS
0.0

bpbounds found the same swapped-cell bug twice and clamped its bounds back into range

◆ Current state

bpbounds computes nonparametric Balke-Pearl bounds on the average causal effect from instrumental variable data, in the bivariate and trivariate cases. After years of pure packaging maintenance, the two 2026 releases are analytical corrections. Bounds on intervention probabilities are now clamped to [0, 1] so derived causal risk ratio bounds cannot fall outside their feasible range, and a cell-ordering error in the trivariate three-category instrument path has been repaired.

◆ Where it's heading

The direction is toward agreement with the reference Stata implementation and away from silently wrong output. The clamping change is described as matching the same fix in the Stata package, which suggests the two implementations are being reconciled rather than developed independently. The cell-ordering defect is the more instructive one: it was fixed in the calculation function in 0.1.7 and then again in the constraint matrix in 0.1.8, meaning the same x=0,y=1 / x=1,y=0 swap had been written in two places.

◆ Prediction

Since the recent fixes came from an external contributor's report and both touched the trivariate three-category path, the untested corners of that path are where further corrections would surface — but the release notes give no roadmap beyond parity with the Stata package.

S
shapviz
ANALYTICS
0.0

shapviz refines its SHAP plots release by release while chasing ggplot2's moving target.

◆ Current state

shapviz turns SHAP values from XGBoost, LightGBM, H2O, kernelshap and other sources into standard diagnostic plots — importance, dependence, waterfall, force and interaction. Recent work is plot ergonomics: shared y-axis control across dependence plots, a bar view for interaction values, and axis collection via patchwork. The two most recent releases are pure compatibility and bug fixes.

◆ Where it's heading

Two threads run in parallel here. One is visual refinement converging on conventions from Python's shap — the 0.10.0 notes openly float switching share_y to TRUE to match it. The other is connector maintenance, keeping pace with H2O, XGBoost 1.x and 2.x, shapr and permshap as each changes. Neither thread adds new explanation methods; shapviz's job is presentation, and it is being polished rather than extended.

◆ Prediction

Expect share_y = TRUE to become the default and further ggplot2 4.x fallout, with connector updates arriving as the upstream SHAP packages release.

Alternatives to bpbounds and shapviz

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 bpbounds or shapviz.

See all bpbounds alternatives → · See all shapviz alternatives →

Recent activity from bpbounds and shapviz

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

  1. 1mo agobpboundsbpbounds clamps probability bounds and fixes a constraint-matrix swap
  2. 2mo agobpboundsbpbounds fixes swapped cells in the trivariate calculation
  3. 10mo agoshapvizggplot 4.0 compatibility fix
  4. 1y agoshapvizFixes duplicated bars in sv_interaction()
  5. 1y agoshapvizggplot2 and patchwork dependency bumps
  6. 1y agoshapvizShared y-axis control and bar-style interaction plots
  7. 1y agoshapvizH2O random forests gain TreeSHAP support
  8. 1y agoshapvizFixes a broken vignette link
  9. 2y agobpboundsbpbounds 0.1.6
  10. 3y agobpboundsbpbounds 0.1.5
  11. 6y agobpboundsVersion 0.1.4 on CRAN
  12. 7y agobpboundsVersion 0.1.3

Frequently asked questions

What is the difference between bpbounds and shapviz?

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

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

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

What are the best alternatives to shapviz?

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