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

Simplify the logic of _add_static_covariate in regression models #1507

Open
eliane-maalouf opened this issue Jan 23, 2023 · 0 comments
Open

Comments

@eliane-maalouf
Copy link
Contributor

After PR#1399 it would be possible to add static covariates inside of create_lagged_data after each 'block' has been formed.
The current limitation for this is that the implementation tests for the number of features that the regression model was trained with in order to compare it to the current available features at inference time (i.e., to account for the case where the series used at inference time does not have static covariates while the training ones did).
To avoid the latest, one could for example store the static covariates map (that was built at training time) as an attribute of the model and have access to it at inference time.

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