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

[mstl_decomposition] add exogenous features support #884

Open
JustM57 opened this issue Aug 6, 2024 · 2 comments
Open

[mstl_decomposition] add exogenous features support #884

JustM57 opened this issue Aug 6, 2024 · 2 comments

Comments

@JustM57
Copy link

JustM57 commented Aug 6, 2024

Description

I'm seasonal decomposition as a features for next level model(gbt). I pass MSTL based of AutoArima trend as a model. So both models support exogenous features.

Use case

This can make decomposition more accurate as it may help to clear trend and seasonal components from for example holidays effect. Year seasonality may be the solution, but not enough trustful data available.

@jmoralez
Copy link
Member

Hey, thanks for using statsforecast. The decomposition will be the same for training, regardless of the presence of exogenous features, so adding this would only change the trend component in the future features, is that what you expect? Also, would you like to keep the features for the next stage or just the decomposition (i.e. should the future dataframe have your original features from X_df or just trend + seasonal)?

@JustM57
Copy link
Author

JustM57 commented Aug 23, 2024

Usually working with the second level models, features might be processed in the other way. So the answer whether to keep the features is no.
Nevertheless tree based models unavailable to extrapolate trend in any way. So the idea is get the most accurate trend component from linear model(AR, NN, etc.). It is not possible without extra information we have from exogenous features.
Thanks.

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

No branches or pull requests

2 participants