This is the companion repository for our paper titled "Data Augmentation for Time Series Classification with Deep Learning models". This paper has been accepted in the workshop AALTD22@ECML22 (Spt 19-23, 2022).
All our experiments were performed on the widely used time series classification benchmark UCR/UEA archive. We used the latest version (2018) which contains 128 datasets. The UCR archive is necessary to run the code.
All experiments were performed using the time series classifier InceptionTime from the paper InceptionTime: Finding AlexNet for Time Series Classification. The companion Github repository is located here. InceptionTime's weight are necessary to run the code.
The code runs using Python 3.7. You will need to install the packages present in the requirements.txt file.
pip install -r requirements.txt
The code is divided as follows:
-
The main.py python file contains the necessary code to run the experiments.
-
The models folder contains the implementation of Inception and InceptionTime.
-
The data_aug folder contains the implementation of the data augmentation methods.
-
The data folder contains everything needed to load the UCR archive.
-
The utils folder contains constants used troughout the code.
You should consider changing the constants file. It contains the path of the UCR Archive and the folder where the outputs are generated.
This work is not published yet.
This work was funded by ArtIC project ”Artificial Intelligence for Care” (grant ANR-20-THIA-0006-01) and co-funded by Région Grand Est, Inria Nancy - Grand Est, IHU of Strasbourg, University of Strasbourg and University of Haute- Alsace.
The authors would like to thank the providers of the UCR archive as well as the Mésocentre of Strasbourg for providing access to the GPU cluster.