GASF (Gramian Angular Summation Field) and GADF (Gramian Angular Difference Field)

The difference between GASF (Gramian Angular Summation Field) and GADF (Gramian Angular Difference Field) lies in the way they encode the time series data into images. GASF is based on the cosine of the sum of angles, which captures the temporal correlation by considering the trigonometric sum between each point to identify the temporal correlation within different time intervals1. On the other hand, GADF is based on the sine of the difference of angles, which captures the changes in the time series data2.

Neither GASF nor GADF inherently loses more information than the other; they simply represent the time series data in different ways. GASF tends to preserve the trend of the time series, while GADF emphasizes the changes or differences. The choice between GASF and GADF depends on the specific application and what features of the time series are most important for the task at hand.

Regarding your question about X = np.array([x, y]), this line of code is creating a two-dimensional NumPy array where x and y are individual time series data arrays. If x and y represent two different measurements over the same time intervals, then X becomes a multivariate time series array. In this context, the X-axis of X would still represent time, but now you have a two-dimensional array where each row corresponds to a different variable or measurement taken over time. Essentially, X is a collection of time series, and each element X[i] is a separate time series data set. This allows for the analysis of multivariate time series data, where you can observe and analyze the behavior of multiple variables over the same time period.

  • 14
    点赞
  • 10
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值