Skip to content

Commit

Permalink
tests: parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
be-marc committed Jul 5, 2024
1 parent 6f20841 commit 8ed15f5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions inst/paramtest/test_paramtest_classif.xgboost.R
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ test_that("classif.xgboost", {
"eval_metric", # handled by mlr3
"label", # handled by mlr3
"weight", # handled by mlr3
"nthread" # handled by mlr3
"feval" # eval_metric does the same
"nthread", # handled by mlr3
"feval" # handled via eval_metric parameter
)

ParamTest = run_paramtest(learner, fun, exclude, tag = "train")
Expand Down
3 changes: 2 additions & 1 deletion inst/paramtest/test_paramtest_regr.xgboost.R
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ test_that("regr.xgboost", {
"eval_metric", # handled by mlr3
"label", # handled by mlr3
"weight", # handled by mlr3
"nthread" # handled by mlr3
"nthread", # handled by mlr3
"feval" # handled via eval_metric parameter
)

ParamTest = run_paramtest(learner, fun, exclude, tag = "train")
Expand Down

0 comments on commit 8ed15f5

Please sign in to comment.