• Stars
    star
    190
  • Rank 202,592 (Top 5 %)
  • Language
    Python
  • Created over 5 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Encoding time series as images using GAF operation by pyts.

ID

Series2Image

使用 Python 的 pyts 库将一维时间序列编码为二维图片,这样可以用于训练卷积神经网络(CNN)

更多详细的内容参考 CSDN 博客:

  1. 将一维时间序列转化成二维图片
  2. Python:使用 pyts 把一维时间序列转换成二维图片

2022 年 05 月 14 号更新:

  1. src/paa.py:PAA 算法的代码;
  2. src/gaf.py:GAF 基础 demo;
  3. src/generate_by_files.py:将文件夹中的每个文件都生成一个 GAF 图;
  4. src/generate_by_cols.py:数据矩阵中的每一列生成对应的 GAF 图;
  5. src/slide_window.py:利用 滑动窗口 将一个长的序列信号生成多个 GAF 图片;
  6. src/slide_window_multicol.py:利用 滑动窗口 将多列长的序列信号生成多个 GAF 图片;

Encoding time series as images using GAF operation by pyts.

see more in CSDN Blogs:

  1. 将一维时间序列转化成二维图片
  2. Python:使用 pyts 把一维时间序列转换成二维图片

2022.05.14 update:

  1. src/paa.py:PAA algorithm code;
  2. src/GAF.py:GAF demo;
  3. src/generate_by_files.py:Generate GAF images in batches, each file in filedir generate a GAF image;
  4. src/generate_by_cols.py:Generate GAF images in batches, each column in the data file generate a GAF image;
  5. src/slide_window.py:Using a sliding window to generate GAF images from a long sequence of signals;
  6. src/slide_window_multicol.py:Using a sliding window to generate GAF images from multi long sequence of signals;