GithubHelp home page GithubHelp logo

Comments (4)

namctin avatar namctin commented on July 21, 2024

Hi @HasnainKhanNiazi , thanks for your interest in our paper! The concatenation is for concatenating the history with the predicted values. This is used in Informer, FEDformer and other. But with patchTST, we do not need to do so. You can safely comment out these lines when running our model. For prediction with one single target, you can also follow the script: https://github.com/yuqinie98/PatchTST/blob/main/PatchTST_self_supervised/patchtst_supervised.py where the head_type='regression'.

from patchtst.

HasnainKhanNiazi avatar HasnainKhanNiazi commented on July 21, 2024

Hey, @namctin thanks for your kind reply, I just want to make sure that all the experiments that you did in the paper, those experiments were not in auto-regressive fashion where the target itself was being given in the inputs, and then while making a prediction you are just adding zeros in targets? I was exploring the code of Informer and this is what I came to know and you are also using the base implementation from Informer so please let me know if the target was also present in training or not. Thanks

from patchtst.

namctin avatar namctin commented on July 21, 2024

@HasnainKhanNiazi You are correct, since we are not using the encoder+decoder architecture as in Informer but instead only considering decoder, we can't not use the same input/target structure. In our case, (input, target) is simple (x_{1:t}, x_{t+1:t+L}). Hope that is clear.

from patchtst.

HasnainKhanNiazi avatar HasnainKhanNiazi commented on July 21, 2024

@namctin Yes, that makes sense. Thanks for clearing the confusion. :)

from patchtst.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.