thuml / iTransformer

Official implementation for "iTransformer: Inverted Transformers Are Effective for Time Series Forecasting" (ICLR 2024 Spotlight), https://openreview.net/forum?id=JePfAI8fah
https://arxiv.org/abs/2310.06625
MIT License
1.14k stars 196 forks source link

How can i predict multivariate with multivariate #99

Open TomKoester opened 2 months ago

TomKoester commented 2 months ago

Hey,

How can i predict multivariate with multivariate? Where do i have to add the Targetfeatures in which format? The reason im asking is the flag --target. In the description it says: "target feature in S or MS task". Now we have M task. How does the program know what my target features in my data are?

WenWeiTHU commented 2 months ago

Hi, please take a look at the relevant issue

TomKoester commented 2 months ago

okay, i understand that i have to use flagbits to mark my target variables, right? Can you give me an short example how to use it? @WenWeiTHU

my data has the following format: Timestamp Feature 1 ... Feature X Target 1 .. Target X

its pretty similar to your weather dataset but instead of one target feature ( OT ) i need multiple Can you give me a short example how the iTransformer knows what columns the Targetfeatures are?