Skip to content

Commit

Permalink
Fix lgb model response in Tidymodels vignette
Browse files Browse the repository at this point in the history
  • Loading branch information
mayer79 committed Sep 11, 2024
1 parent 412175e commit 1f3357d
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 1 deletion.
Binary file removed man/figures/README-dep.png
Binary file not shown.
Binary file modified man/figures/VIGNETTE-tidy-lgb-dep.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/VIGNETTE-tidy-lgb-imp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion vignettes/tidymodels.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ splits <- diamonds |>
df_train <- training(splits)

dia_recipe <- df_train |>
recipe(price ~ log_carat + color + clarity + cut) |>
recipe(log_price ~ log_carat + color + clarity + cut) |>
step_integer(color, clarity) # we keep cut a factor (for illustration only)

# Should be tuned in practice
Expand Down

0 comments on commit 1f3357d

Please sign in to comment.