Comments (4)
Since S does not necessarily devide L-P, there could be unused values if we do not pad additional values. Padding S repeated numbers is the same as padding the sequence to the cloest number divisble by S since patch_num
is only increased by 1 and is used to segment the patches via torch.unfold
later on.
from patchtst.
Thanks @David-Ttao for asking and @linfeng-du for reply! The reason is that almost all the points are used twice in overlapped patching setting, but the last few points, which in principle are the most important, would be only used once if we do not pad it.
from patchtst.
Since S does not necessarily devide L-P, there could be unused values if we do not pad additional values. Padding S repeated numbers is the same as padding the sequence to the cloest number divisble by S since
patch_num
is only increased by 1 and is used to segment the patches viatorch.unfold
later on.
thx for your response, i have understanded it
from patchtst.
Thanks @David-Ttao for asking and @linfeng-du for reply! The reason is that almost all the points are used twice in overlapped patching setting, but the last few points, which in principle are the most important, would be only used once if we do not pad it.
thx for your response, i have understanded it!!
from patchtst.
Related Issues (20)
- Obtain the MSE of each variable when i do the "M" prediction
- 请问用到了GPU加速吗 HOT 5
- how to use learner.distributed(), in self supervised pretrain code ?
- How does the visualization of Attention Weights organize the code? HOT 2
- scale
- RevIN and StandardScaler HOT 15
- Multivariate Time Series Classification HOT 6
- .
- Error during installation ”Could not find a version that satisfies the requirement numpy==1.21.3“,but the actual version is now 1.26.4
- Performance about self-supervised learning
- Can this model fit unbalanced panel data(more than one individual)?
- 请问论文中的注意力矩阵在代码里怎么输出
- Multivariate predict univariate HOT 1
- Stock Price Forecasting using PatchTST model HOT 3
- Pretrained Models in Huggingface Repository
- Question about not applying inverse_transform HOT 2
- Question about Table 9.
- outputs和batch_y 序列长度问题
- question about attention layer shared weight
- RuntimeError: required rank 4 tensor to use channels_last format
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 patchtst.