save_lstm: Save a trained LSTM model to disk

save_lstmR Documentation

Save a trained LSTM model to disk

Description

Save a trained LSTM model to disk

Usage

save_lstm(model, path, python_model_name = "")

Arguments

model

a trained LSTM model gotten from calling LSTM()

path

the file name and path to save the model to. Should end in ".pkl"

python_model_name

what the model is called in the python session. Relevant if more than one model is in use. Defaults to same name used for the R object. For clarity, should be the same as the name of the R object the model is being saved to when the 'load_lstm' and 'LSTM' functions are initially used.

Value

trained LSTM model


dhopp1/nowcastLSTM documentation built on May 7, 2024, 9:30 a.m.