This document proposes a system to detect heart failure using deep learning techniques. The system uses a boosted decision tree to initially detect the probability that a patient is prone to heart failure. If the probability is over 50%, the patient's ECG recordings are passed to a convolutional neural network (CNN) for more accurate detection of heart failure. The CNN is trained on a dataset of 60,000 ECG recordings. The system also aims to detect the subtype of heart failure using an SVM algorithm trained on data distinguishing systolic vs diastolic heart failure. The overall goal is to accurately detect heart failure at early stages to improve outcomes.