← Back to home
Comparison · Analytics

bonsai vs loo

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

bonsai vs loo: at a glance

Featurebonsailoo
SectorAnalyticsAnalytics
Velocity score0.02.5
Sparks · 30d00
Top themestidymodels, gradient-boosting, engines, lightgbmbayesian, cross-validation, stan, 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 loo?

loo keeps rewriting the diagnostics Bayesian modellers read off model comparison

loo computes leave-one-out cross-validation and model comparison for Bayesian models in the Stan ecosystem. Two releases in this window changed what users actually read: 2.7.0 replaced the fixed Pareto-k thresholds with sample-size-dependent ones and dropped the middle category, and 2.10.0 reshaped loo_compare's output into a data.frame with new uncertainty columns. The releases between are diagnostic robustness fixes and moment-matching corrections.

Read the full loo trajectory →

bonsai vs loo: 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.

L
loo
ANALYTICS
2.5

loo keeps rewriting the diagnostics Bayesian modellers read off model comparison

◆ Current state

loo computes leave-one-out cross-validation and model comparison for Bayesian models in the Stan ecosystem. Two releases in this window changed what users actually read: 2.7.0 replaced the fixed Pareto-k thresholds with sample-size-dependent ones and dropped the middle category, and 2.10.0 reshaped loo_compare's output into a data.frame with new uncertainty columns. The releases between are diagnostic robustness fixes and moment-matching corrections.

◆ Where it's heading

The package is being brought in line with the current PSIS literature rather than extended with new features, and the practical effect is that the numbers practitioners quote in papers keep changing meaning. Work is increasingly delegated to posterior for shared computations, and the project has added contributor process, benchmarks and a published AI contribution policy.

◆ Prediction

Expect further work on comparison diagnostics — the p_worse and diag_* columns are new enough that their defaults and documentation will likely be revised next.

Alternatives to bonsai and loo

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

See all bonsai alternatives → · See all loo alternatives →

Recent activity from bonsai and loo

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

  1. 20d agoloopsis_smooth_tail revert and simplify arg restored
  2. 1mo agolooloo_compare returns a data.frame with new uncertainty columns
  3. 2mo agobonsaicatboost gains multi_predict() and corrected tuning parameters
  4. 7mo agolooStacking overflow fixes and posterior-based ESS
  5. 1y agobonsaicatboost engine added to boost_tree()
  6. 1y agobonsailightgbm accepts sparse matrices for fit and predict
  7. 2y agobonsaiaorsf fit failure in multisession workers fixed
  8. 2y agolooMore robust Pareto-k diagnostics and moment matching
  9. 2y agobonsaiaorsf engine added; lightgbm gains dataset params and case weights
  10. 2y agolooPareto-k thresholds now depend on sample size
  11. 3y agolooLOO predictive metrics and CRPS scoring functions
  12. 3y agobonsailightgbm num_leaves becomes tunable; alias arguments disallowed

Frequently asked questions

What is the difference between bonsai and loo?

They serve adjacent needs but don't currently overlap on shipped themes. loo is currently shipping more aggressively (velocity 2.5 vs 0.0), with 0 editorial sparks in the last 30 days against 0. See the at-a-glance table above for a side-by-side breakdown of velocity, recent sparks, and editorial themes.

Is bonsai better than loo?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. loo is currently shipping more aggressively (velocity 2.5 vs 0.0), with 0 editorial sparks in the last 30 days against 0. 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 loo?

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