predict: Get predictions from a trained LSTM model

predictR Documentation

Get predictions from a trained LSTM model

Description

Get predictions from a trained LSTM model

Usage

predict(model, data, only_actuals_obs = FALSE)

Arguments

model

a trained LSTM model gotten from calling LSTM()

data

dataframe with the same columns the model was trained on

only_actuals_obs

whether or not to produce predictions for periods without an actual. E.g. FALSE will return predictions for months in between quarters, even if the target variable is quarterly.

Value

dataframe with periods, actuals if available, and predictions


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