Skip to content

tidymodels/bonsai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

4add5af · Apr 25, 2025
Apr 25, 2025
Apr 25, 2025
Apr 25, 2025
May 19, 2022
Apr 25, 2025
May 19, 2022
Apr 25, 2025
Apr 25, 2025
Apr 25, 2025
Jul 16, 2022
Apr 25, 2025
Mar 7, 2023
Apr 25, 2025
Feb 11, 2025
Apr 25, 2025
Apr 25, 2025
Apr 25, 2025
Apr 29, 2022
Apr 25, 2025
Jun 9, 2022
Apr 29, 2022
Feb 10, 2025

Repository files navigation

bonsai

Lifecycle: experimental CRAN status Codecov test coverage R-CMD-check

bonsai provides bindings for additional tree-based model engines for use with the parsnip package.

This package is based off of the work done in the treesnip repository by Athos Damiani, Daniel Falbel, and Roel Hogervorst. bonsai is the official CRAN version of the package; new development will reside here.

Installation

You can install the most recent official release of bonsai with:

install.packages("bonsai")

You can install the development version of bonsai from GitHub with:

# install.packages("pak")
pak::pak("tidymodels/bonsai")

Available Engines

The bonsai package provides additional engines for the models in the following table:

model engine mode
boost_tree lightgbm regression
boost_tree lightgbm classification
decision_tree partykit regression
decision_tree partykit classification
rand_forest partykit regression
rand_forest partykit classification
rand_forest aorsf classification
rand_forest aorsf regression

Code of Conduct

Please note that the bonsai project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.

About

parsnip wrappers for tree-based models

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Code of conduct

Stars

Watchers

Forks

Languages