BaseTuner: Base Tuner

Description Usage Arguments Details Value

View source: R/BaseTuner.R

Description

Tuner base class.

Usage

1
2
3
4
5
6
7
8
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 Jan. 13, 2021, 6:40 p.m.