Giter Club home page Giter Club logo

Comments (3)

wuhaixu2016 avatar wuhaixu2016 commented on August 24, 2024

Hi, thanks for your interest!
(1) Our paper does not provide the benchmark for "Multivariate to Univariate". The paper only shows the "Multivariate to Multivariate" and "Univariate to Univariate". So, "reproduce" is suitable in this situation.

(2) The code about MS can be found in './exp/exp_main.py' line76, 146, 224. The operation for picking the last dimension variate is done outside the model. Thus, it is normal that the model output is [bs x ts x 7].

(3) If you want to save the extra parameter in the last projector. You can ref to the following steps:

  • change the --c_out to 1
  • add trend_init=trend_init[:,:,-1:] to line 83 of './models/Autoformer.py'

Hope this will be helpful to you~

from autoformer.

omerlux avatar omerlux commented on August 24, 2024

Thank you for your quick response!

With regards to the code mentioned in './exp/exp_main.py' - my issue was that you picked the last dimension only for the targets (batch_y) and not for the model's outputs, which means that the loss criteria is based on dimensions 1 and 7, respectively.

Additionally, I agree with your suggestion in './models/Autoformer.py' but one needs to keep in mind that the dimension picking on trend_init=trend_init[:,:,-1:] should be done while considering the addition of mean in line 84.

Thanks again,

from autoformer.

wuhaixu2016 avatar wuhaixu2016 commented on August 24, 2024

Cool! Thanks for your suggestion.
I have updated the code for MS in 7f9ce3c
Hope this is helpful to you.

from autoformer.

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.