← Back to home
Comparison · Analytics

hardhat vs mlr3cluster

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

Shared themes:r-statsmachine-learning

hardhat vs mlr3cluster: at a glance

Featurehardhatmlr3cluster
SectorAnalyticsAnalytics
Velocity score0.00.0
Sparks · 30d00
Top themestidymodels, r-stats, machine-learning, infrastructureclustering, mlr3, machine-learning, r-stats
Last editorial update1h ago1h ago
WebsiteVisit →Visit →

What is hardhat?

hardhat keeps adding the contracts tidymodels needs next

hardhat is the infrastructure layer under tidymodels, defining the preprocessing and extraction contracts other packages implement. Its releases read as a list of new generics and vector classes: extract_postprocessor(), extract_fit_time(), extract_tailor(), and a quantile_pred() class for quantile-regression output. The newest release is narrow warning and missing-value handling in mold().

Read the full hardhat trajectory →

What is mlr3cluster?

mlr3cluster went from a handful of clusterers to covering the field

mlr3cluster supplies clustering learners to the mlr3 framework. Over three releases it added roughly a dozen learners — CLARA, k-prototypes, spectral, then a batch of nine covering finite mixtures, spherical and directional families, self-organising maps, spatio-temporal DBSCAN and robust trimmed clustering. The newest release fixes predict-time behaviour across the hierarchical learners.

Read the full mlr3cluster trajectory →

hardhat vs mlr3cluster: editorial side-by-side

H
hardhat
ANALYTICS
0.0

hardhat keeps adding the contracts tidymodels needs next

◆ Current state

hardhat is the infrastructure layer under tidymodels, defining the preprocessing and extraction contracts other packages implement. Its releases read as a list of new generics and vector classes: extract_postprocessor(), extract_fit_time(), extract_tailor(), and a quantile_pred() class for quantile-regression output. The newest release is narrow warning and missing-value handling in mold().

◆ Where it's heading

Each addition here lands ahead of a user-facing feature elsewhere in tidymodels — the postprocessor and tailor generics precede the postprocessing workflow, quantile_pred() precedes quantile prediction in parsnip. The package's own surface stays deliberately small and its cadence follows what the rest of the stack is about to need.

◆ Prediction

Expect further extraction generics and prediction-type classes as tidymodels builds out postprocessing, with hardhat's own API remaining thin.

M
mlr3cluster
ANALYTICS
0.0

mlr3cluster went from a handful of clusterers to covering the field

◆ Current state

mlr3cluster supplies clustering learners to the mlr3 framework. Over three releases it added roughly a dozen learners — CLARA, k-prototypes, spectral, then a batch of nine covering finite mixtures, spherical and directional families, self-organising maps, spatio-temporal DBSCAN and robust trimmed clustering. The newest release fixes predict-time behaviour across the hierarchical learners.

◆ Where it's heading

The package is at the tail end of a coverage push, and the emphasis has shifted from adding algorithms to making the ones it has behave correctly at prediction time — cutting trees at the current k, reclustering coresets, failing informatively on unsupported metric combinations. That is the normal sequence after a rapid expansion.

◆ Prediction

Expect further predict-path corrections and parameter-set alignment across the newly added learners before any more algorithms arrive.

Alternatives to hardhat and mlr3cluster

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 hardhat or mlr3cluster.

See all hardhat alternatives → · See all mlr3cluster alternatives →

Recent activity from hardhat and mlr3cluster

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

  1. 1mo agomlr3clusterHierarchical learners now honour k at prediction time
  2. 2mo agomlr3clusterNine new clustering learners in one release
  3. 4mo agohardhatmold() warning and quantile missing-value fixes
  4. 5mo agomlr3clusterCLARA, k-prototypes and spectral clustering learners added
  5. 6mo agomlr3clusterTyped error classes and probabilistic EM assignments
  6. 8mo agomlr3clusterHDBSCAN gains cluster_selection_epsilon
  7. 11mo agohardhatextract_tailor() generic added
  8. 1y agomlr3clusterMclust learner brought in line with paradox conventions
  9. 1y agohardhatquantile_pred() class for quantile regression output
  10. 2y agohardhatextract_postprocessor() and extract_fit_time() generics
  11. 2y agohardhatDocumentation topic renamed at CRAN's request
  12. 3y agohardhatMulti-outcome prediction helpers and one-hot factor encoding

Frequently asked questions

What is the difference between hardhat and mlr3cluster?

Both compete on the same themes — r-stats, machine-learning — within Analytics. hardhat and mlr3cluster 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 hardhat better than mlr3cluster?

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

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

What are the best alternatives to mlr3cluster?

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