← Back to home
Comparison · Analytics

hstats vs redist

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

hstats vs redist: at a glance

Featurehstatsredist
SectorAnalyticsAnalytics
Velocity score0.00.0
Sparks · 30d00
Top themesinteraction statistics, partial dependence, model explainability, r packager, redistricting, monte-carlo, sampling
Last editorial update7h ago1h ago
WebsiteVisit →Visit →

What is hstats?

hstats settled into maintenance after its 1.0 restructuring, with model coverage the only thing still growing.

hstats computes Friedman's H-statistics, partial dependence, ICE curves and permutation importance for any model exposing a prediction function. The releases in view are consolidation: performance work on plain data.frames, ICE facetting for multioutput models, ranger survival support, and a ggplot 4.0 compatibility pass in 2025. The package moved to the ModelOriented organisation in 1.2.0.

Read the full hstats trajectory →

What is redist?

redist keeps rewriting the sampler underneath a district-drawing API it has held stable since 4.0.

redist simulates redistricting plans via sequential Monte Carlo, merge-split MCMC and short-burst optimization, and it is the analysis tool behind a good deal of published districting work. The user-facing shape was set by 4.0.1's constraint interface and the split of metrics into the redistmetrics package; since then the changes are in the algorithms. The most consequential recent one replaces the SMC label-counting adjustment with a backward kernel that removes approximation error outright.

Read the full redist trajectory →

hstats vs redist: editorial side-by-side

H
hstats
ANALYTICS
0.0

hstats settled into maintenance after its 1.0 restructuring, with model coverage the only thing still growing.

◆ Current state

hstats computes Friedman's H-statistics, partial dependence, ICE curves and permutation importance for any model exposing a prediction function. The releases in view are consolidation: performance work on plain data.frames, ICE facetting for multioutput models, ranger survival support, and a ggplot 4.0 compatibility pass in 2025. The package moved to the ModelOriented organisation in 1.2.0.

◆ Where it's heading

The structural work — the hstats_matrix object, quantile approximation, revised plotting — landed in 1.0.0 just outside this window, and nothing since has changed the package's shape. What continues is model-coverage plumbing: mlr3 classification modes, ranger survival behind a survival argument, and factor predictions added in 1.1.0 then removed again in 1.2.0. The most recent releases are compatibility-driven, tracking ggplot2 rather than the interaction statistics.

◆ Prediction

Expect the next release to be another dependency-compatibility pass or a new model backend working out of the box, rather than new interaction statistics.

R
redist
ANALYTICS
0.0

redist keeps rewriting the sampler underneath a district-drawing API it has held stable since 4.0.

◆ Current state

redist simulates redistricting plans via sequential Monte Carlo, merge-split MCMC and short-burst optimization, and it is the analysis tool behind a good deal of published districting work. The user-facing shape was set by 4.0.1's constraint interface and the split of metrics into the redistmetrics package; since then the changes are in the algorithms. The most consequential recent one replaces the SMC label-counting adjustment with a backward kernel that removes approximation error outright.

◆ Where it's heading

The direction is toward exactness and throughput at once — the new kernel is described as both eliminating approximation error and costing far less computation, and successive releases keep adding parallelism, most recently to the flip algorithm. Feature growth has moved into the optimization side, where short-burst gained multiple independent scorers and a Pareto frontier. The release notes are not a reliable ledger: 4.3.1 ships the identical text as 4.3.0.

◆ Prediction

Expect the remaining single-threaded algorithms to gain the chains-style parallelism that flip just received, following the pattern SMC established several releases ago.

Alternatives to hstats and redist

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 hstats or redist.

See all hstats alternatives → · See all redist alternatives →

Recent activity from hstats and redist

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

  1. 6mo agoredistParallel chains for redist_flip()
  2. 6mo agoredistPatch release reusing the 4.3.0 notes
  3. 10mo agohstatsggplot 4.0 compatibility and test coverage
  4. 10mo agoredistSMC backward kernel removes label-counting approximation error
  5. 1y agohstatsranger survival models supported out of the box
  6. 2y agohstatsMoves to ModelOriented; factor predictions removed
  7. 2y agohstatsICE facets for multioutput models; mlr3 fixes
  8. 2y agoredistMulti-objective short-burst search with Pareto frontier
  9. 2y agohstatsFaster data.frame paths; NaN H-statistics fixed
  10. 2y agohstatsFactor predictions and line-style 2D partial dependence
  11. 3y agoredistredist_ci interface and faster loop-erased random walk
  12. 4y agoredistredist_constr() unifies constraints and admits user-defined ones

Frequently asked questions

What is the difference between hstats and redist?

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

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

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

What are the best alternatives to redist?

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