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

Passing formula variables to combination_model fails #414

Closed
jfeltonnee opened this issue May 30, 2024 · 1 comment
Closed

Passing formula variables to combination_model fails #414

jfeltonnee opened this issue May 30, 2024 · 1 comment

Comments

@jfeltonnee
Copy link

Error in combination_model():
! combination_model() must use component models with the same response variable.

Example to reproduce error:
library(fable)
library(tsibbledata)

f1 <- formula(Tobacco ~ Beer)
f2 <- formula(Tobacco ~ Gas)

fabletools::model(aus_production
, cmbn1 = combination_model(
NNETAR(formula = f1)
, NNETAR(formula = f2)
, cmbn_args = list(weights = "inv_var")))

@jfeltonnee jfeltonnee closed this as not planned Won't fix, can't repro, duplicate, stale May 30, 2024
@jfeltonnee
Copy link
Author

Duplicate posting of issue

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