View source: R/combination_forecast.R
combination_forecast | R Documentation |
Select "n" number of algorithms based on minimum forecast error
combination_forecast(
predicted,
ncomp = 2,
accmat = NULL,
real.error = NULL,
tslist = TRUE,
forecast_list = NULL,
h = NULL,
weights = TRUE,
measure = NULL
)
predicted |
prediction value matrix |
ncomp |
number of algorithms use to combine |
accmat |
function to compute forecast accuracy |
real.error |
optional, matrix of MASE values for all algorithms for test data |
tslist |
list of time series, as in the format of Mcomp object |
forecast_list |
true forecast from different models |
h |
length of forecast horizon |
weights |
weighted by MASE |
measure |
summary measure to be used mean or median |
list containing the forecasts and summaries
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.