rolling_predict | R Documentation |
Sometimes your validation or testing data has more values than the horizon
of your model but you still want to create predictions for each time step on
them. rolling_slice
only generates the slices and can be useful for debuging
purposes.
rolling_predict(object, past_data, new_data, step = NULL) rolling_slice(object, past_data, new_data, step = NULL)
object |
a model object for which prediction is desired. |
past_data |
A |
new_data |
A |
step |
Default is the step to be the same as the horizon o the model, that way we have one prediction per slice. |
This function will combine your past_data
(that can also include your training data)
and create slices so you create predictions for each value in new_data
.
rolling_slice
: Generate slices for predictions without adding the predictions.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.