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.25k stars 218 forks source link

I have a few questions regarding some parameters. #118

Closed kujhin closed 1 month ago

kujhin commented 2 months ago

These might be basic questions, but I'm not very experienced yet, so I apologize for any misunderstandings.

Features: If I set features to M, does that mean it's performing multivariate prediction without a specific target, predicting all variables?

Moving_avg: How is the moving_avg parameter used?

Target_root_path vs. Root_path: What is the difference between target_root_path and root_path?

X-axis in the Output Graph: Why does the x-axis in the output graph have 196 units?

bigdata0 commented 1 month ago

1.Yes. 2.The parameter 'moving-avg' comes from the paper 'Autoformer'. As Autoformer was integrated into the Time series Library project, this parameter was added to integrate iTransformer into the TSLib project. In fact, this parameter has never been used in iTransformer. 3. image The root path is the directory where the dataset exists, and data_path is the file name. 4.I'm not sure what you're referring to. If you meant inputting 96 steps to predict the next 96 steps, the visualization should include the first 96 steps in the chart. You only need to focus on the fitting effect for the 96 steps starting from the 96th step.