LSTM-based Autoencoder Anomaly Detection (LAAD) is primarily developed to detect abnormal resting heart rate (RHR) during the Coronavirus (SARS-CoV-2) infectious period. It uses heart rate and physical activity data from smartwatches like Fitbit, Apple and Garmin. Further, it splits data into training (baseline) and test based on the participant's self-reported symptom date and COVID-19 infectious period. It learns the structure of the baseline data for each user by reconstructing the temporal sequences and calculates a reconstruction error. Using this error it builds an anomaly threshold and detects if the RHR sequences in the test data are anomalous (abnormal) or not.
Link to the research paper - https://www.medrxiv.org/content/10.1101/2021.01.08.21249474v1
git clone https://github.com/gireeshkbogu/LAAD.git
cd LAAD
pip install -r dependencies.txt
python laad_covid19.py --heart_rate data/ASFODQR_hr.csv --steps data/ASFODQR_steps.csv --myphd_id ASFODQR --symptom_date 2024-08-14