{"id":19253618,"url":"https://github.com/tidymodels/bonsai","last_synced_at":"2025-04-05T13:09:52.761Z","repository":{"id":37873638,"uuid":"486984064","full_name":"tidymodels/bonsai","owner":"tidymodels","description":"parsnip wrappers for tree-based models","archived":false,"fork":false,"pushed_at":"2025-02-12T13:50:50.000Z","size":2915,"stargazers_count":52,"open_issues_count":13,"forks_count":8,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-03-29T12:06:42.930Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://bonsai.tidymodels.org","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tidymodels.png","metadata":{"files":{"readme":"README.Rmd","changelog":"NEWS.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":".github/SUPPORT.md","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-04-29T13:33:22.000Z","updated_at":"2025-02-12T13:44:52.000Z","dependencies_parsed_at":"2024-04-07T20:26:06.824Z","dependency_job_id":"d82231ff-9ca9-4bca-b2d6-2b48a12f35af","html_url":"https://github.com/tidymodels/bonsai","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tidymodels%2Fbonsai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tidymodels%2Fbonsai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tidymodels%2Fbonsai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tidymodels%2Fbonsai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tidymodels","download_url":"https://codeload.github.com/tidymodels/bonsai/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247339158,"owners_count":20923014,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T18:32:16.438Z","updated_at":"2025-04-05T13:09:52.735Z","avatar_url":"https://github.com/tidymodels.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\noutput: github_document\n---\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n```{r, include = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"man/figures/README-\",\n  out.width = \"100%\"\n)\n```\n\n# bonsai \u003cimg src=\"man/figures/logo.png\" align=\"right\" width=280 /\u003e\n\n\u003c!-- badges: start --\u003e\n[![Lifecycle: experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://lifecycle.r-lib.org/articles/stages.html#experimental)\n[![CRAN status](https://www.r-pkg.org/badges/version/bonsai)](https://CRAN.R-project.org/package=bonsai)\n[![Codecov test coverage](https://codecov.io/gh/tidymodels/bonsai/branch/main/graph/badge.svg)](https://app.codecov.io/gh/tidymodels/bonsai?branch=main)\n[![R-CMD-check](https://github.com/tidymodels/bonsai/workflows/R-CMD-check/badge.svg)](https://github.com/tidymodels/bonsai/actions)\n\u003c!-- badges: end --\u003e\n\nbonsai provides bindings for additional tree-based model engines for use with the [parsnip](https://parsnip.tidymodels.org/) package. \n\nThis package is based off of the work done in the [treesnip repository](https://github.com/curso-r/treesnip) by Athos Damiani, Daniel Falbel, and Roel Hogervorst. bonsai is the official CRAN version of the package; new development will reside here.  \n\n## Installation\n\nYou can install the most recent official release of bonsai with:\n\n``` r\ninstall.packages(\"bonsai\")\n```\n\nYou can install the development version of bonsai from [GitHub](https://github.com/) with:\n\n``` r\n# install.packages(\"pak\")\npak::pak(\"tidymodels/bonsai\")\n```\n  \n\n## Available Engines\n\nThe bonsai package provides additional engines for the models in the following table:\n\n```{r, echo = FALSE, message = FALSE}\nlibrary(parsnip)\n\nparsnip_models \u003c- get_from_env(\"models\") %\u003e%\n  setNames(., .) %\u003e%\n  purrr::map_dfr(get_from_env, .id = \"model\")\n\nlibrary(bonsai)\n\nbonsai_models \u003c- get_from_env(\"models\") %\u003e%\n  setNames(., .) %\u003e%\n  purrr::map_dfr(get_from_env, .id = \"model\")\n\ndplyr::anti_join(\n  bonsai_models, parsnip_models, \n  by = c(\"model\", \"engine\", \"mode\")\n) %\u003e%\n  knitr::kable()\n```\n\n## Code of Conduct\n  \nPlease note that the bonsai project is released with a [Contributor Code of Conduct](https://contributor-covenant.org/version/2/0/CODE_OF_CONDUCT.html). By contributing to this project, you agree to abide by its terms.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftidymodels%2Fbonsai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftidymodels%2Fbonsai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftidymodels%2Fbonsai/lists"}