← Back to home
Comparison · Analytics

bonsai vs mlr3cluster

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

bonsai vs mlr3cluster: at a glance

Featurebonsaimlr3cluster
SectorAnalyticsAnalytics
Velocity score0.00.0
Sparks · 30d00
Top themestidymodels, gradient-boosting, engines, lightgbmclustering, mlr3, machine-learning, r-stats
Last editorial update4h ago1h ago
WebsiteVisit →Visit →

What is bonsai?

bonsai keeps widening tidymodels' boosted-tree engine bench, catboost most recently

bonsai exists to attach non-core tree engines to parsnip's boost_tree() and rand_forest(), and the release history reads as a steady accumulation of them: partykit, aorsf, lightgbm, and now catboost. The 0.4.x line is spent making catboost behave like a full tidymodels citizen rather than adding anything new.

Read the full bonsai 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 →

bonsai vs mlr3cluster: editorial side-by-side

B
bonsai
ANALYTICS
0.0

bonsai keeps widening tidymodels' boosted-tree engine bench, catboost most recently

◆ Current state

bonsai exists to attach non-core tree engines to parsnip's boost_tree() and rand_forest(), and the release history reads as a steady accumulation of them: partykit, aorsf, lightgbm, and now catboost. The 0.4.x line is spent making catboost behave like a full tidymodels citizen rather than adding anything new.

◆ Where it's heading

Each engine follows the same arc — land it, then close the gaps that keep it from tuning cleanly (parameter naming, multi_predict, threading, case weights). Recent work is squarely in that second phase for catboost, with dials supplying the matching parameter objects on its own release schedule. Bug-fix density is high relative to new surface.

◆ Prediction

Expect the catboost integration to keep filling in tuning and GPU-related arguments before any further engine is added; the entries give no signal about which engine would come next.

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

See all bonsai alternatives → · See all mlr3cluster alternatives →

Recent activity from bonsai 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. 2mo agobonsaicatboost gains multi_predict() and corrected tuning parameters
  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. 1y agobonsaicatboost engine added to boost_tree()
  8. 1y agomlr3clusterMclust learner brought in line with paradox conventions
  9. 1y agobonsailightgbm accepts sparse matrices for fit and predict
  10. 2y agobonsaiaorsf fit failure in multisession workers fixed
  11. 2y agobonsaiaorsf engine added; lightgbm gains dataset params and case weights
  12. 3y agobonsailightgbm num_leaves becomes tunable; alias arguments disallowed

Frequently asked questions

What is the difference between bonsai and mlr3cluster?

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

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

Top bonsai alternatives in Analytics are ranked by recent ship velocity. Browse the "bonsai alternatives" section above for the current picks, or visit /alternatives/bonsai-r 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.