Oracle: Oracle

Description Usage Arguments Value

View source: R/oracle.R

Description

Implements a hyperparameter optimization algorithm.

Usage

1
2
3
4
5
6
7
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


kerastuneR documentation built on Jan. 13, 2021, 6:40 p.m.