Random Search Acquisition Function Optimizer
Source:R/AcqOptimzerRandomSearch.R
AcqOptimizerRandomSearch.RdRandom search acquisition function optimizer.
By default, it samples 100 * D^2 random points in the search space, where D is the dimension of the search space.
The point with the highest acquisition value is returned.
Parameters
n_evalsinteger(1)
Number of random points to sample. Default is100 * D^2, whereDis the dimension of the search space.
Super class
mlr3mbo::AcqOptimizer -> AcqOptimizerRandomSearch
Methods
Method new()
Creates a new instance of this R6 class.
Usage
AcqOptimizerRandomSearch$new(acq_function = NULL)Arguments
acq_function(
NULL| AcqFunction).
Method optimize()
Optimize the acquisition function.
Returns
data.table::data.table() with 1 row per candidate.
Examples
acqo("random_search")
#> <AcqOptimizerRandomSearch>: (OptimizerRandomSearch)
#> * Parameters: catch_errors=TRUE