Skip to content

More sparse models documentation #1254

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions man/rmd/boost_tree_lightgbm.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,11 @@ To effectively enable bagging, the user would also need to set the `bagging_freq

bonsai quiets much of the logging output from [lightgbm::lgb.train()] by default. With default settings, logged warnings and errors will still be passed on to the user. To print out all logs during training, set `quiet = TRUE`.

## Sparse Data

```{r child = "template-uses-sparse-data.Rmd"}
```

## Examples

The "Introduction to bonsai" article contains [examples](https://bonsai.tidymodels.org/articles/bonsai.html) of `boost_tree()` with the `"lightgbm"` engine.
Expand Down
2 changes: 2 additions & 0 deletions man/rmd/rand_forest_ranger.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ For `ranger` confidence intervals, the intervals are constructed using the form
```{r child = "template-uses-sparse-data.Rmd"}
```

While this engine supports sparse data as an input, it doesn't use it any differently than dense data. Hence there it no reason to convert back and forth.

## Saving fitted model objects

```{r child = "template-butcher.Rmd"}
Expand Down
Loading