← Back to home
Comparison · Infra & APIs

KRLS vs rgm

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

Shared themes:r-package

KRLS vs rgm: at a glance

FeatureKRLSrgm
SectorInfra & APIsInfra & APIs
Velocity score0.00.0
Sparks · 30d00
Top themeskernel-methods, machine-learning, causal-inference, scalabilitymicrobiome, graphical-models, bayesian-inference, cran-maintenance
Last editorial update1h ago1h ago
WebsiteVisit →Visit →

What is KRLS?

A 2014 kernel regression method getting the scalability and tooling it never had, in a three-release afternoon.

KRLS fits kernel regularized least squares, a method whose exact form requires an n-by-n kernel matrix and therefore stops being usable well before modern sample sizes. Three releases shipped within 33 minutes of each other addressed exactly that: a Nystrom approximation mode with conditional approximate inference, kmeans landmark selection with an accessor for reusing landmarks across fits, and GCV as an alternative to leave-one-out for choosing lambda. The default path remains the exact one, and existing calls are unchanged.

Read the full KRLS trajectory →

What is rgm?

A microbiome network model that got itself un-archived by deleting the dependency that killed it.

rgm implements the random graphical model for microbiome interactions across related environments, published in JABES in 2026. The package was archived from CRAN in February 2026 because of its dependency on huge; the recovery release drops that dependency entirely, which cost it the graphical-lasso warm start that used to seed the initial graph — the default is now an empty graph, with warm starts left to the user. A post-processing function returning ggplot diagnostics arrived in the same release.

Read the full rgm trajectory →

KRLS vs rgm: editorial side-by-side

K
KRLS
INFRA · APIS
0.0

A 2014 kernel regression method getting the scalability and tooling it never had, in a three-release afternoon.

◆ Current state

KRLS fits kernel regularized least squares, a method whose exact form requires an n-by-n kernel matrix and therefore stops being usable well before modern sample sizes. Three releases shipped within 33 minutes of each other addressed exactly that: a Nystrom approximation mode with conditional approximate inference, kmeans landmark selection with an accessor for reusing landmarks across fits, and GCV as an alternative to leave-one-out for choosing lambda. The default path remains the exact one, and existing calls are unchanged.

◆ Where it's heading

The package is being modernized on two tracks that reinforce each other. The interface track — a formula method, broom extractors, autoplot, summary and glance diagnostics — makes the estimator fit contemporary R workflows without touching the algorithm, and the notes are explicit that existing matrix-interface calls remain bit-identical. The performance track removes the reasons it could not be run at all: the Nystrom mode for the kernel matrix, and an average-marginal-effects variance computation rewritten via a row-sum identity to quadratic per-predictor cost. Everything is added as opt-in, which suggests the goal is reaching new users without disturbing replication of published results.

◆ Prediction

With approximation, landmark reuse, and a second lambda criterion now in place, the remaining gap is guidance on when to trust them; the scaling vignette shipped alongside GCV points to more empirical validation rather than new estimation machinery.

R
rgm
INFRA · APIS
0.0

A microbiome network model that got itself un-archived by deleting the dependency that killed it.

◆ Current state

rgm implements the random graphical model for microbiome interactions across related environments, published in JABES in 2026. The package was archived from CRAN in February 2026 because of its dependency on huge; the recovery release drops that dependency entirely, which cost it the graphical-lasso warm start that used to seed the initial graph — the default is now an empty graph, with warm starts left to the user. A post-processing function returning ggplot diagnostics arrived in the same release.

◆ Where it's heading

Three tags shipped inside two hours on one day, and the notes are candid about why: 1.1.0 held the actual work but was never released, 1.2.0 restated it under a higher version to signal the size of the change, and 1.2.1 answered CRAN pre-test feedback. Beyond the archival recovery, the visible work is housekeeping that had accumulated — a shadowed rmvnorm() definition, roxygen import tags that were silently emitting nothing, leftover C++ template scaffolding, and build artifacts under version control. The diagnostics function is the only genuinely new user-facing capability in the window.

◆ Prediction

The immediate task was restoring availability, and that is done; the open question the entries raise is whether losing the graphical-lasso warm start affects convergence in practice, which the new diagnostic plots are positioned to answer.

Alternatives to KRLS and rgm

Other Infra & APIs 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 KRLS or rgm.

See all KRLS alternatives → · See all rgm alternatives →

Recent activity from KRLS and rgm

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

  1. 3mo agoKRLSGCV added as an alternative lambda selection criterion
  2. 3mo agoKRLSKmeans landmark selection and landmark reuse across fits
  3. 3mo agoKRLSNystrom approximation mode lifts the sample-size ceiling
  4. 3mo agoKRLSFormula interface plus broom and autoplot support
  5. 3mo agorgmJournal DOI replaces the preprint; promotional wording removed
  6. 3mo agorgmBack on CRAN after dropping the dependency that caused archival
  7. 3mo agorgmUnreleased twin of the CRAN recovery release
  8. 3mo agoKRLSv1.1-0: Update Chad Hazlett affiliation MIT -> UCLA in 9 .Rd files
  9. 2y agorgmFirst release: simulation, estimation and post-processing

Frequently asked questions

What is the difference between KRLS and rgm?

Both compete on the same themes — r-package — within Infra & APIs. KRLS and rgm 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 KRLS better than rgm?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. KRLS and rgm 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 Infra & APIs products to evaluate alongside.

What are the best alternatives to KRLS?

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

What are the best alternatives to rgm?

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