Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
be-marc committed Dec 3, 2024
1 parent e15495d commit c6d8dd3
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 71 deletions.
5 changes: 4 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,15 @@ Imports:
mlr3 (>= 0.13.1),
mlr3misc (>= 0.10.0),
paradox (>= 0.9.0),
R6
R6,
uuid
Suggests:
emoa,
mlr3learners (>= 0.5.2),
mlr3pipelines,
rpart,
redux,
rush,
testthat (>= 3.0.0),
xgboost
Config/testthat/edition: 3
Expand Down
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ import(paradox)
importFrom(R6,R6Class)
importFrom(utils,bibentry)
importFrom(utils,head)
importFrom(uuid,UUIDgenerate)
3 changes: 1 addition & 2 deletions R/OptimizerAsyncSuccessiveHalving.R
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
#' `r format_bib("li_2020")`
#'
#' @export
#' @template example_optimizer
OptimizerAsyncSuccessiveHalving = R6Class("OptimizerAsyncSuccessiveHalving",
inherit = OptimizerAsync,

Expand Down Expand Up @@ -142,7 +141,7 @@ OptimizerAsyncSuccessiveHalving = R6Class("OptimizerAsyncSuccessiveHalving",
xs = transpose_list(xdt)[[1]]

# add unique id across stages, stage number, and budget
asha_id = uuid::UUIDgenerate()
asha_id = UUIDgenerate()
xs = c(xs, list(asha_id = asha_id, stage = 1))
xs[[budget_id]] = private$.r_min

Expand Down
1 change: 0 additions & 1 deletion R/TunerAsyncSuccessiveHalving.R
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
#' `r format_bib("li_2020")`
#'
#' @export
#' @template example_tuner
TunerAsyncSuccessiveHalving = R6Class("TunerAsyncSuccessiveHalving",
inherit = TunerAsyncFromOptimizerAsync,
public = list(
Expand Down
1 change: 1 addition & 0 deletions R/zzz.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#' @import bbotk
#' @importFrom R6 R6Class
#' @importFrom utils head
#' @importFrom uuid UUIDgenerate
"_PACKAGE"

register_bbotk = function() {
Expand Down
39 changes: 0 additions & 39 deletions man/mlr_optimizers_async_successive_halving.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

28 changes: 0 additions & 28 deletions man/mlr_tuners_async_successive_halving.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c6d8dd3

Please sign in to comment.