Predict for TFT
predict.tft_result.Rd
Predict for TFT
Usage
# S3 method for tft_result
predict(object, new_data = NULL, ..., past_data = NULL)
Arguments
- object
a model object for which prediction is desired.
- new_data
A
data.frame()
containing a dataset to generate predictions for. In general it's used to pass static and known information to generate forecasts.- ...
other arguments passed to the
predict.luz_module_fitted()
.- past_data
A
data.frame()
with past information for creating the predictions. It should include at leastlookback
values - but can be more. It's concatenated withnew_data
before passing forward. IfNULL
, the data used to train the model is used.