From 1cf84138cbb1e618ab74f69ed9bbcd458fa7a8ff Mon Sep 17 00:00:00 2001 From: be-marc Date: Fri, 13 Sep 2024 19:02:10 +0200 Subject: [PATCH] ... --- tests/testthat/test_LearnerClassifAutoCatboost.R | 4 ++-- tests/testthat/test_LearnerClassifAutoGlmnet.R | 2 +- tests/testthat/test_LearnerClassifAutoKKNN.R | 2 +- tests/testthat/test_LearnerClassifAutoLightGBM.R | 2 +- tests/testthat/test_LearnerClassifAutoNnet.R | 2 +- tests/testthat/test_LearnerClassifAutoRanger.R | 2 +- tests/testthat/test_LearnerClassifAutoSVM.R | 2 +- tests/testthat/test_LearnerClassifAutoXgboost.R | 2 +- tests/testthat/test_LearnerRegrAutoCatboost.R | 2 +- tests/testthat/test_LearnerRegrAutoGlmnet.R | 2 +- tests/testthat/test_LearnerRegrAutoKKNN.R | 2 +- tests/testthat/test_LearnerRegrAutoLightGBM.R | 2 +- tests/testthat/test_LearnerRegrAutoNnet.R | 2 +- tests/testthat/test_LearnerRegrAutoRanger.R | 2 +- tests/testthat/test_LearnerRegrAutoSVM.R | 2 +- tests/testthat/test_LearnerRegrAutoXgboost.R | 2 +- 16 files changed, 17 insertions(+), 17 deletions(-) diff --git a/tests/testthat/test_LearnerClassifAutoCatboost.R b/tests/testthat/test_LearnerClassifAutoCatboost.R index def44c0..c67d2b4 100644 --- a/tests/testthat/test_LearnerClassifAutoCatboost.R +++ b/tests/testthat/test_LearnerClassifAutoCatboost.R @@ -13,7 +13,7 @@ test_that("LearnerClassifAutoCatboost is trained", { flush_redis() rush_plan(n_workers = 2) - lgr::get_logger("mlr3automl")$set_threshold("debug") + task = tsk("penguins") learner = lrn("classif.auto_catboost", @@ -35,7 +35,7 @@ test_that("internal eval metric is found", { flush_redis() rush_plan(n_workers = 2) - lgr::get_logger("mlr3automl")$set_threshold("debug") + task = tsk("penguins") learner = lrn("classif.auto_catboost", diff --git a/tests/testthat/test_LearnerClassifAutoGlmnet.R b/tests/testthat/test_LearnerClassifAutoGlmnet.R index dc24275..765b54c 100644 --- a/tests/testthat/test_LearnerClassifAutoGlmnet.R +++ b/tests/testthat/test_LearnerClassifAutoGlmnet.R @@ -13,7 +13,7 @@ test_that("LearnerClassifAutoGlmnet is trained", { flush_redis() rush_plan(n_workers = 2) - lgr::get_logger("mlr3automl")$set_threshold("debug") + task = tsk("penguins") learner = lrn("classif.auto_glmnet", diff --git a/tests/testthat/test_LearnerClassifAutoKKNN.R b/tests/testthat/test_LearnerClassifAutoKKNN.R index 2689e09..bbbe154 100644 --- a/tests/testthat/test_LearnerClassifAutoKKNN.R +++ b/tests/testthat/test_LearnerClassifAutoKKNN.R @@ -13,7 +13,7 @@ test_that("LearnerClassifAutoKKNN is trained", { flush_redis() rush_plan(n_workers = 2) - lgr::get_logger("mlr3automl")$set_threshold("debug") + task = tsk("penguins") learner = lrn("classif.auto_kknn", diff --git a/tests/testthat/test_LearnerClassifAutoLightGBM.R b/tests/testthat/test_LearnerClassifAutoLightGBM.R index c1d048f..70966ac 100644 --- a/tests/testthat/test_LearnerClassifAutoLightGBM.R +++ b/tests/testthat/test_LearnerClassifAutoLightGBM.R @@ -13,7 +13,7 @@ test_that("LearnerClassifAutoLightGBM is trained", { flush_redis() rush_plan(n_workers = 2) - lgr::get_logger("mlr3automl")$set_threshold("debug") + task = tsk("penguins") learner = lrn("classif.auto_lightgbm", diff --git a/tests/testthat/test_LearnerClassifAutoNnet.R b/tests/testthat/test_LearnerClassifAutoNnet.R index cab7c12..4c55bf2 100644 --- a/tests/testthat/test_LearnerClassifAutoNnet.R +++ b/tests/testthat/test_LearnerClassifAutoNnet.R @@ -13,7 +13,7 @@ test_that("LearnerClassifAutoNnet is trained", { flush_redis() rush_plan(n_workers = 2) - lgr::get_logger("mlr3automl")$set_threshold("debug") + task = tsk("penguins") learner = lrn("classif.auto_nnet", diff --git a/tests/testthat/test_LearnerClassifAutoRanger.R b/tests/testthat/test_LearnerClassifAutoRanger.R index e77be22..0d60a12 100644 --- a/tests/testthat/test_LearnerClassifAutoRanger.R +++ b/tests/testthat/test_LearnerClassifAutoRanger.R @@ -13,7 +13,7 @@ test_that("LearnerClassifAutoRanger is trained", { flush_redis() rush_plan(n_workers = 2) - lgr::get_logger("mlr3automl")$set_threshold("debug") + task = tsk("penguins") learner = lrn("classif.auto_ranger", diff --git a/tests/testthat/test_LearnerClassifAutoSVM.R b/tests/testthat/test_LearnerClassifAutoSVM.R index b2b04b3..0c7c8ac 100644 --- a/tests/testthat/test_LearnerClassifAutoSVM.R +++ b/tests/testthat/test_LearnerClassifAutoSVM.R @@ -13,7 +13,7 @@ test_that("LearnerClassifAutoSVM is trained", { flush_redis() rush_plan(n_workers = 2) - lgr::get_logger("mlr3automl")$set_threshold("debug") + task = tsk("penguins") learner = lrn("classif.auto_svm", diff --git a/tests/testthat/test_LearnerClassifAutoXgboost.R b/tests/testthat/test_LearnerClassifAutoXgboost.R index 64b8da3..6a54e5a 100644 --- a/tests/testthat/test_LearnerClassifAutoXgboost.R +++ b/tests/testthat/test_LearnerClassifAutoXgboost.R @@ -13,7 +13,7 @@ test_that("LearnerClassifAutoXgboost is trained", { flush_redis() rush_plan(n_workers = 2) - lgr::get_logger("mlr3automl")$set_threshold("debug") + task = tsk("penguins") learner = lrn("classif.auto_xgboost", diff --git a/tests/testthat/test_LearnerRegrAutoCatboost.R b/tests/testthat/test_LearnerRegrAutoCatboost.R index e9a44e9..5796566 100644 --- a/tests/testthat/test_LearnerRegrAutoCatboost.R +++ b/tests/testthat/test_LearnerRegrAutoCatboost.R @@ -13,7 +13,7 @@ test_that("LearnerRegrAutoCatboost is trained", { flush_redis() rush_plan(n_workers = 2) - lgr::get_logger("mlr3automl")$set_threshold("debug") + task = tsk("mtcars") learner = lrn("regr.auto_catboost", diff --git a/tests/testthat/test_LearnerRegrAutoGlmnet.R b/tests/testthat/test_LearnerRegrAutoGlmnet.R index b0a8db9..34d37ec 100644 --- a/tests/testthat/test_LearnerRegrAutoGlmnet.R +++ b/tests/testthat/test_LearnerRegrAutoGlmnet.R @@ -13,7 +13,7 @@ test_that("LearnerRegrAutoGlmnet is trained", { flush_redis() rush_plan(n_workers = 2) - lgr::get_logger("mlr3automl")$set_threshold("debug") + task = tsk("mtcars") learner = lrn("regr.auto_glmnet", diff --git a/tests/testthat/test_LearnerRegrAutoKKNN.R b/tests/testthat/test_LearnerRegrAutoKKNN.R index 2e319de..a03c0cf 100644 --- a/tests/testthat/test_LearnerRegrAutoKKNN.R +++ b/tests/testthat/test_LearnerRegrAutoKKNN.R @@ -13,7 +13,7 @@ test_that("LearnerRegrAutoKKNN is trained", { flush_redis() rush_plan(n_workers = 2) - lgr::get_logger("mlr3automl")$set_threshold("debug") + task = tsk("mtcars") learner = lrn("regr.auto_kknn", diff --git a/tests/testthat/test_LearnerRegrAutoLightGBM.R b/tests/testthat/test_LearnerRegrAutoLightGBM.R index 33ec913..c2c1408 100644 --- a/tests/testthat/test_LearnerRegrAutoLightGBM.R +++ b/tests/testthat/test_LearnerRegrAutoLightGBM.R @@ -13,7 +13,7 @@ test_that("LearnerRegrAutoLightGBM is trained", { flush_redis() rush_plan(n_workers = 2) - lgr::get_logger("mlr3automl")$set_threshold("debug") + task = tsk("mtcars") learner = lrn("regr.auto_lightgbm", diff --git a/tests/testthat/test_LearnerRegrAutoNnet.R b/tests/testthat/test_LearnerRegrAutoNnet.R index 81a394c..66a0d53 100644 --- a/tests/testthat/test_LearnerRegrAutoNnet.R +++ b/tests/testthat/test_LearnerRegrAutoNnet.R @@ -13,7 +13,7 @@ test_that("LearnerRegrAutoNnet is trained", { flush_redis() rush_plan(n_workers = 2) - lgr::get_logger("mlr3automl")$set_threshold("debug") + task = tsk("mtcars") learner = lrn("regr.auto_nnet", diff --git a/tests/testthat/test_LearnerRegrAutoRanger.R b/tests/testthat/test_LearnerRegrAutoRanger.R index 43a142f..f6d4e08 100644 --- a/tests/testthat/test_LearnerRegrAutoRanger.R +++ b/tests/testthat/test_LearnerRegrAutoRanger.R @@ -13,7 +13,7 @@ test_that("LearnerRegrAutoRanger is trained", { flush_redis() rush_plan(n_workers = 2) - lgr::get_logger("mlr3automl")$set_threshold("debug") + task = tsk("mtcars") learner = lrn("regr.auto_ranger", diff --git a/tests/testthat/test_LearnerRegrAutoSVM.R b/tests/testthat/test_LearnerRegrAutoSVM.R index 5e38888..a402549 100644 --- a/tests/testthat/test_LearnerRegrAutoSVM.R +++ b/tests/testthat/test_LearnerRegrAutoSVM.R @@ -13,7 +13,7 @@ test_that("LearnerRegrAutoSVM is trained", { flush_redis() rush_plan(n_workers = 2) - lgr::get_logger("mlr3automl")$set_threshold("debug") + task = tsk("mtcars") learner = lrn("regr.auto_svm", diff --git a/tests/testthat/test_LearnerRegrAutoXgboost.R b/tests/testthat/test_LearnerRegrAutoXgboost.R index 4370d39..f64f0ba 100644 --- a/tests/testthat/test_LearnerRegrAutoXgboost.R +++ b/tests/testthat/test_LearnerRegrAutoXgboost.R @@ -13,7 +13,7 @@ test_that("LearnerRegrAutoXgboost is trained", { flush_redis() rush_plan(n_workers = 2) - lgr::get_logger("mlr3automl")$set_threshold("debug") + task = tsk("mtcars") learner = lrn("regr.auto_xgboost",