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

Question: Does nnetar_reg use the outcome variable as predictor? #212

Open
MxNl opened this issue Nov 14, 2022 · 0 comments
Open

Question: Does nnetar_reg use the outcome variable as predictor? #212

MxNl opened this issue Nov 14, 2022 · 0 comments

Comments

@MxNl
Copy link

MxNl commented Nov 14, 2022

Hi,

I want to use the nnetar_reg() for timeseries modelling. After reading the documentation of forecast::nnetar(), I was a bit confused with how the definition of roles in a recipe translates to roles in the nnetar model. Because nnetar() uses lagged versions of y (the outcome) as predictor. But if I define the outcome in a recipe, I usually assume that it will not be used as predictor. If so, I could of course also just use a mlp with lagged predictors. Could you please help me with this? Thanks a lot!

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