← Back to home
Comparison · Analytics

hstats vs n1qn1c

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

hstats vs n1qn1c: at a glance

Featurehstatsn1qn1c
SectorAnalyticsAnalytics
Velocity score0.00.0
Sparks · 30d00
Top themesinteraction statistics, partial dependence, model explainability, r packagenumerical-optimization, quasi-newton, thread-safety, memory-safety
Last editorial update4h 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 n1qn1c?

A Fortran-descended optimizer got thread-safe, then found two flags that never worked.

n1qn1c is a quasi-Newton optimization routine translated from Fortran to C, used as a solver backend by the nlmixr2 modeling stack rather than called directly by most users. Its two 2026 releases are a concentrated safety pass: global state converted to thread_local, static removed from local variables in the translated code, integer overflow guards added, and memory leaks closed in the R callback wrappers — plus the gcc-asan and valgrind fixes CRAN asked for.

Read the full n1qn1c trajectory →

hstats vs n1qn1c: 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.

N
n1qn1c
ANALYTICS
0.0

A Fortran-descended optimizer got thread-safe, then found two flags that never worked.

◆ Current state

n1qn1c is a quasi-Newton optimization routine translated from Fortran to C, used as a solver backend by the nlmixr2 modeling stack rather than called directly by most users. Its two 2026 releases are a concentrated safety pass: global state converted to thread_local, static removed from local variables in the translated code, integer overflow guards added, and memory leaks closed in the R callback wrappers — plus the gcc-asan and valgrind fixes CRAN asked for.

◆ Where it's heading

The package is being hardened for use inside a parallel modeling framework rather than extended. The audit that produced the thread-safety work also surfaced two plain bugs in features users would have assumed worked: restart = TRUE left the mode at 2 instead of 3 because of a typo, and assign = TRUE referenced the wrong field name so the compressed Hessian was never written to the supplied environment. Earlier work points the same direction — the 6.0.1-12 function-pointer interface exists so nlmixr2est does not need resubmission when this package changes.

◆ Prediction

Expect further memory-safety and sanitizer work rather than algorithmic change; a Fortran-translated numerical core under CRAN's checking regime generates that kind of release indefinitely.

Alternatives to hstats and n1qn1c

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

See all hstats alternatives → · See all n1qn1c alternatives →

Recent activity from hstats and n1qn1c

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

  1. 4mo agon1qn1crestart and assign flags fixed; sanitizer issues cleared
  2. 4mo agon1qn1cGlobal state converted to thread_local
  3. 10mo agohstatsggplot 4.0 compatibility and test coverage
  4. 1y agon1qn1cFunction-pointer API decouples nlmixr2est releases
  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 agohstatsFaster data.frame paths; NaN H-statistics fixed
  9. 2y agohstatsFactor predictions and line-style 2D partial dependence

Frequently asked questions

What is the difference between hstats and n1qn1c?

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

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

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