KimMeen / Time-LLM

[ICLR 2024] Official implementation of " 🦙 Time-LLM: Time Series Forecasting by Reprogramming Large Language Models"
https://arxiv.org/abs/2310.01728
Apache License 2.0
1.28k stars 221 forks source link

question about Multivariate data to predict Univariate (MS) #85

Closed smailyassine-oa closed 4 months ago

smailyassine-oa commented 4 months ago

Thank you for your great work, I have a question about the data loader what should be modified to make it work for MS, because keeping everything as it is it gives predictions for all the variables not only the target variable I am interested in, thus for predictions array I get a concatenated array for all variables, so I get the following plot :

Screenshot 2024-05-15 at 17 01 12

what changes should I make then?

kwuking commented 4 months ago

Hi, that's indeed a good question. Currently, we use channel-independent techniques that split multivariate datasets into univariate predictions. If you only need to predict multivariate datasets without exploring the relationships between them, you can directly use our method. For insights into exploring relationships within multivariate datasets, you can refer to our work titled "ITransformer: Inverted Transformers Are Effective For Time Series Forecasting."