vaeac_train_model_continue {shapr} | R Documentation |
Continue to Train the vaeac Model
Description
Function that loads a previously trained vaeac model and continue the training, either on new data or on the same dataset as it was trained on before. If we are given a new dataset, then we assume that new dataset has the same distribution and one_hot_max_sizes as the original dataset.
Usage
vaeac_train_model_continue(
explanation,
epochs_new,
lr_new = NULL,
x_train = NULL,
save_data = FALSE,
verbose = NULL,
seed = 1
)
Arguments
explanation |
A |
epochs_new |
Positive integer. The number of extra epochs to conduct. |
lr_new |
Positive numeric. If we are to overwrite the old learning rate in the adam optimizer. |
x_train |
A data.table containing the training data. Categorical data must have class names |
save_data |
Logical (default is |
verbose |
String vector or NULL.
Specifies the verbosity (printout detail level) through one or more of strings |
seed |
Positive integer (default is |
Value
A list containing the training/validation errors and paths to where the vaeac models are saved on the disk.
Author(s)
Lars Henry Berge Olsen