Last updated on 2025-12-20 11:50:28 CET.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 1.0.0 | 5.10 | 128.19 | 133.29 | ERROR | |
| r-devel-linux-x86_64-debian-gcc | 1.0.0 | 4.19 | 92.18 | 96.37 | ERROR | |
| r-devel-linux-x86_64-fedora-clang | 1.0.0 | 11.00 | 203.80 | 214.80 | ERROR | |
| r-devel-linux-x86_64-fedora-gcc | 1.0.0 | 9.00 | 183.94 | 192.94 | ERROR | |
| r-devel-windows-x86_64 | 1.0.0 | 7.00 | 252.00 | 259.00 | OK | |
| r-patched-linux-x86_64 | 1.0.0 | 6.20 | 234.77 | 240.97 | OK | |
| r-release-linux-x86_64 | 1.0.0 | 6.07 | 238.72 | 244.79 | OK | |
| r-release-macos-arm64 | 1.0.0 | OK | ||||
| r-release-macos-x86_64 | 1.0.0 | 4.00 | 124.00 | 128.00 | OK | |
| r-release-windows-x86_64 | 1.0.0 | 7.00 | 250.00 | 257.00 | OK | |
| r-oldrel-macos-arm64 | 1.0.0 | OK | ||||
| r-oldrel-macos-x86_64 | 1.0.0 | 4.00 | 140.00 | 144.00 | OK | |
| r-oldrel-windows-x86_64 | 1.0.0 | 10.00 | 330.00 | 340.00 | OK |
Version: 1.0.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [76s/89s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> if (requireNamespace("testthat", quietly = TRUE)) {
+ library("testthat")
+ library("checkmate")
+ library("mlr3hyperband")
+ test_check("mlr3hyperband")
+ }
Loading required package: mlr3tuning
Loading required package: mlr3
Loading required package: paradox
Saving _problems/test_TunerBatchHyperband-7.R
Saving _problems/test_TunerBatchHyperband-16.R
Saving _problems/test_TunerBatchHyperband-25.R
Saving _problems/test_TunerBatchHyperband-34.R
Saving _problems/test_TunerBatchHyperband-47.R
Saving _problems/test_TunerBatchHyperband-58.R
Saving _problems/test_TunerBatchHyperband-68.R
Saving _problems/test_TunerBatchHyperband-82.R
Saving _problems/test_TunerBatchHyperband-167.R
Saving _problems/test_TunerBatchHyperband-178.R
Saving _problems/test_TunerBatchHyperband-189.R
Saving _problems/test_TunerBatchHyperband-203.R
Saving _problems/test_TunerBatchHyperband-219.R
Saving _problems/test_TunerBatchHyperband-236.R
Saving _problems/test_TunerBatchSuccessiveHalving-7.R
Saving _problems/test_TunerBatchSuccessiveHalving-16.R
Saving _problems/test_TunerBatchSuccessiveHalving-25.R
Saving _problems/test_TunerBatchSuccessiveHalving-34.R
Saving _problems/test_TunerBatchSuccessiveHalving-43.R
Saving _problems/test_TunerBatchSuccessiveHalving-65.R
Saving _problems/test_TunerBatchSuccessiveHalving-76.R
Saving _problems/test_TunerBatchSuccessiveHalving-85.R
Saving _problems/test_TunerBatchSuccessiveHalving-96.R
Saving _problems/test_TunerBatchSuccessiveHalving-181.R
Saving _problems/test_TunerBatchSuccessiveHalving-191.R
Saving _problems/test_TunerBatchSuccessiveHalving-201.R
Saving _problems/test_TunerBatchSuccessiveHalving-215.R
Saving _problems/test_TunerBatchSuccessiveHalving-231.R
Saving _problems/test_TunerBatchSuccessiveHalving-248.R
Saving _problems/test_TunerBatchSuccessiveHalving-259.R
Saving _problems/test_TunerBatchSuccessiveHalving-268.R
Saving _problems/test_TunerBatchSuccessiveHalving-277.R
[ FAIL 32 | WARN 0 | SKIP 1 | PASS 36 ]
══ Skipped tests (1) ═══════════════════════════════════════════════════════════
• On CRAN (1): 'test_TunerAsyncSuccessiveHalving.R:1:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_TunerBatchHyperband.R:7:3'): TunerBatchHyperband works ─────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_hyperband(eta = 2, learner) at test_TunerBatchHyperband.R:7:3
2. └─mlr3tuning::tune(...) at ./helper.R:26:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchHyperband__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchHyperband.R:16:3'): TunerBatchHyperband works with minimum budget > 1 ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_hyperband(eta = 2, learner) at test_TunerBatchHyperband.R:16:3
2. └─mlr3tuning::tune(...) at ./helper.R:26:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchHyperband__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchHyperband.R:25:3'): TunerBatchHyperband rounds budget ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_hyperband(eta = 2, learner) at test_TunerBatchHyperband.R:25:3
2. └─mlr3tuning::tune(...) at ./helper.R:26:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchHyperband__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchHyperband.R:34:3'): TunerBatchHyperband works with eta = 2.5 ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_hyperband(eta = 2.5, learner) at test_TunerBatchHyperband.R:34:3
2. └─mlr3tuning::tune(...) at ./helper.R:26:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchHyperband__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchHyperband.R:47:3'): TunerBatchHyperband works with xgboost ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_hyperband(eta = 2, learner) at test_TunerBatchHyperband.R:47:3
2. └─mlr3tuning::tune(...) at ./helper.R:26:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchHyperband__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchHyperband.R:58:3'): TunerBatchHyperband works with subsampling ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_hyperband(eta = 3, graph_learner) at test_TunerBatchHyperband.R:58:3
2. └─mlr3tuning::tune(...) at ./helper.R:26:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchHyperband__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchHyperband.R:68:3'): TunerBatchHyperband works works with multi-crit ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_hyperband(...) at test_TunerBatchHyperband.R:68:3
2. └─mlr3tuning::tune(...) at ./helper.R:26:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchHyperband__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchHyperband.R:82:3'): TunerBatchHyperband works with custom sampler ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_hyperband(eta = 2, learner, sampler = sampler) at test_TunerBatchHyperband.R:82:3
2. └─mlr3tuning::tune(...) at ./helper.R:26:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchHyperband__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchHyperband.R:167:3'): TunerBatchHyperband minimizes measure ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_hyperband(...) at test_TunerBatchHyperband.R:167:3
2. └─mlr3tuning::tune(...) at ./helper.R:26:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchHyperband__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchHyperband.R:178:3'): TunerBatchHyperband maximizes measure ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_hyperband(...) at test_TunerBatchHyperband.R:178:3
2. └─mlr3tuning::tune(...) at ./helper.R:26:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchHyperband__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchHyperband.R:189:3'): TunerBatchHyperband works with single budget value ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_hyperband(eta = 2, learner) at test_TunerBatchHyperband.R:189:3
2. └─mlr3tuning::tune(...) at ./helper.R:26:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchHyperband__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchHyperband.R:198:3'): TunerBatchHyperband works with repetitions ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3tuning::tune(...) at test_TunerBatchHyperband.R:198:3
2. └─tuner$optimize(instance)
3. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
4. └─private$.optimizer$optimize(inst)
5. └─bbotk:::.__OptimizerBatch__optimize(...)
6. └─bbotk::optimize_batch_default(inst, self)
7. ├─base::tryCatch(...)
8. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
9. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
10. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
11. └─get_private(optimizer)$.optimize(instance)
12. └─mlr3hyperband:::.__OptimizerBatchHyperband__.optimize(...)
13. └─inst$eval_batch(xdt)
14. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
15. └─self$objective$eval_many(xss_trafoed)
16. └─bbotk:::.__Objective__eval_many(...)
17. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
18. │ └─base::eval.parent(expr, n = 1L)
19. │ └─base::eval(expr, p)
20. │ └─base::eval(expr, p)
21. └─private$.eval_many(xss = xss, resampling = `<list>`)
22. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
23. └─mlr3::benchmark(...)
24. └─ResultData$new(grid, data_extra, store_backends = store_backends)
25. └─mlr3 (local) initialize(...)
26. └─mlr3:::.__ResultData__initialize(...)
27. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
28. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchHyperband.R:214:3'): TunerBatchHyperband terminates itself ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3tuning::tune(...) at test_TunerBatchHyperband.R:214:3
2. └─tuner$optimize(instance)
3. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
4. └─private$.optimizer$optimize(inst)
5. └─bbotk:::.__OptimizerBatch__optimize(...)
6. └─bbotk::optimize_batch_default(inst, self)
7. ├─base::tryCatch(...)
8. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
9. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
10. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
11. └─get_private(optimizer)$.optimize(instance)
12. └─mlr3hyperband:::.__OptimizerBatchHyperband__.optimize(...)
13. └─inst$eval_batch(xdt)
14. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
15. └─self$objective$eval_many(xss_trafoed)
16. └─bbotk:::.__Objective__eval_many(...)
17. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
18. │ └─base::eval.parent(expr, n = 1L)
19. │ └─base::eval(expr, p)
20. │ └─base::eval(expr, p)
21. └─private$.eval_many(xss = xss, resampling = `<list>`)
22. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
23. └─mlr3::benchmark(...)
24. └─ResultData$new(grid, data_extra, store_backends = store_backends)
25. └─mlr3 (local) initialize(...)
26. └─mlr3:::.__ResultData__initialize(...)
27. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
28. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchHyperband.R:230:3'): TunerBatchHyperband works with infinite repetitions ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3tuning::tune(...) at test_TunerBatchHyperband.R:230:3
2. └─tuner$optimize(instance)
3. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
4. └─private$.optimizer$optimize(inst)
5. └─bbotk:::.__OptimizerBatch__optimize(...)
6. └─bbotk::optimize_batch_default(inst, self)
7. ├─base::tryCatch(...)
8. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
9. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
10. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
11. └─get_private(optimizer)$.optimize(instance)
12. └─mlr3hyperband:::.__OptimizerBatchHyperband__.optimize(...)
13. └─inst$eval_batch(xdt)
14. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
15. └─self$objective$eval_many(xss_trafoed)
16. └─bbotk:::.__Objective__eval_many(...)
17. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
18. │ └─base::eval.parent(expr, n = 1L)
19. │ └─base::eval(expr, p)
20. │ └─base::eval(expr, p)
21. └─private$.eval_many(xss = xss, resampling = `<list>`)
22. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
23. └─mlr3::benchmark(...)
24. └─ResultData$new(grid, data_extra, store_backends = store_backends)
25. └─mlr3 (local) initialize(...)
26. └─mlr3:::.__ResultData__initialize(...)
27. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
28. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchSuccessiveHalving.R:7:3'): TunerBatchSuccessiveHalving works ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerBatchSuccessiveHalving.R:7:3
2. └─mlr3tuning::tune(...) at ./helper.R:61:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchSuccessiveHalving.R:16:3'): TunerBatchSuccessiveHalving works with minimum budget > 1 ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerBatchSuccessiveHalving.R:16:3
2. └─mlr3tuning::tune(...) at ./helper.R:61:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchSuccessiveHalving.R:25:3'): TunerBatchSuccessiveHalving rounds budget ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerBatchSuccessiveHalving.R:25:3
2. └─mlr3tuning::tune(...) at ./helper.R:61:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchSuccessiveHalving.R:34:3'): TunerBatchSuccessiveHalving works with eta = 2.5 ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerBatchSuccessiveHalving.R:34:3
2. └─mlr3tuning::tune(...) at ./helper.R:61:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchSuccessiveHalving.R:43:3'): TunerBatchSuccessiveHalving adjusts minimum budget ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerBatchSuccessiveHalving.R:43:3
2. └─mlr3tuning::tune(...) at ./helper.R:61:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchSuccessiveHalving.R:65:3'): TunerBatchSuccessiveHalving works with xgboost ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerBatchSuccessiveHalving.R:65:3
2. └─mlr3tuning::tune(...) at ./helper.R:61:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchSuccessiveHalving.R:76:3'): TunerBatchSuccessiveHalving works with subsampling ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerBatchSuccessiveHalving.R:76:3
2. └─mlr3tuning::tune(...) at ./helper.R:61:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchSuccessiveHalving.R:85:3'): TunerBatchSuccessiveHalving works with multi-crit ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerBatchSuccessiveHalving.R:85:3
2. └─mlr3tuning::tune(...) at ./helper.R:61:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchSuccessiveHalving.R:96:3'): TunerBatchSuccessiveHalving works with custom sampler ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerBatchSuccessiveHalving.R:96:3
2. └─mlr3tuning::tune(...) at ./helper.R:61:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchSuccessiveHalving.R:181:3'): TunerBatchSuccessiveHalving minimizes measure ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerBatchSuccessiveHalving.R:181:3
2. └─mlr3tuning::tune(...) at ./helper.R:61:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchSuccessiveHalving.R:191:3'): TunerBatchSuccessiveHalving maximizes measure ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerBatchSuccessiveHalving.R:191:3
2. └─mlr3tuning::tune(...) at ./helper.R:61:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchSuccessiveHalving.R:201:3'): TunerBatchSuccessiveHalving works with single budget value ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerBatchSuccessiveHalving.R:201:3
2. └─mlr3tuning::tune(...) at ./helper.R:61:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchSuccessiveHalving.R:210:3'): TunerBatchSuccessiveHalving works with repetitions ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3tuning::tune(...) at test_TunerBatchSuccessiveHalving.R:210:3
2. └─tuner$optimize(instance)
3. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
4. └─private$.optimizer$optimize(inst)
5. └─bbotk:::.__OptimizerBatch__optimize(...)
6. └─bbotk::optimize_batch_default(inst, self)
7. ├─base::tryCatch(...)
8. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
9. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
10. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
11. └─get_private(optimizer)$.optimize(instance)
12. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
13. └─inst$eval_batch(xdt)
14. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
15. └─self$objective$eval_many(xss_trafoed)
16. └─bbotk:::.__Objective__eval_many(...)
17. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
18. │ └─base::eval.parent(expr, n = 1L)
19. │ └─base::eval(expr, p)
20. │ └─base::eval(expr, p)
21. └─private$.eval_many(xss = xss, resampling = `<list>`)
22. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
23. └─mlr3::benchmark(...)
24. └─ResultData$new(grid, data_extra, store_backends = store_backends)
25. └─mlr3 (local) initialize(...)
26. └─mlr3:::.__ResultData__initialize(...)
27. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
28. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchSuccessiveHalving.R:226:3'): TunerBatchSuccessiveHalving terminates itself ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3tuning::tune(...) at test_TunerBatchSuccessiveHalving.R:226:3
2. └─tuner$optimize(instance)
3. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
4. └─private$.optimizer$optimize(inst)
5. └─bbotk:::.__OptimizerBatch__optimize(...)
6. └─bbotk::optimize_batch_default(inst, self)
7. ├─base::tryCatch(...)
8. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
9. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
10. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
11. └─get_private(optimizer)$.optimize(instance)
12. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
13. └─inst$eval_batch(xdt)
14. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
15. └─self$objective$eval_many(xss_trafoed)
16. └─bbotk:::.__Objective__eval_many(...)
17. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
18. │ └─base::eval.parent(expr, n = 1L)
19. │ └─base::eval(expr, p)
20. │ └─base::eval(expr, p)
21. └─private$.eval_many(xss = xss, resampling = `<list>`)
22. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
23. └─mlr3::benchmark(...)
24. └─ResultData$new(grid, data_extra, store_backends = store_backends)
25. └─mlr3 (local) initialize(...)
26. └─mlr3:::.__ResultData__initialize(...)
27. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
28. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchSuccessiveHalving.R:242:3'): TunerBatchSuccessiveHalving works with infinite repetitions ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3tuning::tune(...) at test_TunerBatchSuccessiveHalving.R:242:3
2. └─tuner$optimize(instance)
3. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
4. └─private$.optimizer$optimize(inst)
5. └─bbotk:::.__OptimizerBatch__optimize(...)
6. └─bbotk::optimize_batch_default(inst, self)
7. ├─base::tryCatch(...)
8. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
9. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
10. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
11. └─get_private(optimizer)$.optimize(instance)
12. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
13. └─inst$eval_batch(xdt)
14. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
15. └─self$objective$eval_many(xss_trafoed)
16. └─bbotk:::.__Objective__eval_many(...)
17. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
18. │ └─base::eval.parent(expr, n = 1L)
19. │ └─base::eval(expr, p)
20. │ └─base::eval(expr, p)
21. └─private$.eval_many(xss = xss, resampling = `<list>`)
22. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
23. └─mlr3::benchmark(...)
24. └─ResultData$new(grid, data_extra, store_backends = store_backends)
25. └─mlr3 (local) initialize(...)
26. └─mlr3:::.__ResultData__initialize(...)
27. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
28. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchSuccessiveHalving.R:259:3'): TunerBatchSuccessiveHalving works with r_max > n ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerBatchSuccessiveHalving.R:259:3
2. └─mlr3tuning::tune(...) at ./helper.R:61:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchSuccessiveHalving.R:268:3'): TunerBatchSuccessiveHalving works with r_max < n ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerBatchSuccessiveHalving.R:268:3
2. └─mlr3tuning::tune(...) at ./helper.R:61:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchSuccessiveHalving.R:277:3'): TunerBatchSuccessiveHalving works with r_max < n and adjust minimum budget ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerBatchSuccessiveHalving.R:277:3
2. └─mlr3tuning::tune(...) at ./helper.R:61:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
[ FAIL 32 | WARN 0 | SKIP 1 | PASS 36 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 1.0.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [52s/64s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> if (requireNamespace("testthat", quietly = TRUE)) {
+ library("testthat")
+ library("checkmate")
+ library("mlr3hyperband")
+ test_check("mlr3hyperband")
+ }
Loading required package: mlr3tuning
Loading required package: mlr3
Loading required package: paradox
Saving _problems/test_TunerBatchHyperband-7.R
Saving _problems/test_TunerBatchHyperband-16.R
Saving _problems/test_TunerBatchHyperband-25.R
Saving _problems/test_TunerBatchHyperband-34.R
Saving _problems/test_TunerBatchHyperband-47.R
Saving _problems/test_TunerBatchHyperband-58.R
Saving _problems/test_TunerBatchHyperband-68.R
Saving _problems/test_TunerBatchHyperband-82.R
Saving _problems/test_TunerBatchHyperband-167.R
Saving _problems/test_TunerBatchHyperband-178.R
Saving _problems/test_TunerBatchHyperband-189.R
Saving _problems/test_TunerBatchHyperband-203.R
Saving _problems/test_TunerBatchHyperband-219.R
Saving _problems/test_TunerBatchHyperband-236.R
Saving _problems/test_TunerBatchSuccessiveHalving-7.R
Saving _problems/test_TunerBatchSuccessiveHalving-16.R
Saving _problems/test_TunerBatchSuccessiveHalving-25.R
Saving _problems/test_TunerBatchSuccessiveHalving-34.R
Saving _problems/test_TunerBatchSuccessiveHalving-43.R
Saving _problems/test_TunerBatchSuccessiveHalving-65.R
Saving _problems/test_TunerBatchSuccessiveHalving-76.R
Saving _problems/test_TunerBatchSuccessiveHalving-85.R
Saving _problems/test_TunerBatchSuccessiveHalving-96.R
Saving _problems/test_TunerBatchSuccessiveHalving-181.R
Saving _problems/test_TunerBatchSuccessiveHalving-191.R
Saving _problems/test_TunerBatchSuccessiveHalving-201.R
Saving _problems/test_TunerBatchSuccessiveHalving-215.R
Saving _problems/test_TunerBatchSuccessiveHalving-231.R
Saving _problems/test_TunerBatchSuccessiveHalving-248.R
Saving _problems/test_TunerBatchSuccessiveHalving-259.R
Saving _problems/test_TunerBatchSuccessiveHalving-268.R
Saving _problems/test_TunerBatchSuccessiveHalving-277.R
[ FAIL 32 | WARN 0 | SKIP 1 | PASS 36 ]
══ Skipped tests (1) ═══════════════════════════════════════════════════════════
• On CRAN (1): 'test_TunerAsyncSuccessiveHalving.R:1:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_TunerBatchHyperband.R:7:3'): TunerBatchHyperband works ─────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_hyperband(eta = 2, learner) at test_TunerBatchHyperband.R:7:3
2. └─mlr3tuning::tune(...) at ./helper.R:26:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchHyperband__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchHyperband.R:16:3'): TunerBatchHyperband works with minimum budget > 1 ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_hyperband(eta = 2, learner) at test_TunerBatchHyperband.R:16:3
2. └─mlr3tuning::tune(...) at ./helper.R:26:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchHyperband__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchHyperband.R:25:3'): TunerBatchHyperband rounds budget ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_hyperband(eta = 2, learner) at test_TunerBatchHyperband.R:25:3
2. └─mlr3tuning::tune(...) at ./helper.R:26:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchHyperband__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchHyperband.R:34:3'): TunerBatchHyperband works with eta = 2.5 ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_hyperband(eta = 2.5, learner) at test_TunerBatchHyperband.R:34:3
2. └─mlr3tuning::tune(...) at ./helper.R:26:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchHyperband__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchHyperband.R:47:3'): TunerBatchHyperband works with xgboost ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_hyperband(eta = 2, learner) at test_TunerBatchHyperband.R:47:3
2. └─mlr3tuning::tune(...) at ./helper.R:26:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchHyperband__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchHyperband.R:58:3'): TunerBatchHyperband works with subsampling ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_hyperband(eta = 3, graph_learner) at test_TunerBatchHyperband.R:58:3
2. └─mlr3tuning::tune(...) at ./helper.R:26:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchHyperband__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchHyperband.R:68:3'): TunerBatchHyperband works works with multi-crit ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_hyperband(...) at test_TunerBatchHyperband.R:68:3
2. └─mlr3tuning::tune(...) at ./helper.R:26:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchHyperband__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchHyperband.R:82:3'): TunerBatchHyperband works with custom sampler ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_hyperband(eta = 2, learner, sampler = sampler) at test_TunerBatchHyperband.R:82:3
2. └─mlr3tuning::tune(...) at ./helper.R:26:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchHyperband__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchHyperband.R:167:3'): TunerBatchHyperband minimizes measure ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_hyperband(...) at test_TunerBatchHyperband.R:167:3
2. └─mlr3tuning::tune(...) at ./helper.R:26:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchHyperband__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchHyperband.R:178:3'): TunerBatchHyperband maximizes measure ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_hyperband(...) at test_TunerBatchHyperband.R:178:3
2. └─mlr3tuning::tune(...) at ./helper.R:26:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchHyperband__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchHyperband.R:189:3'): TunerBatchHyperband works with single budget value ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_hyperband(eta = 2, learner) at test_TunerBatchHyperband.R:189:3
2. └─mlr3tuning::tune(...) at ./helper.R:26:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchHyperband__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchHyperband.R:198:3'): TunerBatchHyperband works with repetitions ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3tuning::tune(...) at test_TunerBatchHyperband.R:198:3
2. └─tuner$optimize(instance)
3. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
4. └─private$.optimizer$optimize(inst)
5. └─bbotk:::.__OptimizerBatch__optimize(...)
6. └─bbotk::optimize_batch_default(inst, self)
7. ├─base::tryCatch(...)
8. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
9. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
10. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
11. └─get_private(optimizer)$.optimize(instance)
12. └─mlr3hyperband:::.__OptimizerBatchHyperband__.optimize(...)
13. └─inst$eval_batch(xdt)
14. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
15. └─self$objective$eval_many(xss_trafoed)
16. └─bbotk:::.__Objective__eval_many(...)
17. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
18. │ └─base::eval.parent(expr, n = 1L)
19. │ └─base::eval(expr, p)
20. │ └─base::eval(expr, p)
21. └─private$.eval_many(xss = xss, resampling = `<list>`)
22. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
23. └─mlr3::benchmark(...)
24. └─ResultData$new(grid, data_extra, store_backends = store_backends)
25. └─mlr3 (local) initialize(...)
26. └─mlr3:::.__ResultData__initialize(...)
27. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
28. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchHyperband.R:214:3'): TunerBatchHyperband terminates itself ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3tuning::tune(...) at test_TunerBatchHyperband.R:214:3
2. └─tuner$optimize(instance)
3. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
4. └─private$.optimizer$optimize(inst)
5. └─bbotk:::.__OptimizerBatch__optimize(...)
6. └─bbotk::optimize_batch_default(inst, self)
7. ├─base::tryCatch(...)
8. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
9. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
10. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
11. └─get_private(optimizer)$.optimize(instance)
12. └─mlr3hyperband:::.__OptimizerBatchHyperband__.optimize(...)
13. └─inst$eval_batch(xdt)
14. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
15. └─self$objective$eval_many(xss_trafoed)
16. └─bbotk:::.__Objective__eval_many(...)
17. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
18. │ └─base::eval.parent(expr, n = 1L)
19. │ └─base::eval(expr, p)
20. │ └─base::eval(expr, p)
21. └─private$.eval_many(xss = xss, resampling = `<list>`)
22. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
23. └─mlr3::benchmark(...)
24. └─ResultData$new(grid, data_extra, store_backends = store_backends)
25. └─mlr3 (local) initialize(...)
26. └─mlr3:::.__ResultData__initialize(...)
27. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
28. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchHyperband.R:230:3'): TunerBatchHyperband works with infinite repetitions ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3tuning::tune(...) at test_TunerBatchHyperband.R:230:3
2. └─tuner$optimize(instance)
3. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
4. └─private$.optimizer$optimize(inst)
5. └─bbotk:::.__OptimizerBatch__optimize(...)
6. └─bbotk::optimize_batch_default(inst, self)
7. ├─base::tryCatch(...)
8. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
9. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
10. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
11. └─get_private(optimizer)$.optimize(instance)
12. └─mlr3hyperband:::.__OptimizerBatchHyperband__.optimize(...)
13. └─inst$eval_batch(xdt)
14. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
15. └─self$objective$eval_many(xss_trafoed)
16. └─bbotk:::.__Objective__eval_many(...)
17. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
18. │ └─base::eval.parent(expr, n = 1L)
19. │ └─base::eval(expr, p)
20. │ └─base::eval(expr, p)
21. └─private$.eval_many(xss = xss, resampling = `<list>`)
22. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
23. └─mlr3::benchmark(...)
24. └─ResultData$new(grid, data_extra, store_backends = store_backends)
25. └─mlr3 (local) initialize(...)
26. └─mlr3:::.__ResultData__initialize(...)
27. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
28. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchSuccessiveHalving.R:7:3'): TunerBatchSuccessiveHalving works ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerBatchSuccessiveHalving.R:7:3
2. └─mlr3tuning::tune(...) at ./helper.R:61:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchSuccessiveHalving.R:16:3'): TunerBatchSuccessiveHalving works with minimum budget > 1 ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerBatchSuccessiveHalving.R:16:3
2. └─mlr3tuning::tune(...) at ./helper.R:61:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchSuccessiveHalving.R:25:3'): TunerBatchSuccessiveHalving rounds budget ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerBatchSuccessiveHalving.R:25:3
2. └─mlr3tuning::tune(...) at ./helper.R:61:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchSuccessiveHalving.R:34:3'): TunerBatchSuccessiveHalving works with eta = 2.5 ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerBatchSuccessiveHalving.R:34:3
2. └─mlr3tuning::tune(...) at ./helper.R:61:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchSuccessiveHalving.R:43:3'): TunerBatchSuccessiveHalving adjusts minimum budget ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerBatchSuccessiveHalving.R:43:3
2. └─mlr3tuning::tune(...) at ./helper.R:61:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchSuccessiveHalving.R:65:3'): TunerBatchSuccessiveHalving works with xgboost ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerBatchSuccessiveHalving.R:65:3
2. └─mlr3tuning::tune(...) at ./helper.R:61:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchSuccessiveHalving.R:76:3'): TunerBatchSuccessiveHalving works with subsampling ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerBatchSuccessiveHalving.R:76:3
2. └─mlr3tuning::tune(...) at ./helper.R:61:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchSuccessiveHalving.R:85:3'): TunerBatchSuccessiveHalving works with multi-crit ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerBatchSuccessiveHalving.R:85:3
2. └─mlr3tuning::tune(...) at ./helper.R:61:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchSuccessiveHalving.R:96:3'): TunerBatchSuccessiveHalving works with custom sampler ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerBatchSuccessiveHalving.R:96:3
2. └─mlr3tuning::tune(...) at ./helper.R:61:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchSuccessiveHalving.R:181:3'): TunerBatchSuccessiveHalving minimizes measure ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerBatchSuccessiveHalving.R:181:3
2. └─mlr3tuning::tune(...) at ./helper.R:61:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchSuccessiveHalving.R:191:3'): TunerBatchSuccessiveHalving maximizes measure ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerBatchSuccessiveHalving.R:191:3
2. └─mlr3tuning::tune(...) at ./helper.R:61:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchSuccessiveHalving.R:201:3'): TunerBatchSuccessiveHalving works with single budget value ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerBatchSuccessiveHalving.R:201:3
2. └─mlr3tuning::tune(...) at ./helper.R:61:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchSuccessiveHalving.R:210:3'): TunerBatchSuccessiveHalving works with repetitions ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3tuning::tune(...) at test_TunerBatchSuccessiveHalving.R:210:3
2. └─tuner$optimize(instance)
3. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
4. └─private$.optimizer$optimize(inst)
5. └─bbotk:::.__OptimizerBatch__optimize(...)
6. └─bbotk::optimize_batch_default(inst, self)
7. ├─base::tryCatch(...)
8. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
9. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
10. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
11. └─get_private(optimizer)$.optimize(instance)
12. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
13. └─inst$eval_batch(xdt)
14. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
15. └─self$objective$eval_many(xss_trafoed)
16. └─bbotk:::.__Objective__eval_many(...)
17. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
18. │ └─base::eval.parent(expr, n = 1L)
19. │ └─base::eval(expr, p)
20. │ └─base::eval(expr, p)
21. └─private$.eval_many(xss = xss, resampling = `<list>`)
22. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
23. └─mlr3::benchmark(...)
24. └─ResultData$new(grid, data_extra, store_backends = store_backends)
25. └─mlr3 (local) initialize(...)
26. └─mlr3:::.__ResultData__initialize(...)
27. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
28. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchSuccessiveHalving.R:226:3'): TunerBatchSuccessiveHalving terminates itself ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3tuning::tune(...) at test_TunerBatchSuccessiveHalving.R:226:3
2. └─tuner$optimize(instance)
3. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
4. └─private$.optimizer$optimize(inst)
5. └─bbotk:::.__OptimizerBatch__optimize(...)
6. └─bbotk::optimize_batch_default(inst, self)
7. ├─base::tryCatch(...)
8. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
9. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
10. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
11. └─get_private(optimizer)$.optimize(instance)
12. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
13. └─inst$eval_batch(xdt)
14. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
15. └─self$objective$eval_many(xss_trafoed)
16. └─bbotk:::.__Objective__eval_many(...)
17. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
18. │ └─base::eval.parent(expr, n = 1L)
19. │ └─base::eval(expr, p)
20. │ └─base::eval(expr, p)
21. └─private$.eval_many(xss = xss, resampling = `<list>`)
22. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
23. └─mlr3::benchmark(...)
24. └─ResultData$new(grid, data_extra, store_backends = store_backends)
25. └─mlr3 (local) initialize(...)
26. └─mlr3:::.__ResultData__initialize(...)
27. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
28. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchSuccessiveHalving.R:242:3'): TunerBatchSuccessiveHalving works with infinite repetitions ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3tuning::tune(...) at test_TunerBatchSuccessiveHalving.R:242:3
2. └─tuner$optimize(instance)
3. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
4. └─private$.optimizer$optimize(inst)
5. └─bbotk:::.__OptimizerBatch__optimize(...)
6. └─bbotk::optimize_batch_default(inst, self)
7. ├─base::tryCatch(...)
8. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
9. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
10. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
11. └─get_private(optimizer)$.optimize(instance)
12. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
13. └─inst$eval_batch(xdt)
14. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
15. └─self$objective$eval_many(xss_trafoed)
16. └─bbotk:::.__Objective__eval_many(...)
17. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
18. │ └─base::eval.parent(expr, n = 1L)
19. │ └─base::eval(expr, p)
20. │ └─base::eval(expr, p)
21. └─private$.eval_many(xss = xss, resampling = `<list>`)
22. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
23. └─mlr3::benchmark(...)
24. └─ResultData$new(grid, data_extra, store_backends = store_backends)
25. └─mlr3 (local) initialize(...)
26. └─mlr3:::.__ResultData__initialize(...)
27. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
28. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchSuccessiveHalving.R:259:3'): TunerBatchSuccessiveHalving works with r_max > n ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerBatchSuccessiveHalving.R:259:3
2. └─mlr3tuning::tune(...) at ./helper.R:61:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchSuccessiveHalving.R:268:3'): TunerBatchSuccessiveHalving works with r_max < n ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerBatchSuccessiveHalving.R:268:3
2. └─mlr3tuning::tune(...) at ./helper.R:61:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchSuccessiveHalving.R:277:3'): TunerBatchSuccessiveHalving works with r_max < n and adjust minimum budget ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerBatchSuccessiveHalving.R:277:3
2. └─mlr3tuning::tune(...) at ./helper.R:61:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
[ FAIL 32 | WARN 0 | SKIP 1 | PASS 36 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 1.0.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [121s/238s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> if (requireNamespace("testthat", quietly = TRUE)) {
+ library("testthat")
+ library("checkmate")
+ library("mlr3hyperband")
+ test_check("mlr3hyperband")
+ }
Loading required package: mlr3tuning
Loading required package: mlr3
Loading required package: paradox
Saving _problems/test_TunerBatchHyperband-7.R
Saving _problems/test_TunerBatchHyperband-16.R
Saving _problems/test_TunerBatchHyperband-25.R
Saving _problems/test_TunerBatchHyperband-34.R
Saving _problems/test_TunerBatchHyperband-47.R
Saving _problems/test_TunerBatchHyperband-58.R
Saving _problems/test_TunerBatchHyperband-68.R
Saving _problems/test_TunerBatchHyperband-82.R
Saving _problems/test_TunerBatchHyperband-167.R
Saving _problems/test_TunerBatchHyperband-178.R
Saving _problems/test_TunerBatchHyperband-189.R
Saving _problems/test_TunerBatchHyperband-203.R
Saving _problems/test_TunerBatchHyperband-219.R
Saving _problems/test_TunerBatchHyperband-236.R
Saving _problems/test_TunerBatchSuccessiveHalving-7.R
Saving _problems/test_TunerBatchSuccessiveHalving-16.R
Saving _problems/test_TunerBatchSuccessiveHalving-25.R
Saving _problems/test_TunerBatchSuccessiveHalving-34.R
Saving _problems/test_TunerBatchSuccessiveHalving-43.R
Saving _problems/test_TunerBatchSuccessiveHalving-65.R
Saving _problems/test_TunerBatchSuccessiveHalving-76.R
Saving _problems/test_TunerBatchSuccessiveHalving-85.R
Saving _problems/test_TunerBatchSuccessiveHalving-96.R
Saving _problems/test_TunerBatchSuccessiveHalving-181.R
Saving _problems/test_TunerBatchSuccessiveHalving-191.R
Saving _problems/test_TunerBatchSuccessiveHalving-201.R
Saving _problems/test_TunerBatchSuccessiveHalving-215.R
Saving _problems/test_TunerBatchSuccessiveHalving-231.R
Saving _problems/test_TunerBatchSuccessiveHalving-248.R
Saving _problems/test_TunerBatchSuccessiveHalving-259.R
Saving _problems/test_TunerBatchSuccessiveHalving-268.R
Saving _problems/test_TunerBatchSuccessiveHalving-277.R
[ FAIL 32 | WARN 0 | SKIP 1 | PASS 36 ]
══ Skipped tests (1) ═══════════════════════════════════════════════════════════
• On CRAN (1): 'test_TunerAsyncSuccessiveHalving.R:1:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_TunerBatchHyperband.R:7:3'): TunerBatchHyperband works ─────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_hyperband(eta = 2, learner) at test_TunerBatchHyperband.R:7:3
2. └─mlr3tuning::tune(...) at ./helper.R:26:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchHyperband__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchHyperband.R:16:3'): TunerBatchHyperband works with minimum budget > 1 ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_hyperband(eta = 2, learner) at test_TunerBatchHyperband.R:16:3
2. └─mlr3tuning::tune(...) at ./helper.R:26:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchHyperband__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchHyperband.R:25:3'): TunerBatchHyperband rounds budget ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_hyperband(eta = 2, learner) at test_TunerBatchHyperband.R:25:3
2. └─mlr3tuning::tune(...) at ./helper.R:26:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchHyperband__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchHyperband.R:34:3'): TunerBatchHyperband works with eta = 2.5 ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_hyperband(eta = 2.5, learner) at test_TunerBatchHyperband.R:34:3
2. └─mlr3tuning::tune(...) at ./helper.R:26:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchHyperband__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchHyperband.R:47:3'): TunerBatchHyperband works with xgboost ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_hyperband(eta = 2, learner) at test_TunerBatchHyperband.R:47:3
2. └─mlr3tuning::tune(...) at ./helper.R:26:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchHyperband__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchHyperband.R:58:3'): TunerBatchHyperband works with subsampling ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_hyperband(eta = 3, graph_learner) at test_TunerBatchHyperband.R:58:3
2. └─mlr3tuning::tune(...) at ./helper.R:26:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchHyperband__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchHyperband.R:68:3'): TunerBatchHyperband works works with multi-crit ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_hyperband(...) at test_TunerBatchHyperband.R:68:3
2. └─mlr3tuning::tune(...) at ./helper.R:26:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchHyperband__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchHyperband.R:82:3'): TunerBatchHyperband works with custom sampler ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_hyperband(eta = 2, learner, sampler = sampler) at test_TunerBatchHyperband.R:82:3
2. └─mlr3tuning::tune(...) at ./helper.R:26:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchHyperband__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchHyperband.R:167:3'): TunerBatchHyperband minimizes measure ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_hyperband(...) at test_TunerBatchHyperband.R:167:3
2. └─mlr3tuning::tune(...) at ./helper.R:26:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchHyperband__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchHyperband.R:178:3'): TunerBatchHyperband maximizes measure ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_hyperband(...) at test_TunerBatchHyperband.R:178:3
2. └─mlr3tuning::tune(...) at ./helper.R:26:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchHyperband__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchHyperband.R:189:3'): TunerBatchHyperband works with single budget value ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_hyperband(eta = 2, learner) at test_TunerBatchHyperband.R:189:3
2. └─mlr3tuning::tune(...) at ./helper.R:26:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchHyperband__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchHyperband.R:198:3'): TunerBatchHyperband works with repetitions ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3tuning::tune(...) at test_TunerBatchHyperband.R:198:3
2. └─tuner$optimize(instance)
3. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
4. └─private$.optimizer$optimize(inst)
5. └─bbotk:::.__OptimizerBatch__optimize(...)
6. └─bbotk::optimize_batch_default(inst, self)
7. ├─base::tryCatch(...)
8. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
9. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
10. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
11. └─get_private(optimizer)$.optimize(instance)
12. └─mlr3hyperband:::.__OptimizerBatchHyperband__.optimize(...)
13. └─inst$eval_batch(xdt)
14. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
15. └─self$objective$eval_many(xss_trafoed)
16. └─bbotk:::.__Objective__eval_many(...)
17. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
18. │ └─base::eval.parent(expr, n = 1L)
19. │ └─base::eval(expr, p)
20. │ └─base::eval(expr, p)
21. └─private$.eval_many(xss = xss, resampling = `<list>`)
22. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
23. └─mlr3::benchmark(...)
24. └─ResultData$new(grid, data_extra, store_backends = store_backends)
25. └─mlr3 (local) initialize(...)
26. └─mlr3:::.__ResultData__initialize(...)
27. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
28. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchHyperband.R:214:3'): TunerBatchHyperband terminates itself ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3tuning::tune(...) at test_TunerBatchHyperband.R:214:3
2. └─tuner$optimize(instance)
3. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
4. └─private$.optimizer$optimize(inst)
5. └─bbotk:::.__OptimizerBatch__optimize(...)
6. └─bbotk::optimize_batch_default(inst, self)
7. ├─base::tryCatch(...)
8. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
9. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
10. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
11. └─get_private(optimizer)$.optimize(instance)
12. └─mlr3hyperband:::.__OptimizerBatchHyperband__.optimize(...)
13. └─inst$eval_batch(xdt)
14. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
15. └─self$objective$eval_many(xss_trafoed)
16. └─bbotk:::.__Objective__eval_many(...)
17. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
18. │ └─base::eval.parent(expr, n = 1L)
19. │ └─base::eval(expr, p)
20. │ └─base::eval(expr, p)
21. └─private$.eval_many(xss = xss, resampling = `<list>`)
22. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
23. └─mlr3::benchmark(...)
24. └─ResultData$new(grid, data_extra, store_backends = store_backends)
25. └─mlr3 (local) initialize(...)
26. └─mlr3:::.__ResultData__initialize(...)
27. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
28. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchHyperband.R:230:3'): TunerBatchHyperband works with infinite repetitions ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3tuning::tune(...) at test_TunerBatchHyperband.R:230:3
2. └─tuner$optimize(instance)
3. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
4. └─private$.optimizer$optimize(inst)
5. └─bbotk:::.__OptimizerBatch__optimize(...)
6. └─bbotk::optimize_batch_default(inst, self)
7. ├─base::tryCatch(...)
8. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
9. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
10. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
11. └─get_private(optimizer)$.optimize(instance)
12. └─mlr3hyperband:::.__OptimizerBatchHyperband__.optimize(...)
13. └─inst$eval_batch(xdt)
14. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
15. └─self$objective$eval_many(xss_trafoed)
16. └─bbotk:::.__Objective__eval_many(...)
17. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
18. │ └─base::eval.parent(expr, n = 1L)
19. │ └─base::eval(expr, p)
20. │ └─base::eval(expr, p)
21. └─private$.eval_many(xss = xss, resampling = `<list>`)
22. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
23. └─mlr3::benchmark(...)
24. └─ResultData$new(grid, data_extra, store_backends = store_backends)
25. └─mlr3 (local) initialize(...)
26. └─mlr3:::.__ResultData__initialize(...)
27. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
28. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchSuccessiveHalving.R:7:3'): TunerBatchSuccessiveHalving works ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerBatchSuccessiveHalving.R:7:3
2. └─mlr3tuning::tune(...) at ./helper.R:61:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchSuccessiveHalving.R:16:3'): TunerBatchSuccessiveHalving works with minimum budget > 1 ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerBatchSuccessiveHalving.R:16:3
2. └─mlr3tuning::tune(...) at ./helper.R:61:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchSuccessiveHalving.R:25:3'): TunerBatchSuccessiveHalving rounds budget ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerBatchSuccessiveHalving.R:25:3
2. └─mlr3tuning::tune(...) at ./helper.R:61:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchSuccessiveHalving.R:34:3'): TunerBatchSuccessiveHalving works with eta = 2.5 ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerBatchSuccessiveHalving.R:34:3
2. └─mlr3tuning::tune(...) at ./helper.R:61:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchSuccessiveHalving.R:43:3'): TunerBatchSuccessiveHalving adjusts minimum budget ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerBatchSuccessiveHalving.R:43:3
2. └─mlr3tuning::tune(...) at ./helper.R:61:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchSuccessiveHalving.R:65:3'): TunerBatchSuccessiveHalving works with xgboost ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerBatchSuccessiveHalving.R:65:3
2. └─mlr3tuning::tune(...) at ./helper.R:61:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchSuccessiveHalving.R:76:3'): TunerBatchSuccessiveHalving works with subsampling ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerBatchSuccessiveHalving.R:76:3
2. └─mlr3tuning::tune(...) at ./helper.R:61:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchSuccessiveHalving.R:85:3'): TunerBatchSuccessiveHalving works with multi-crit ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerBatchSuccessiveHalving.R:85:3
2. └─mlr3tuning::tune(...) at ./helper.R:61:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchSuccessiveHalving.R:96:3'): TunerBatchSuccessiveHalving works with custom sampler ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerBatchSuccessiveHalving.R:96:3
2. └─mlr3tuning::tune(...) at ./helper.R:61:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchSuccessiveHalving.R:181:3'): TunerBatchSuccessiveHalving minimizes measure ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerBatchSuccessiveHalving.R:181:3
2. └─mlr3tuning::tune(...) at ./helper.R:61:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchSuccessiveHalving.R:191:3'): TunerBatchSuccessiveHalving maximizes measure ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerBatchSuccessiveHalving.R:191:3
2. └─mlr3tuning::tune(...) at ./helper.R:61:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchSuccessiveHalving.R:201:3'): TunerBatchSuccessiveHalving works with single budget value ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerBatchSuccessiveHalving.R:201:3
2. └─mlr3tuning::tune(...) at ./helper.R:61:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchSuccessiveHalving.R:210:3'): TunerBatchSuccessiveHalving works with repetitions ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3tuning::tune(...) at test_TunerBatchSuccessiveHalving.R:210:3
2. └─tuner$optimize(instance)
3. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
4. └─private$.optimizer$optimize(inst)
5. └─bbotk:::.__OptimizerBatch__optimize(...)
6. └─bbotk::optimize_batch_default(inst, self)
7. ├─base::tryCatch(...)
8. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
9. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
10. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
11. └─get_private(optimizer)$.optimize(instance)
12. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
13. └─inst$eval_batch(xdt)
14. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
15. └─self$objective$eval_many(xss_trafoed)
16. └─bbotk:::.__Objective__eval_many(...)
17. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
18. │ └─base::eval.parent(expr, n = 1L)
19. │ └─base::eval(expr, p)
20. │ └─base::eval(expr, p)
21. └─private$.eval_many(xss = xss, resampling = `<list>`)
22. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
23. └─mlr3::benchmark(...)
24. └─ResultData$new(grid, data_extra, store_backends = store_backends)
25. └─mlr3 (local) initialize(...)
26. └─mlr3:::.__ResultData__initialize(...)
27. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
28. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchSuccessiveHalving.R:226:3'): TunerBatchSuccessiveHalving terminates itself ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3tuning::tune(...) at test_TunerBatchSuccessiveHalving.R:226:3
2. └─tuner$optimize(instance)
3. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
4. └─private$.optimizer$optimize(inst)
5. └─bbotk:::.__OptimizerBatch__optimize(...)
6. └─bbotk::optimize_batch_default(inst, self)
7. ├─base::tryCatch(...)
8. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
9. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
10. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
11. └─get_private(optimizer)$.optimize(instance)
12. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
13. └─inst$eval_batch(xdt)
14. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
15. └─self$objective$eval_many(xss_trafoed)
16. └─bbotk:::.__Objective__eval_many(...)
17. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
18. │ └─base::eval.parent(expr, n = 1L)
19. │ └─base::eval(expr, p)
20. │ └─base::eval(expr, p)
21. └─private$.eval_many(xss = xss, resampling = `<list>`)
22. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
23. └─mlr3::benchmark(...)
24. └─ResultData$new(grid, data_extra, store_backends = store_backends)
25. └─mlr3 (local) initialize(...)
26. └─mlr3:::.__ResultData__initialize(...)
27. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
28. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchSuccessiveHalving.R:242:3'): TunerBatchSuccessiveHalving works with infinite repetitions ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3tuning::tune(...) at test_TunerBatchSuccessiveHalving.R:242:3
2. └─tuner$optimize(instance)
3. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
4. └─private$.optimizer$optimize(inst)
5. └─bbotk:::.__OptimizerBatch__optimize(...)
6. └─bbotk::optimize_batch_default(inst, self)
7. ├─base::tryCatch(...)
8. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
9. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
10. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
11. └─get_private(optimizer)$.optimize(instance)
12. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
13. └─inst$eval_batch(xdt)
14. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
15. └─self$objective$eval_many(xss_trafoed)
16. └─bbotk:::.__Objective__eval_many(...)
17. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
18. │ └─base::eval.parent(expr, n = 1L)
19. │ └─base::eval(expr, p)
20. │ └─base::eval(expr, p)
21. └─private$.eval_many(xss = xss, resampling = `<list>`)
22. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
23. └─mlr3::benchmark(...)
24. └─ResultData$new(grid, data_extra, store_backends = store_backends)
25. └─mlr3 (local) initialize(...)
26. └─mlr3:::.__ResultData__initialize(...)
27. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
28. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchSuccessiveHalving.R:259:3'): TunerBatchSuccessiveHalving works with r_max > n ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerBatchSuccessiveHalving.R:259:3
2. └─mlr3tuning::tune(...) at ./helper.R:61:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchSuccessiveHalving.R:268:3'): TunerBatchSuccessiveHalving works with r_max < n ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerBatchSuccessiveHalving.R:268:3
2. └─mlr3tuning::tune(...) at ./helper.R:61:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchSuccessiveHalving.R:277:3'): TunerBatchSuccessiveHalving works with r_max < n and adjust minimum budget ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerBatchSuccessiveHalving.R:277:3
2. └─mlr3tuning::tune(...) at ./helper.R:61:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
[ FAIL 32 | WARN 0 | SKIP 1 | PASS 36 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 1.0.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [110s/193s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> if (requireNamespace("testthat", quietly = TRUE)) {
+ library("testthat")
+ library("checkmate")
+ library("mlr3hyperband")
+ test_check("mlr3hyperband")
+ }
Loading required package: mlr3tuning
Loading required package: mlr3
Loading required package: paradox
Saving _problems/test_TunerBatchHyperband-7.R
Saving _problems/test_TunerBatchHyperband-16.R
Saving _problems/test_TunerBatchHyperband-25.R
Saving _problems/test_TunerBatchHyperband-34.R
Saving _problems/test_TunerBatchHyperband-47.R
Saving _problems/test_TunerBatchHyperband-58.R
Saving _problems/test_TunerBatchHyperband-68.R
Saving _problems/test_TunerBatchHyperband-82.R
Saving _problems/test_TunerBatchHyperband-167.R
Saving _problems/test_TunerBatchHyperband-178.R
Saving _problems/test_TunerBatchHyperband-189.R
Saving _problems/test_TunerBatchHyperband-203.R
Saving _problems/test_TunerBatchHyperband-219.R
Saving _problems/test_TunerBatchHyperband-236.R
Saving _problems/test_TunerBatchSuccessiveHalving-7.R
Saving _problems/test_TunerBatchSuccessiveHalving-16.R
Saving _problems/test_TunerBatchSuccessiveHalving-25.R
Saving _problems/test_TunerBatchSuccessiveHalving-34.R
Saving _problems/test_TunerBatchSuccessiveHalving-43.R
Saving _problems/test_TunerBatchSuccessiveHalving-65.R
Saving _problems/test_TunerBatchSuccessiveHalving-76.R
Saving _problems/test_TunerBatchSuccessiveHalving-85.R
Saving _problems/test_TunerBatchSuccessiveHalving-96.R
Saving _problems/test_TunerBatchSuccessiveHalving-181.R
Saving _problems/test_TunerBatchSuccessiveHalving-191.R
Saving _problems/test_TunerBatchSuccessiveHalving-201.R
Saving _problems/test_TunerBatchSuccessiveHalving-215.R
Saving _problems/test_TunerBatchSuccessiveHalving-231.R
Saving _problems/test_TunerBatchSuccessiveHalving-248.R
Saving _problems/test_TunerBatchSuccessiveHalving-259.R
Saving _problems/test_TunerBatchSuccessiveHalving-268.R
Saving _problems/test_TunerBatchSuccessiveHalving-277.R
[ FAIL 32 | WARN 0 | SKIP 1 | PASS 36 ]
══ Skipped tests (1) ═══════════════════════════════════════════════════════════
• On CRAN (1): 'test_TunerAsyncSuccessiveHalving.R:1:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_TunerBatchHyperband.R:7:3'): TunerBatchHyperband works ─────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_hyperband(eta = 2, learner) at test_TunerBatchHyperband.R:7:3
2. └─mlr3tuning::tune(...) at ./helper.R:26:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchHyperband__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchHyperband.R:16:3'): TunerBatchHyperband works with minimum budget > 1 ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_hyperband(eta = 2, learner) at test_TunerBatchHyperband.R:16:3
2. └─mlr3tuning::tune(...) at ./helper.R:26:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchHyperband__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchHyperband.R:25:3'): TunerBatchHyperband rounds budget ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_hyperband(eta = 2, learner) at test_TunerBatchHyperband.R:25:3
2. └─mlr3tuning::tune(...) at ./helper.R:26:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchHyperband__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchHyperband.R:34:3'): TunerBatchHyperband works with eta = 2.5 ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_hyperband(eta = 2.5, learner) at test_TunerBatchHyperband.R:34:3
2. └─mlr3tuning::tune(...) at ./helper.R:26:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchHyperband__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchHyperband.R:47:3'): TunerBatchHyperband works with xgboost ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_hyperband(eta = 2, learner) at test_TunerBatchHyperband.R:47:3
2. └─mlr3tuning::tune(...) at ./helper.R:26:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchHyperband__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchHyperband.R:58:3'): TunerBatchHyperband works with subsampling ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_hyperband(eta = 3, graph_learner) at test_TunerBatchHyperband.R:58:3
2. └─mlr3tuning::tune(...) at ./helper.R:26:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchHyperband__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchHyperband.R:68:3'): TunerBatchHyperband works works with multi-crit ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_hyperband(...) at test_TunerBatchHyperband.R:68:3
2. └─mlr3tuning::tune(...) at ./helper.R:26:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchHyperband__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchHyperband.R:82:3'): TunerBatchHyperband works with custom sampler ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_hyperband(eta = 2, learner, sampler = sampler) at test_TunerBatchHyperband.R:82:3
2. └─mlr3tuning::tune(...) at ./helper.R:26:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchHyperband__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchHyperband.R:167:3'): TunerBatchHyperband minimizes measure ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_hyperband(...) at test_TunerBatchHyperband.R:167:3
2. └─mlr3tuning::tune(...) at ./helper.R:26:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchHyperband__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchHyperband.R:178:3'): TunerBatchHyperband maximizes measure ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_hyperband(...) at test_TunerBatchHyperband.R:178:3
2. └─mlr3tuning::tune(...) at ./helper.R:26:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchHyperband__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchHyperband.R:189:3'): TunerBatchHyperband works with single budget value ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_hyperband(eta = 2, learner) at test_TunerBatchHyperband.R:189:3
2. └─mlr3tuning::tune(...) at ./helper.R:26:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchHyperband__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchHyperband.R:198:3'): TunerBatchHyperband works with repetitions ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3tuning::tune(...) at test_TunerBatchHyperband.R:198:3
2. └─tuner$optimize(instance)
3. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
4. └─private$.optimizer$optimize(inst)
5. └─bbotk:::.__OptimizerBatch__optimize(...)
6. └─bbotk::optimize_batch_default(inst, self)
7. ├─base::tryCatch(...)
8. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
9. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
10. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
11. └─get_private(optimizer)$.optimize(instance)
12. └─mlr3hyperband:::.__OptimizerBatchHyperband__.optimize(...)
13. └─inst$eval_batch(xdt)
14. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
15. └─self$objective$eval_many(xss_trafoed)
16. └─bbotk:::.__Objective__eval_many(...)
17. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
18. │ └─base::eval.parent(expr, n = 1L)
19. │ └─base::eval(expr, p)
20. │ └─base::eval(expr, p)
21. └─private$.eval_many(xss = xss, resampling = `<list>`)
22. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
23. └─mlr3::benchmark(...)
24. └─ResultData$new(grid, data_extra, store_backends = store_backends)
25. └─mlr3 (local) initialize(...)
26. └─mlr3:::.__ResultData__initialize(...)
27. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
28. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchHyperband.R:214:3'): TunerBatchHyperband terminates itself ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3tuning::tune(...) at test_TunerBatchHyperband.R:214:3
2. └─tuner$optimize(instance)
3. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
4. └─private$.optimizer$optimize(inst)
5. └─bbotk:::.__OptimizerBatch__optimize(...)
6. └─bbotk::optimize_batch_default(inst, self)
7. ├─base::tryCatch(...)
8. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
9. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
10. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
11. └─get_private(optimizer)$.optimize(instance)
12. └─mlr3hyperband:::.__OptimizerBatchHyperband__.optimize(...)
13. └─inst$eval_batch(xdt)
14. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
15. └─self$objective$eval_many(xss_trafoed)
16. └─bbotk:::.__Objective__eval_many(...)
17. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
18. │ └─base::eval.parent(expr, n = 1L)
19. │ └─base::eval(expr, p)
20. │ └─base::eval(expr, p)
21. └─private$.eval_many(xss = xss, resampling = `<list>`)
22. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
23. └─mlr3::benchmark(...)
24. └─ResultData$new(grid, data_extra, store_backends = store_backends)
25. └─mlr3 (local) initialize(...)
26. └─mlr3:::.__ResultData__initialize(...)
27. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
28. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchHyperband.R:230:3'): TunerBatchHyperband works with infinite repetitions ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3tuning::tune(...) at test_TunerBatchHyperband.R:230:3
2. └─tuner$optimize(instance)
3. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
4. └─private$.optimizer$optimize(inst)
5. └─bbotk:::.__OptimizerBatch__optimize(...)
6. └─bbotk::optimize_batch_default(inst, self)
7. ├─base::tryCatch(...)
8. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
9. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
10. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
11. └─get_private(optimizer)$.optimize(instance)
12. └─mlr3hyperband:::.__OptimizerBatchHyperband__.optimize(...)
13. └─inst$eval_batch(xdt)
14. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
15. └─self$objective$eval_many(xss_trafoed)
16. └─bbotk:::.__Objective__eval_many(...)
17. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
18. │ └─base::eval.parent(expr, n = 1L)
19. │ └─base::eval(expr, p)
20. │ └─base::eval(expr, p)
21. └─private$.eval_many(xss = xss, resampling = `<list>`)
22. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
23. └─mlr3::benchmark(...)
24. └─ResultData$new(grid, data_extra, store_backends = store_backends)
25. └─mlr3 (local) initialize(...)
26. └─mlr3:::.__ResultData__initialize(...)
27. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
28. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchSuccessiveHalving.R:7:3'): TunerBatchSuccessiveHalving works ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerBatchSuccessiveHalving.R:7:3
2. └─mlr3tuning::tune(...) at ./helper.R:61:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchSuccessiveHalving.R:16:3'): TunerBatchSuccessiveHalving works with minimum budget > 1 ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerBatchSuccessiveHalving.R:16:3
2. └─mlr3tuning::tune(...) at ./helper.R:61:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchSuccessiveHalving.R:25:3'): TunerBatchSuccessiveHalving rounds budget ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerBatchSuccessiveHalving.R:25:3
2. └─mlr3tuning::tune(...) at ./helper.R:61:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchSuccessiveHalving.R:34:3'): TunerBatchSuccessiveHalving works with eta = 2.5 ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerBatchSuccessiveHalving.R:34:3
2. └─mlr3tuning::tune(...) at ./helper.R:61:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchSuccessiveHalving.R:43:3'): TunerBatchSuccessiveHalving adjusts minimum budget ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerBatchSuccessiveHalving.R:43:3
2. └─mlr3tuning::tune(...) at ./helper.R:61:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchSuccessiveHalving.R:65:3'): TunerBatchSuccessiveHalving works with xgboost ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerBatchSuccessiveHalving.R:65:3
2. └─mlr3tuning::tune(...) at ./helper.R:61:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchSuccessiveHalving.R:76:3'): TunerBatchSuccessiveHalving works with subsampling ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerBatchSuccessiveHalving.R:76:3
2. └─mlr3tuning::tune(...) at ./helper.R:61:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchSuccessiveHalving.R:85:3'): TunerBatchSuccessiveHalving works with multi-crit ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerBatchSuccessiveHalving.R:85:3
2. └─mlr3tuning::tune(...) at ./helper.R:61:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchSuccessiveHalving.R:96:3'): TunerBatchSuccessiveHalving works with custom sampler ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerBatchSuccessiveHalving.R:96:3
2. └─mlr3tuning::tune(...) at ./helper.R:61:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchSuccessiveHalving.R:181:3'): TunerBatchSuccessiveHalving minimizes measure ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerBatchSuccessiveHalving.R:181:3
2. └─mlr3tuning::tune(...) at ./helper.R:61:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchSuccessiveHalving.R:191:3'): TunerBatchSuccessiveHalving maximizes measure ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerBatchSuccessiveHalving.R:191:3
2. └─mlr3tuning::tune(...) at ./helper.R:61:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchSuccessiveHalving.R:201:3'): TunerBatchSuccessiveHalving works with single budget value ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerBatchSuccessiveHalving.R:201:3
2. └─mlr3tuning::tune(...) at ./helper.R:61:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchSuccessiveHalving.R:210:3'): TunerBatchSuccessiveHalving works with repetitions ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3tuning::tune(...) at test_TunerBatchSuccessiveHalving.R:210:3
2. └─tuner$optimize(instance)
3. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
4. └─private$.optimizer$optimize(inst)
5. └─bbotk:::.__OptimizerBatch__optimize(...)
6. └─bbotk::optimize_batch_default(inst, self)
7. ├─base::tryCatch(...)
8. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
9. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
10. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
11. └─get_private(optimizer)$.optimize(instance)
12. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
13. └─inst$eval_batch(xdt)
14. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
15. └─self$objective$eval_many(xss_trafoed)
16. └─bbotk:::.__Objective__eval_many(...)
17. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
18. │ └─base::eval.parent(expr, n = 1L)
19. │ └─base::eval(expr, p)
20. │ └─base::eval(expr, p)
21. └─private$.eval_many(xss = xss, resampling = `<list>`)
22. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
23. └─mlr3::benchmark(...)
24. └─ResultData$new(grid, data_extra, store_backends = store_backends)
25. └─mlr3 (local) initialize(...)
26. └─mlr3:::.__ResultData__initialize(...)
27. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
28. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchSuccessiveHalving.R:226:3'): TunerBatchSuccessiveHalving terminates itself ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3tuning::tune(...) at test_TunerBatchSuccessiveHalving.R:226:3
2. └─tuner$optimize(instance)
3. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
4. └─private$.optimizer$optimize(inst)
5. └─bbotk:::.__OptimizerBatch__optimize(...)
6. └─bbotk::optimize_batch_default(inst, self)
7. ├─base::tryCatch(...)
8. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
9. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
10. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
11. └─get_private(optimizer)$.optimize(instance)
12. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
13. └─inst$eval_batch(xdt)
14. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
15. └─self$objective$eval_many(xss_trafoed)
16. └─bbotk:::.__Objective__eval_many(...)
17. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
18. │ └─base::eval.parent(expr, n = 1L)
19. │ └─base::eval(expr, p)
20. │ └─base::eval(expr, p)
21. └─private$.eval_many(xss = xss, resampling = `<list>`)
22. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
23. └─mlr3::benchmark(...)
24. └─ResultData$new(grid, data_extra, store_backends = store_backends)
25. └─mlr3 (local) initialize(...)
26. └─mlr3:::.__ResultData__initialize(...)
27. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
28. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchSuccessiveHalving.R:242:3'): TunerBatchSuccessiveHalving works with infinite repetitions ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3tuning::tune(...) at test_TunerBatchSuccessiveHalving.R:242:3
2. └─tuner$optimize(instance)
3. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
4. └─private$.optimizer$optimize(inst)
5. └─bbotk:::.__OptimizerBatch__optimize(...)
6. └─bbotk::optimize_batch_default(inst, self)
7. ├─base::tryCatch(...)
8. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
9. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
10. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
11. └─get_private(optimizer)$.optimize(instance)
12. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
13. └─inst$eval_batch(xdt)
14. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
15. └─self$objective$eval_many(xss_trafoed)
16. └─bbotk:::.__Objective__eval_many(...)
17. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
18. │ └─base::eval.parent(expr, n = 1L)
19. │ └─base::eval(expr, p)
20. │ └─base::eval(expr, p)
21. └─private$.eval_many(xss = xss, resampling = `<list>`)
22. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
23. └─mlr3::benchmark(...)
24. └─ResultData$new(grid, data_extra, store_backends = store_backends)
25. └─mlr3 (local) initialize(...)
26. └─mlr3:::.__ResultData__initialize(...)
27. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
28. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchSuccessiveHalving.R:259:3'): TunerBatchSuccessiveHalving works with r_max > n ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerBatchSuccessiveHalving.R:259:3
2. └─mlr3tuning::tune(...) at ./helper.R:61:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchSuccessiveHalving.R:268:3'): TunerBatchSuccessiveHalving works with r_max < n ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerBatchSuccessiveHalving.R:268:3
2. └─mlr3tuning::tune(...) at ./helper.R:61:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_TunerBatchSuccessiveHalving.R:277:3'): TunerBatchSuccessiveHalving works with r_max < n and adjust minimum budget ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerBatchSuccessiveHalving.R:277:3
2. └─mlr3tuning::tune(...) at ./helper.R:61:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
14. └─inst$eval_batch(xdt)
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
[ FAIL 32 | WARN 0 | SKIP 1 | PASS 36 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc