Transformer and Raman spectroscopy enable a new detection method for COVID-19
Dataset: You need to manually complete the following operations. Create a new "data" folder under the project folder. Download the "Raman spectroscopy for detecting covid-19" data set from Kaggle and unzip it to the "data" folder. Dataset URL:https://www.kaggle.com/datasets/sfran96/raman-spectroscopy-for-detecting-covid19
Steps: Run classification_Transformer.py. Some results can be seen in the “result” folder which is generated by script.
Environment: Python 3.7,requirements.txt
Reference: [1] Yin, Gang; Li, Lintao; Lu, Shun; Yin, Yu; Su, Yuanzhang; Zeng, Yilan; et al. (2020): Data and code on serum Raman spectroscopy as an efficient primary screening of coronavirus disease in 2019 (COVID-19). figshare. Dataset. https://doi.org/10.6084/m9.figshare.12159924.v1
[2] https://keras.io/examples/timeseries/timeseries_classification_transformer/