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

Seasonal Decomposition for Multivariate time series #114

Closed
nbrosse opened this issue Sep 7, 2020 · 2 comments
Closed

Seasonal Decomposition for Multivariate time series #114

nbrosse opened this issue Sep 7, 2020 · 2 comments
Labels
question Further information is requested

Comments

@nbrosse
Copy link

nbrosse commented Sep 7, 2020

I fit seasonal detector and transformer to a multivariate time series following the documentation.

https://adtk.readthedocs.io/en/stable/api/transformers.html#adtk.transformer.ClassicSeasonalDecomposition

https://adtk.readthedocs.io/en/stable/notebooks/demo.html#SeasonalAD

When I fit a pandas Dataframe with several columns (multivariate time series) to these detector/transformer, the seasonal_ component does not exist anymore.

Would it be possible to get a seasonal_ dataframe in that case ?

@tailaiw
Copy link
Contributor

tailaiw commented Sep 8, 2020

@nbrosse Right now there is no pretty way to do so. Maybe something in the future.

When a univariate model is applied to a multivariate series, what happens behind the scene is a list of models is initiated and each is assigned to a channel. You may access all models on the backend by _models attribute of your model. For each model in that list, I think you can get seasonal_. Let me know if that works.

@tailaiw tailaiw added the question Further information is requested label Sep 8, 2020
@nbrosse
Copy link
Author

nbrosse commented Sep 9, 2020

Thank you @tailaiw !
It works ! It would be maybe a nice feature to add in the future,
Thanks again :)

@nbrosse nbrosse closed this as completed Sep 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants