save_model: Save model

View source: R/save_load.R

save_modelR Documentation

Save model

Description

Saves a Model for a given trial

Usage

save_model(tuner, trial_id, model, step = 1)

Arguments

tuner

A tuner object

trial_id

The ID of the 'Trial' that corresponds to this Model.

model

The trained model.

step

For models that report intermediate results to the 'Oracle', the step that this saved file should correspond to. For example, for Keras models this is the number of epochs trained.

Value

None


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