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] Ensure print.lgb.Booster() works when objective is not explicitly set #6850

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
Adding types for integer slices
  • Loading branch information
walkerjameschris committed Mar 2, 2025
commit 57a121fba23c4fecfa2e62257676f39237b23328
4 changes: 2 additions & 2 deletions R-package/tests/testthat/test_lgb.Booster.R
Original file line number Diff line number Diff line change
@@ -1658,8 +1658,8 @@ test_that("Booster's print, show, and summary work correctly when objective is n
data("iris")
model <- lgb.train(
data = lgb.Dataset(
as.matrix(iris[, 1:3])
, label = iris[, 4]
as.matrix(iris[, seq_len(3L)])
, label = iris[, 4L]
)
, verbose = .LGB_VERBOSITY
, nrounds = 5L
Loading
Oops, something went wrong.