Skip to content

Conversation

@trivialfis
Copy link
Member

Close #11075 .

@trivialfis
Copy link
Member Author

cc @david-cortes

# read from a local file
expect_output(dtest3 <- xgb.DMatrix(tmp_file), "entries loaded from")
expect_output(dtest3 <- xgb.DMatrix(tmp_file, silent = TRUE), NA)
expect_output(dtest3 <- xgb.DMatrix(tmp_file), NA)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think there's no need to remove these tests. Perhaps a new one could be added checking that there is no log when the setting is changed globally and arg. silent is not passed.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Brought back the tests.

@trivialfis trivialfis merged commit 98b9b93 into dmlc:master Dec 8, 2024
68 of 73 checks passed
@trivialfis trivialfis deleted the dmatrix-log branch December 8, 2024 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DMatrix loader does not respect verbosity config

2 participants