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

Gramian Angular Field on 2 x 20 timeseries #78

Open
cmazzoni87 opened this issue Jul 12, 2020 · 1 comment
Open

Gramian Angular Field on 2 x 20 timeseries #78

cmazzoni87 opened this issue Jul 12, 2020 · 1 comment

Comments

@cmazzoni87
Copy link

Description

Is it possible to encode 2 x 20 timeseries into a GAF? Trying to encode the Open and Volume fields of the S&P index. Thank you for your effort.

@johannfaouzi
Copy link
Owner

Hi,

In the paper introducing GAF, they apply this algorithm to univariate time series only, and the implementation in this package works on univariate time series only. However, you could create a GAF for each feature (open and volume fields), so you would obtain 2 x 20 GAF. If you really want one final image instead of two, I would suggest applying a reduction (such as the element-wise mean or product).

Hope this helps you a bit.

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

2 participants