Calculate the score for each horizon for a forecast model fit.
score_fit(fit, scoreperiod = NA, usecomplete = TRUE, scorefun = rmse)A model fit
as an index (logical or integer) defining which points to inlude in the score calculation. If NA, the scoreperiod from the fit$model object is used.
Only use points where
The score function applied, per default rmse.
A list with:
- scoreval is the score value
- scoreperiod is the score period used (can be different that the one in arguments fit or scoreperiod)
- scorename is the name of the score function applied
For evaluation of the score on each horizon, as specified in the fit. Use it for a consistent evaluation.