← Back to home
Comparison · Analytics

bonsai vs timetk

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

bonsai vs timetk: at a glance

Featurebonsaitimetk
SectorAnalyticsAnalytics
Velocity score0.00.0
Sparks · 30d00
Top themestidymodels, gradient-boosting, engines, lightgbmtime-series, anomaly-detection, visualization, feature-engineering
Last editorial update6h 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 timetk?

timetk swallowed anomalize whole, then went quiet for two years

timetk handles time series wrangling, visualization, and feature engineering in a tidyverse idiom. Its defining recent move was absorbing the anomalize package outright in 2.9.0, bringing anomaly detection, cleaning, and the associated plots inside timetk rather than leaving them in a sibling package. Development then paused for nearly two years before 2.9.1, a robustness and documentation release.

Read the full timetk trajectory →

bonsai vs timetk: 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
timetk
ANALYTICS
0.0

timetk swallowed anomalize whole, then went quiet for two years

◆ Current state

timetk handles time series wrangling, visualization, and feature engineering in a tidyverse idiom. Its defining recent move was absorbing the anomalize package outright in 2.9.0, bringing anomaly detection, cleaning, and the associated plots inside timetk rather than leaving them in a sibling package. Development then paused for nearly two years before 2.9.1, a robustness and documentation release.

◆ Where it's heading

The trajectory before the pause was consolidation: fold in adjacent functionality, then make the visualization layer handle many series at once via trelliscopejs, then broaden feature generation with tk_tsfeatures(). The recent release works on the least glamorous layer — internal generics so date parsing and sequence generation behave consistently across Date, POSIXct, hms, yearmon, and yearqtr — which is the kind of foundation work a package does when it has accumulated too many special cases. The long gap and the CI-refresh content suggest maintenance attention rather than a new direction.

◆ Prediction

The stated gap is the unimplemented twitter method for anomalize(), which is the one concrete outstanding item the release notes name; beyond that the recent work points to consolidation rather than expansion.

Alternatives to bonsai and timetk

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

See all bonsai alternatives → · See all timetk alternatives →

Recent activity from bonsai and timetk

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

  1. 2mo agobonsaicatboost gains multi_predict() and corrected tuning parameters
  2. 11mo agotimetktimetk 2.9.1 makes date parsing consistent across time classes
  3. 1y agobonsaicatboost engine added to boost_tree()
  4. 1y agobonsailightgbm accepts sparse matrices for fit and predict
  5. 2y agobonsaiaorsf fit failure in multisession workers fixed
  6. 2y agobonsaiaorsf engine added; lightgbm gains dataset params and case weights
  7. 2y agotimetktimetk 2.9.0 absorbs the anomalize package
  8. 3y agobonsailightgbm num_leaves becomes tunable; alias arguments disallowed
  9. 4y agotimetktimetk 2.8.1 exposes trelliscope plotting parameters
  10. 4y agotimetktimetk 2.8.0 adds trelliscopejs support for many-series plots
  11. 4y agotimetktimetk 2.7.0 adds tk_tsfeatures() for grouped feature matrices
  12. 4y agotimetktimetk 2.6.2 adds .week_start and facet direction controls

Frequently asked questions

What is the difference between bonsai and timetk?

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

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

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