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.2.3 #148

Merged
merged 7 commits into from
Jul 1, 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,7 +1,7 @@
Type: Package
Package: mlr3mbo
Title: Flexible Bayesian Optimization
Version: 0.2.2.9000
Version: 0.2.3
Authors@R: c(
person("Lennart", "Schneider", , "[email protected]", role = c("cre", "aut"),
comment = c(ORCID = "0000-0003-4152-5308")),
Expand Down Expand Up @@ -41,14 +41,14 @@ BugReports: https://github.com/mlr-org/mlr3mbo/issues
Depends:
R (>= 3.1.0)
Imports:
bbotk (>= 0.8.0.9000),
bbotk (>= 1.0.0),
checkmate (>= 2.0.0),
data.table,
lgr (>= 0.3.4),
mlr3 (>= 0.14.0),
mlr3misc (>= 0.11.0),
mlr3tuning (>= 0.20.0.9000),
paradox (>= 0.10.0),
mlr3tuning (>= 1.0.0),
paradox (>= 1.0.0),
spacefillr,
R6 (>= 2.4.1)
Suggests:
Expand All @@ -66,9 +66,6 @@ Suggests:
rpart,
stringi,
testthat (>= 3.0.0)
Remotes:
mlr-org/bbotk,
mlr-org/mlr3tuning,
ByteCompile: no
Encoding: UTF-8
Config/testthat/edition: 3
Expand Down
4 changes: 3 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# mlr3mbo 0.2.2.9000
# mlr3mbo 0.2.3

* compatibility: Work with new bbotk and mlr3tuning version 1.0.0.

# mlr3mbo 0.2.2

Expand Down
2 changes: 1 addition & 1 deletion man-roxygen/field_feature_types_surrogate.R
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#' @field feature_types (`character()`)\cr
#' Stores the feature types the surrogate can handle, e.g. `"logical"`, `"numeric"`, or `"factor"`.
#' A complete list of candidate feature types, grouped by task type, is stored in [`mlr_reflections$task_feature_types`][mlr_reflections].
#' A complete list of candidate feature types, grouped by task type, is stored in [`mlr_reflections$task_feature_types`][mlr3::mlr_reflections].
2 changes: 1 addition & 1 deletion man-roxygen/field_properties.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#' @field properties (`character()`)\cr
#' Set of properties of the optimizer.
#' Must be a subset of [`bbotk_reflections$optimizer_properties`][bbotk_reflections].
#' Must be a subset of [`bbotk_reflections$optimizer_properties`][bbotk::bbotk_reflections].
#' MBO in principle is very flexible and by default we assume that the optimizer has all properties.
#' When fully initialized, properties are determined based on the `loop_function` and `surrogate`.
2 changes: 1 addition & 1 deletion man-roxygen/field_properties_surrogate.R
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#' @field properties (`character()`)\cr
#' Stores a set of properties/capabilities the surrogate has.
#' A complete list of candidate properties, grouped by task type, is stored in [`mlr_reflections$learner_properties`][mlr_reflections].
#' A complete list of candidate properties, grouped by task type, is stored in [`mlr_reflections$learner_properties`][mlr3::mlr_reflections].
4 changes: 2 additions & 2 deletions man/Surrogate.Rd

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

4 changes: 2 additions & 2 deletions man/SurrogateLearner.Rd

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

4 changes: 2 additions & 2 deletions man/SurrogateLearnerCollection.Rd

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

2 changes: 1 addition & 1 deletion man/mlr_optimizers_mbo.Rd

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

2 changes: 1 addition & 1 deletion man/mlr_tuners_mbo.Rd

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

2 changes: 1 addition & 1 deletion vignettes/mlr3mbo.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ Note that important fields of an `OptimizerMbo` such as `$param_classes`, `$pack

If arguments such as the `surrogate`, `acq_function`, `acq_optimizer` and `result_assigner` were not fully initialized during construction, e.g., the `surrogate` missing the `archive`, or the `acq_function` missing the `surrogate`, lazy initialization is completed prior to the optimizer being used for optimization.

An object of class `OptimizerMbo` can be used to optimize an object of class `r ref("bbotk::OptimInstanceBatchSingleCrit", "OptimInstanceBatchSingleCrit")` or `r ref("bbotk::OptimInstanceBatchMultiCrit", "OptimInstanceBatchMultiCrit")`.
An object of class `OptimizerMbo` can be used to optimize an object of class `OptimInstanceBatchSingleCrit` or `OptimInstanceBatchMultiCrit`.

For hyperparameter optimization, `r ref("mlr3mbo::mlr_tuners_mbo", "TunerMbo")` should be used (which simply relies on an `OptimizerMbo` that is constructed internally):

Expand Down
Loading