Tuner class for Keras models.

Tuner_class(
oracle,
hypermodel,
max_model_size = NULL,
optimizer = NULL,
loss = NULL,
metrics = NULL,
distribution_strategy = NULL,
directory = NULL,
project_name = NULL,
logger = NULL,
tuner_id = NULL,
overwrite = FALSE
)

## Arguments

oracle Instance of Oracle class. Instance of HyperModel class (or callable that takes hyperparameters and returns a Model instance). Int. Maximum size of weights (in floating point coefficients) for a valid models. Models larger than this are rejected. Optional. Optimizer instance. May be used to override the optimizer argument in the compile step for the models. If the hypermodel does not compile the models it generates, then this argument must be specified. Optional. May be used to override the loss argument in the compile step for the models. If the hypermodel does not compile the models it generates, then this argument must be specified. Optional. May be used to override the metrics argument in the compile step for the models. If the hypermodel does not compile the models it generates, then this argument must be specified. Optional. A TensorFlow tf$distribute DistributionStrategy instance. If specified, each trial will run under this scope. For example, tf$distribute.MirroredStrategy(['/gpu:0, /'gpu:1]) will run each trial on two GPUs. Currently only single-worker strategies are supported. String. Path to the working directory (relative). Name to use as prefix for files saved by this Tuner. Optional. Instance of Logger class, used for streaming data to Cloud Service for monitoring. tuner_id Bool, default FALSE. If FALSE, reloads an existing project of the same name if one is found. Otherwise, overwrites the project.

a tuner object

## Details

May be subclassed to create new tuners.