liangqin12354 / Multidimensional-time-series-with-transformer

transformer/self-attention for Multidimensional time series forecasting 使用transformer架构实现多维时间预测

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Multidimensional-time-series-with-transformer

Transformer/self-attention for Multidimensional time series forecasting 使用transformer架构实现多维时间预测

Rerfer to https://github.com/oliverguhr/transformer-time-series-prediction

Requirement

torch 1.7.0

python 3.7

matplotlib 3.4.1

numpy 1.20.2

Dataset

After downloading data from https://archive.ics.uci.edu/ml/datasets/ElectricityLoadDiagrams20112014, I convert it into .xlsx file

This is the .xlsx file (source: 'https://pan.baidu.com/s/1gyN37cM_ZI2i7OOaiaQ-_g' password: 4iu4)

You can also download by this link:https://docs.google.com/spreadsheets/d/1P8nIB2Ugd9AMcGlAPu3lD2yh2eAyJVh3/edit?usp=drive_link&ouid=102877252444231070619&rtpof=true&sd=true or https://drive.google.com/file/d/13FyJqP_MVVHzqQ3G0egpglelO0G-dsEa/view?usp=drive_link

image

And in my code, I select 10 dims time series for modeling

Some result

image

image

image

知乎

https://zhuanlan.zhihu.com/p/390193679

Star 历史

Star History Chart

About

transformer/self-attention for Multidimensional time series forecasting 使用transformer架构实现多维时间预测

License:MIT License


Languages

Language:Jupyter Notebook 100.0%