Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

forecast_meta_M4() not running as expected #13

Open
rachael-stone opened this issue Jan 14, 2019 · 0 comments
Open

forecast_meta_M4() not running as expected #13

rachael-stone opened this issue Jan 14, 2019 · 0 comments

Comments

@rachael-stone
Copy link

rachael-stone commented Jan 14, 2019

Objective: trying to run the reproduction example under "Simple Forecasting" section

Input:
reset.seed(10-06-2019)
truex = (rnorm(60)) + seq(60)/10

#we subtract the last 10 observations to use it as 'true future' values
#and keep the rest as the input series in our method
h = 10
x <- head(truex, -h)
x <- ts(x, frequency = 1)

#forecasting with our method using our pretrained model in one line of code
#just the input series and the desired forecasting horizon
forec_result <- forecast_meta_M4(model_M4, x, h=h)

Output:
Error in is.constant(y) :
(list) object cannot be coerced to type 'double'.

Any context as to why forecast_meta_M4() is not working is greatly appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant