The implementation of this transformer is based on this paper: Ma, Yongpei, et al. "TSD: Transformers for Seizure Detection." bioRxiv (2023): 2023-01.
you can compile epilepsyTransformer.c and transformer_C. Also, add this repository to the main folder: https://github.com/stg/SYLT-FFT/tree/master
you can compile epilepsyTransformer.cpp and transformer_layers. Also, add this repository to the main folder: https://github.com/stg/SYLT-FFT/tree/master
If you have used these codes in your academic articles, we appreciate it if you cite the following paper:
Amirshahi, A., Dan, J., Miranda Calero, J. A., Aminifar, A., & Atienza Alonso, D. (2024).
FETCH: A Fast and Efficient Technique for Channel Selection in EEG Wearable Systems. In Conference on Health, Inference, and Learning (CHIL).```