Tuner base class.

BaseTuner(
  oracle,
  hypermodel,
  directory = NULL,
  project_name = NULL,
  logger = NULL,
  overwrite = FALSE
)

Arguments

oracle

Instance of Oracle class.

hypermodel

Instance of HyperModel class (or callable that takes hyperparameters and returns a Model instance).

directory

String. Path to the working directory (relative).

project_name

Name to use as prefix for files saved by this Tuner.

logger

Optional. Instance of Logger class, used for streaming data to Cloud Service for monitoring.

overwrite

Bool, default `FALSE`. If `FALSE`, reloads an existing project of the same name if one is found. Otherwise, overwrites the project.

Value

base tuner object

Details

May be subclassed to create new tuners, including for non-Keras models.