Skip to content

Commit d294b0d

Browse files
committed
Merge branch 'bugfix/CI' of https://github.com/curso-r/treesnip into bugfix/CI
2 parents 7ca3169 + 119f1f5 commit d294b0d

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

R/catboost.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ add_boost_tree_catboost <- function() {
189189
parsnip::set_model_arg(
190190
model = "boost_tree",
191191
eng = "catboost",
192-
parsnip = "sample_size",
192+
parsnip = "sample_prop",
193193
original = "subsample",
194194
func = list(pkg = "dials", fun = "sample_prop"),
195195
has_submodel = FALSE

R/lightgbm.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ add_boost_tree_lightgbm <- function() {
166166
parsnip::set_model_arg(
167167
model = "boost_tree",
168168
eng = "lightgbm",
169-
parsnip = "sample_size",
169+
parsnip = "sample_prop",
170170
original = "bagging_fraction",
171171
func = list(pkg = "dials", fun = "sample_prop"),
172172
has_submodel = FALSE

vignettes/working-with-lightgbm-catboost.Rmd

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ vignette: >
1111
knitr::opts_chunk$set(
1212
collapse = TRUE,
1313
comment = "#>",
14+
eval = FALSE,
1415
warning = FALSE,
1516
message = FALSE,
1617
eval = FALSE

0 commit comments

Comments
 (0)