BaseTuner: Base Tuner

View source: R/BaseTuner.R

BaseTunerR Documentation

Base Tuner

Description

Tuner base class.

Usage

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.

Details

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

Value

base tuner object


kerastuneR documentation built on March 25, 2022, 9:07 a.m.