SimTSC is a novel method for time series semi-supervised learning that uses a graph neural network classification model based on pairwise Dynamic Time Warping (DTW) distances. Despite its high accuracy, its quadratic complexity makes it suitable only for moderately-sized datasets. To overcome this limitation, we introduce a new method here. Instead of using the computationally intensive DTW, our model employs the LB_Keogh lower bound measurement to approximate time series (dis)similarity in linear time, preserving important proximity relationships. Experiments conducted on ten largest datasets from the UCR time series classification archive demonstrate that our model is up to 104x faster than SimTSC in graph construction, with minimal loss in classification accuracy.
We use UCR Time Series Classification Archive. You can download the full UCR datasets from [here].
pip install -r requirements.txt
python create_dataset.py --dataset [DATASET] --shot [SHOT] --seed [SEED]
python create_lb.py --dataset [DATASET]
python train.py --dataset [DATASET] --shot [SHOT]
@inproceedings{xi2024efficient,
title={Efficient and Accurate Similarity-Aware Graph Neural Network for Semi-supervised Time Series Classification},
author={Xi, Wenjie and Jain, Arnav and Zhang, Li and Lin, Jessica},
booktitle={Pacific-Asia Conference on Knowledge Discovery and Data Mining},
pages={276--287},
year={2024},
organization={Springer}
}