Skip to content
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

[R-package] Promote objective and init_score to top-level arguments in lightgbm() #4976

Merged
merged 12 commits into from
Feb 23, 2022
Prev Previous commit
Update R-package/tests/testthat/test_basic.R
  • Loading branch information
jameslamb authored Feb 23, 2022
commit 1eeaca58c5163a6e481aac4a2d69fe6d016601fb
1 change: 0 additions & 1 deletion R-package/tests/testthat/test_basic.R
Original file line number Diff line number Diff line change
Expand Up @@ -2910,7 +2910,6 @@ test_that("lightgbm() defaults to 'regression' objective if objective not otherw
, verbose = -1L
)
expect_equal(bst$params$objective, "regression")
jameslamb marked this conversation as resolved.
Show resolved Hide resolved
expect_equal(bst$params$objective, "regression")
model_txt_lines <- strsplit(
x = bst$save_model_to_string()
, split = "\n"
Expand Down