Applies a fitted BINNET model to a new dataset.
Usage
# S3 method for BINNET
refit(object, new_data, specials = NULL, reestimate = FALSE, ...)
Arguments
- object
A model for which forecasts are required.
- new_data
A tsibble containing the time points and exogenous regressors to produce forecasts for.
- specials
(passed by
fabletools::forecast.mdl_df()
).- reestimate
If
TRUE
, the networks will be initialized with random starting weights to suit the new data. IfFALSE
, for every network the best individual set of weights found in the pre-estimation process is used as the starting weight vector.- ...
Other arguments passed to methods