diff --git a/DESCRIPTION b/DESCRIPTION index 07461684..928779c9 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -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", , "lennart.sch@web.de", role = c("cre", "aut"), comment = c(ORCID = "0000-0003-4152-5308")), @@ -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: @@ -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 diff --git a/NEWS.md b/NEWS.md index b3afb9e2..7a23477e 100644 --- a/NEWS.md +++ b/NEWS.md @@ -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 diff --git a/man-roxygen/field_feature_types_surrogate.R b/man-roxygen/field_feature_types_surrogate.R index d47c24da..eabf2581 100644 --- a/man-roxygen/field_feature_types_surrogate.R +++ b/man-roxygen/field_feature_types_surrogate.R @@ -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]. diff --git a/man-roxygen/field_properties.R b/man-roxygen/field_properties.R index a05f9890..c9fc652b 100644 --- a/man-roxygen/field_properties.R +++ b/man-roxygen/field_properties.R @@ -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`. diff --git a/man-roxygen/field_properties_surrogate.R b/man-roxygen/field_properties_surrogate.R index d83718f9..dce10a62 100644 --- a/man-roxygen/field_properties_surrogate.R +++ b/man-roxygen/field_properties_surrogate.R @@ -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]. diff --git a/man/Surrogate.Rd b/man/Surrogate.Rd index 79e3f4d5..73ed916a 100644 --- a/man/Surrogate.Rd +++ b/man/Surrogate.Rd @@ -51,11 +51,11 @@ A warning is signaled if at least one of the packages is not installed, but load \item{\code{feature_types}}{(\code{character()})\cr Stores the feature types the surrogate can handle, e.g. \code{"logical"}, \code{"numeric"}, or \code{"factor"}. -A complete list of candidate feature types, grouped by task type, is stored in \code{\link[=mlr_reflections]{mlr_reflections$task_feature_types}}.} +A complete list of candidate feature types, grouped by task type, is stored in \code{\link[mlr3:mlr_reflections]{mlr_reflections$task_feature_types}}.} \item{\code{properties}}{(\code{character()})\cr Stores a set of properties/capabilities the surrogate has. -A complete list of candidate properties, grouped by task type, is stored in \code{\link[=mlr_reflections]{mlr_reflections$learner_properties}}.} +A complete list of candidate properties, grouped by task type, is stored in \code{\link[mlr3:mlr_reflections]{mlr_reflections$learner_properties}}.} \item{\code{predict_type}}{(\code{character(1)})\cr Retrieves the currently active predict type, e.g. \code{"response"}.} diff --git a/man/SurrogateLearner.Rd b/man/SurrogateLearner.Rd index 038f9487..27f6f69d 100644 --- a/man/SurrogateLearner.Rd +++ b/man/SurrogateLearner.Rd @@ -86,11 +86,11 @@ A warning is signaled if at least one of the packages is not installed, but load \item{\code{feature_types}}{(\code{character()})\cr Stores the feature types the surrogate can handle, e.g. \code{"logical"}, \code{"numeric"}, or \code{"factor"}. -A complete list of candidate feature types, grouped by task type, is stored in \code{\link[=mlr_reflections]{mlr_reflections$task_feature_types}}.} +A complete list of candidate feature types, grouped by task type, is stored in \code{\link[mlr3:mlr_reflections]{mlr_reflections$task_feature_types}}.} \item{\code{properties}}{(\code{character()})\cr Stores a set of properties/capabilities the surrogate has. -A complete list of candidate properties, grouped by task type, is stored in \code{\link[=mlr_reflections]{mlr_reflections$learner_properties}}.} +A complete list of candidate properties, grouped by task type, is stored in \code{\link[mlr3:mlr_reflections]{mlr_reflections$learner_properties}}.} \item{\code{predict_type}}{(\code{character(1)})\cr Retrieves the currently active predict type, e.g. \code{"response"}.} diff --git a/man/SurrogateLearnerCollection.Rd b/man/SurrogateLearnerCollection.Rd index 954b8ea9..83783625 100644 --- a/man/SurrogateLearnerCollection.Rd +++ b/man/SurrogateLearnerCollection.Rd @@ -92,11 +92,11 @@ A warning is signaled if at least one of the packages is not installed, but load \item{\code{feature_types}}{(\code{character()})\cr Stores the feature types the surrogate can handle, e.g. \code{"logical"}, \code{"numeric"}, or \code{"factor"}. -A complete list of candidate feature types, grouped by task type, is stored in \code{\link[=mlr_reflections]{mlr_reflections$task_feature_types}}.} +A complete list of candidate feature types, grouped by task type, is stored in \code{\link[mlr3:mlr_reflections]{mlr_reflections$task_feature_types}}.} \item{\code{properties}}{(\code{character()})\cr Stores a set of properties/capabilities the surrogate has. -A complete list of candidate properties, grouped by task type, is stored in \code{\link[=mlr_reflections]{mlr_reflections$learner_properties}}.} +A complete list of candidate properties, grouped by task type, is stored in \code{\link[mlr3:mlr_reflections]{mlr_reflections$learner_properties}}.} \item{\code{predict_type}}{(\code{character(1)})\cr Retrieves the currently active predict type, e.g. \code{"response"}.} diff --git a/man/mlr_optimizers_mbo.Rd b/man/mlr_optimizers_mbo.Rd index 6a57a9ca..680bc3f7 100644 --- a/man/mlr_optimizers_mbo.Rd +++ b/man/mlr_optimizers_mbo.Rd @@ -128,7 +128,7 @@ This corresponds to the values given by a \link[paradox:ParamSet]{paradox::Param \item{\code{properties}}{(\code{character()})\cr Set of properties of the optimizer. -Must be a subset of \code{\link[=bbotk_reflections]{bbotk_reflections$optimizer_properties}}. +Must be a subset of \code{\link[bbotk:bbotk_reflections]{bbotk_reflections$optimizer_properties}}. 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 \code{loop_function} and \code{surrogate}.} diff --git a/man/mlr_tuners_mbo.Rd b/man/mlr_tuners_mbo.Rd index 1e625721..6e5261f8 100644 --- a/man/mlr_tuners_mbo.Rd +++ b/man/mlr_tuners_mbo.Rd @@ -84,7 +84,7 @@ This corresponds to the values given by a \link[paradox:ParamSet]{paradox::Param \item{\code{properties}}{(\code{character()})\cr Set of properties of the optimizer. -Must be a subset of \code{\link[=bbotk_reflections]{bbotk_reflections$optimizer_properties}}. +Must be a subset of \code{\link[bbotk:bbotk_reflections]{bbotk_reflections$optimizer_properties}}. 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 \code{loop_function} and \code{surrogate}.} diff --git a/vignettes/mlr3mbo.Rmd b/vignettes/mlr3mbo.Rmd index 46576cc4..6ee0e42e 100644 --- a/vignettes/mlr3mbo.Rmd +++ b/vignettes/mlr3mbo.Rmd @@ -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):