FilterTS
May 11, 2025 ยท View on GitHub
The code for FilterTS: Comprehensive Frequency Filtering for Multivariate Time Series Forecasting

Get Started
Installation
Please install the corresponding version of PyTorch via the official PyTorch website, then follow these steps to set up your environment.
pip install -r requirements.txt
Download the Dataset
Download the dataset from the following link and place it in the ./dataset/ directory.
(Please note, this dataset download link is provided by the author of iTransformer and is not associated with any author's address)
Training Scripts
Run the shell script in the ./scripts folder, using the following command, for example:
sh ./scripts/FilterTS_electricity.sh
Main Experimental Results

FilterTS demonstrates superior accuracy across eight multivariate long-term time series forecasting datasets compared to current state-of-the-art models in most cases.
Note on the drop_last Setting
During a recent code review we discovered that an unintended drop_last=True option was left active in the dataloader. Below are the results obtained after rerunning all experiments with drop_last=False. Across the majority of settings the differences are negligible, confirming that the original conclusions remain valid.