Congestive Heart Failure Detection in ECG Using LSTM and CNN
摘要
Congestive Heart Failure (CHF) is a chronic condition in which the heart does not pump blood efficiently. This pathology causes fatigue, dyspnea, oedema, nausea, and memory problems, affecting patients’ quality of life. The causes include coronary artery disease, cardiomyopathy, arterial hypertension, and myocarditis. The diagnosis is usually based on the patient’s medical history, physical exams, echocardiogram, electrocardiogram, and other methods. Aiming to improve diagnostic tools, this study proposes an artificial intelligence model based on deep learning to classify pathological ECG signals indicative of CHF. The selected models were LSTM and CNN. The training was conducted using a personalised dataset created from the public databases BIDMC Congestive Heart Failure and PTB Diagnostic ECG from Physionet. ECG data from 28 individuals aged 22 to 71 were selected, including 14 with severe CHF (NYHA class 3 and 4) and 14 control samples without ECG abnormalities. The database architecture was designed so that the input to the neural networks was raw ECG signals without filtering or feature extraction. The results showed an accuracy of 98.21% for the CNN model and 92.26% for the LSTM model.