Subclass for random search tuning.

The random points are sampled by paradox::generate_design_random().

In order to support general termination criteria and parallelization, we evaluate points in a batch-fashion of size batch_size. Larger batches mean we can parallelize more, smaller batches imply a more fine-grained checking of termination criteria.

Format

R6::R6Class object inheriting from Tuner.

Construction

TunerRandomSearch$new(batch_size = 1L)
tnr("random_search")

Parameters

  • batch_size :: integer(1)
    Maximum number of configurations to try in a batch.

See also

Examples

# see ?Tuner