Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
be-marc committed Nov 25, 2024
1 parent d566c85 commit 0362897
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/testthat/test_AutoTuner.R
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ test_that("search space from TuneToken works", {

test_that("AutoTuner get_base_learner method works", {
skip_if_not_installed("mlr3pipelines", "0.5.3")
`%>>%` = getFromNamespace("%>>%", asNamespace("mlr3pipelines"))
`%>>%` = mlr3pipelines::`%>>%`

# simple learner
learner = lrn("classif.rpart", cp = to_tune(1e-04, 1e-1, logscale = TRUE))
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test_TuningInstanceBatchSingleCrit.R
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ test_that("tuning with custom resampling", {

test_that("non-scalar hyperpars (#201)", {
skip_if_not_installed("mlr3pipelines")
`%>>%` = getFromNamespace("%>>%", asNamespace("mlr3pipelines"))
`%>>%` = mlr3pipelines::`%>>%`

learner = mlr3pipelines::po("select") %>>% lrn("classif.rpart")

Expand Down

0 comments on commit 0362897

Please sign in to comment.