Skip to content

Commit

Permalink
Merge pull request #40 from siegfried/tune-sample-size
Browse files Browse the repository at this point in the history
Use sample_prop instead of sample_size
  • Loading branch information
dfalbel authored Jul 9, 2021
2 parents 2e9996a + 08b6274 commit 2e1fbdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/lightgbm.R
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ add_boost_tree_lightgbm <- function() {
eng = "lightgbm",
parsnip = "sample_size",
original = "bagging_fraction",
func = list(pkg = "dials", fun = "sample_size"),
func = list(pkg = "dials", fun = "sample_prop"),
has_submodel = FALSE
)
}
Expand Down

0 comments on commit 2e1fbdd

Please sign in to comment.