Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release: 0.6.0 #115

Merged
merged 6 commits into from
Jun 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 4 additions & 7 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: mlr3hyperband
Title: Hyperband for 'mlr3'
Version: 0.5.0.9000
Version: 0.6.0
Authors@R: c(
person("Marc", "Becker", , "[email protected]", role = c("aut", "cre"),
comment = c(ORCID = "0000-0002-8115-0400")),
Expand All @@ -14,7 +14,7 @@ Authors@R: c(
comment = c(ORCID = "0000-0001-6002-6980"))
)
Description: Successive Halving (Jamieson and Talwalkar (2016)
<arXiv:1502.07943>) and Hyperband (Li et al. 2018 <arXiv:1603.06560>)
<doi:10.48550/arXiv.1502.07943>) and Hyperband (Li et al. 2018 <doi:10.48550/arXiv.1603.06560>)
optimization algorithm for the mlr3 ecosystem. The implementation in
mlr3hyperband features improved scheduling and parallelizes the evaluation
of configurations. The package includes tuners for hyperparameter
Expand All @@ -25,10 +25,10 @@ URL: https://mlr3hyperband.mlr-org.com,
https://github.com/mlr-org/mlr3hyperband
BugReports: https://github.com/mlr-org/mlr3hyperband/issues
Depends:
mlr3tuning (>= 0.20.0.9000),
mlr3tuning (>= 1.0.0),
R (>= 3.1.0)
Imports:
bbotk (>= 0.8.0.9000),
bbotk (>= 1.0.0),
checkmate (>= 1.9.4),
data.table,
lgr,
Expand All @@ -43,9 +43,6 @@ Suggests:
rpart,
testthat (>= 3.0.0),
xgboost
Remotes:
mlr-org/mlr3tuning,
mlr-org/bbotk
Config/testthat/edition: 3
Config/testthat/parallel: true
Encoding: UTF-8
Expand Down
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 NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# mlr3hyperband (development version)
# mlr3hyperband 0.6.0

* compatibility; Work with new bbotk 1.0.0 and mlr3tuning 1.0.0

Expand Down
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[list(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
4 changes: 2 additions & 2 deletions man-roxygen/section_dictionary_optimizers.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#' @section Dictionary:
#' This [Optimizer] can be instantiated via the [dictionary][mlr3misc::Dictionary]
#' [mlr_optimizers] or with the associated sugar function [opt()]:
#' This [bbotk::Optimizer] can be instantiated via the [dictionary][mlr3misc::Dictionary]
#' [bbotk::mlr_optimizers] or with the associated sugar function [bbotk::opt()]:
#' ```
#' mlr_optimizers$get("<%= id %>")
#' opt("<%= id %>")
Expand Down
4 changes: 2 additions & 2 deletions man-roxygen/section_dictionary_tuners.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#' @section Dictionary:
#' This [Tuner] can be instantiated via the [dictionary][mlr3misc::Dictionary]
#' [mlr_tuners] or with the associated sugar function [tnr()]:
#' This [mlr3tuning::Tuner] can be instantiated via the [dictionary][mlr3misc::Dictionary]
#' [mlr3tuning::mlr_tuners] or with the associated sugar function [mlr3tuning::tnr()]:
#' ```
#' <%= class(tnr(id))[1] %>$new()
#' mlr_tuners$get("<%= id %>")
Expand Down
2 changes: 1 addition & 1 deletion man-roxygen/section_progress_bars.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#' @section Progress Bars:
#' `$optimize()` supports progress bars via the package \CRANpkg{progressr}
#' combined with a [Terminator]. Simply wrap the function in
#' combined with a [bbotk::Terminator]. Simply wrap the function in
#' `progressr::with_progress()` to enable them. We recommend to use package
#' \CRANpkg{progress} as backend; enable with `progressr::handlers("progress")`.
2 changes: 1 addition & 1 deletion man/mlr3hyperband-package.Rd

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

6 changes: 3 additions & 3 deletions man/mlr_optimizers_hyperband.Rd

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

6 changes: 3 additions & 3 deletions man/mlr_optimizers_successive_halving.Rd

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

6 changes: 3 additions & 3 deletions man/mlr_tuners_hyperband.Rd

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

6 changes: 3 additions & 3 deletions man/mlr_tuners_successive_halving.Rd

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

Loading