← Back to home
Comparison · Analytics

bonsai vs textrecipes

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

Shared themes:tidymodels

bonsai vs textrecipes: at a glance

Featurebonsaitextrecipes
SectorAnalyticsAnalytics
Velocity score0.00.0
Sparks · 30d00
Top themestidymodels, gradient-boosting, engines, lightgbmtext-processing, tidymodels, recipes, sparse-data
Last editorial update5h 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 textrecipes?

Text features finally stay sparse all the way to the model.

textrecipes supplies the recipes steps for turning text into model-ready columns: tokenizing, hashing, term frequency, TF-IDF, and word embeddings. Version 1.1.0 added a sparse argument to step_dummy_hash(), step_texthash(), step_tf() and step_tfidf() so they emit sparse vectors. The releases before it are a long consistency pass — keep_original_cols on every step that creates columns, informative errors on name collisions, tunable arguments documented, integer rather than double output where integers are what is meant.

Read the full textrecipes trajectory →

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

T
textrecipes
ANALYTICS
0.0

Text features finally stay sparse all the way to the model.

◆ Current state

textrecipes supplies the recipes steps for turning text into model-ready columns: tokenizing, hashing, term frequency, TF-IDF, and word embeddings. Version 1.1.0 added a sparse argument to step_dummy_hash(), step_texthash(), step_tf() and step_tfidf() so they emit sparse vectors. The releases before it are a long consistency pass — keep_original_cols on every step that creates columns, informative errors on name collisions, tunable arguments documented, integer rather than double output where integers are what is meant.

◆ Where it's heading

Two forces drive this package. One is memory: text produces wide, mostly-zero matrices, and the sparse work is the direct answer, landing in the same period that workflows learned to fit and predict on dgCMatrix input. The other is upstream churn — the tweets tokenizer was deprecated because tokenizers deprecated it, the politeness feature disappeared when textfeatures left Suggests. The package's own agenda is consistency; its release timing belongs to its dependencies.

◆ Prediction

Expect the sparse argument to spread to the remaining column-producing steps, since only four of them have it, and expect more steps to be reworked as recipes' own sparse-data support matures.

Alternatives to bonsai and textrecipes

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

See all bonsai alternatives → · See all textrecipes alternatives →

Recent activity from bonsai and textrecipes

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

  1. 2mo agobonsaicatboost gains multi_predict() and corrected tuning parameters
  2. 1y agobonsaicatboost engine added to boost_tree()
  3. 1y agotextrecipesHashing and TF-IDF steps can emit sparse vectors
  4. 1y agobonsailightgbm accepts sparse matrices for fit and predict
  5. 1y agotextrecipesstep_textfeatures() sped up; clean_levels NA bug fixed
  6. 2y agobonsaiaorsf fit failure in multisession workers fixed
  7. 2y agobonsaiaorsf engine added; lightgbm gains dataset params and case weights
  8. 2y agotextrecipestextfeatures dependency dropped; politeness feature removed
  9. 2y agotextrecipesuntokenize and normalization return factors
  10. 2y agotextrecipeskeep_original_cols everywhere; hashing column order fixed
  11. 3y agotextrecipesTunable arguments documented; name collisions now error
  12. 3y agobonsailightgbm num_leaves becomes tunable; alias arguments disallowed

Frequently asked questions

What is the difference between bonsai and textrecipes?

Both compete on the same themes — tidymodels — within Analytics. bonsai and textrecipes 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 textrecipes?

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

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