Learn R Programming

kerastuneR (version 0.1.0.2)

Oracle: Oracle

Description

Implements a hyperparameter optimization algorithm.

Usage

Oracle(
  objective,
  max_trials = NULL,
  hyperparameters = NULL,
  allow_new_entries = TRUE,
  tune_new_entries = TRUE
)

Arguments

objective

String. Name of model metric to minimize or maximize, e.g. "val_accuracy".

max_trials

The maximum number of hyperparameter combinations to try.

hyperparameters

HyperParameters class instance. Can be used to override (or register in advance) hyperparamters in the search space.

allow_new_entries

Whether the hypermodel is allowed to request hyperparameter entries not listed in `hyperparameters`.

tune_new_entries

Whether hyperparameter entries that are requested by the hypermodel but that were not specified in `hyperparameters` should be added to the search space, or not. If not, then the default value for these parameters will be used.

Value

None