Self-supervised Autoregressive Domain Adaptation for Time Series Data (SLARDA) [Paper]
- Python3.x
- Pytorch==1.7
- Numpy
- Sklearn
- Pandas
- mat4py (for Fault diagnosis preprocessing)
- MFD: https://mb.uni-paderborn.de/en/kat/main-research/datacenter/bearing-datacenter/data-sets-and-download
- HAR: https://archive.ics.uci.edu/ml/datasets/OPPORTUNITY+Activity+Recognitio
- SSC:https://sleepdata.org/datasets/shhs, https://physionet.org/content/sleep-edf/1.0.0/
1- Add the data files in the following format:
- Each domain splitted to train, val, test files
- name the domains using small letters, i.e., a, b, c,...
- Each sample has the following dict format:
- samples = data['samples']
- labels = data['labels']
1- from args: - Select the domain adaptation method as 'SLARDA' - Select your target dataset: Paderborn_FD, HAR, EEG - Select the corresponding based model: CNN_SL_bn, CNN_Opp_HAR_SL, EEG_M_SL
2- Run 'train_CD.py' script
If you found this work useful for you, please consider citing it.
@article{amda_tim,
author={Ragab, Mohamed and Eldele, Emadeldeen and Chen, Zhenghua and Wu, Min and Li, Haoliang and Kwoh, Chee-Keong and Li, Xiaoli},
journal={IEEE Transactions on Neural Networks and Learning Systems},
title={Self-supervised Autoregressive Domain Adaptation for Time Series Data},
year={2022},
volume={},
number={},
pages={},
doi={}}
For any issues/questions regarding the paper or reproducing the results, please contact me.
Mohamed Ragab
School of Computer Science and Engineering (SCSE),
Nanyang Technological University (NTU), Singapore.
Email: mohamedr002{at}e.ntu.edu.sg