Skip to content

Commit

Permalink
fix: no visible binding
Browse files Browse the repository at this point in the history
  • Loading branch information
be-marc committed Jun 29, 2024
1 parent 37baad3 commit 6b97676
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ import(mlr3tuning)
import(paradox)
importFrom(R6,R6Class)
importFrom(utils,bibentry)
importFrom(utils,head)
2 changes: 1 addition & 1 deletion R/OptimizerBatchHyperband.R
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ OptimizerBatchHyperband = R6Class("OptimizerBatchHyperband",
# promote configurations of previous batch
if (s != s_max) {
archive = inst$archive
data = archive$data[batch_nr == archive$n_batch, ]
data = archive$data[archive$n_batch, , on = "batch_nr"]
minimize = ifelse(archive$codomain$maximization_to_minimization == -1, TRUE, FALSE)

# for each bracket, promote configurations of previous stage
Expand Down
1 change: 1 addition & 0 deletions R/zzz.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#' @import mlr3tuning
#' @import bbotk
#' @importFrom R6 R6Class
#' @importFrom utils head
"_PACKAGE"

register_bbotk = function() {
Expand Down

0 comments on commit 6b97676

Please sign in to comment.