Comments (3)
It is the attention scores from the trained model by passing an input multivariate series and then visualized, which is formulated as follows:
![图片](https://private-user-images.githubusercontent.com/39073236/296674056-bd745f48-ec2a-4bb1-b11c-96d6064908ae.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTY3OTE0MjYsIm5iZiI6MTcxNjc5MTEyNiwicGF0aCI6Ii8zOTA3MzIzNi8yOTY2NzQwNTYtYmQ3NDVmNDgtZWMyYS00YmIxLWIxMWMtOTZkNjA2NDkwOGFlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA1MjclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNTI3VDA2MjUyNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPThiMGQ0MjBmOThmOWFiNDZmYzJmZTAwZWJiZTE2YmEzYjdkMGQxYjcxY2QwMDZkZTI4Nzc2YjZkYTFiNTY0MzUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.Ke_T8jbZUcWnBsGCSA7wBkQh7E8mXfIDWg_Rza5D-_M)
from itransformer.
Thank you for your answer. How should I call the A matrix in FullAttention? Could you give me a code example
from itransformer.
https://github.com/thuml/iTransformer/blob/main/layers/SelfAttention_Family.py#L147
from itransformer.
Related Issues (20)
- ValueError: could not convert string to float: '2020-01-01 00:20:00' HOT 1
- Error when using a Custom dataset with weekly frequency HOT 1
- Question: Support for Dynamic Categorical Inputs in iTransformer HOT 4
- 无法重现论文中的结果 HOT 3
- How to visualize the results? HOT 5
- Can't reproduce the result of PEMS03_96_96 task HOT 5
- Why not using Decoder-only Transformer?
- How to get the figures in the paper? HOT 1
- How to visualize the results? HOT 1
- 如何获得更优的模型参数 HOT 4
- './scripts/variate_generalization/Electricity/iTransformer.sh': No such file or directory HOT 1
- seq_len取值小于48时,代码无法运行 HOT 1
- 请问在M任务中如何指定预测目标。 HOT 1
- Here, are the following two lines redundant? batch_x = batch_x[:, :, partial_start:partial_end] batch_y = batch_y[:, :, partial_start:partial_end] HOT 1
- 有关使用或不使用.sh 文件的训练时间和内存使用率的问题 HOT 1
- CLS Token HOT 1
- Fine-tuning? HOT 1
- 位置编码 HOT 2
- data_loader.py文件的疑问 HOT 2
- 关于label_len参数的疑问 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from itransformer.