Given the prediction results of random forest calculate point forecast, 95% confidence intervals, forecast-accuracy for the test set
rf_forecast(
predictions,
tslist,
database,
function_name,
h,
accuracy,
holdout = TRUE
)
a list containing, point forecast, confidence interval, accuracy measure
prediction results obtained from random forest classifier
list of new time series
whethe the time series is from mcom or other
specify the name of the accuracy function (for eg., cal_MASE, etc.) to calculate accuracy measure, ( if a user written function the arguments for the accuracy function should be training period, test period and forecast).
length of the forecast horizon
if true a accuaracy measure will be calculated
if holdout=TRUE take a holdout sample from your data to caldulate forecast accuracy measure, if FALSE all of the data will be used for forecasting. Default is TRUE
Thiyanga Talagala