Background: Deep learning (DL) has shown promising results in improving atrial fibrillation (AF) detection algorithms. However, these models are often criticized because of their "black box" nature. Aim: To develop a morphology based DL model to discriminate AF from sinus rhythm (SR), and to visualize which parts of the ECG are used by the model to derive to the right classification. Methods: We pre-processed raw data of 1469 ECGs in AF or SR, of patients with a history AF. Input data was generated by normalizing all single cycles (SC) of one ECG lead to SC-ECG samples by 1) centralizing the R wave or 2) scaling from R-to-R wave. Different DL models were trained by splitting the data in a training, validation and test set. By using a DL based heat mapping technique we visualized those areas of the ECG used by the classifier to come to the correct classification.Results: The DL model with the best performance was a feedforward neural network trained by SC-ECG samples on a R-to-R wave basis of lead II, resulting in an accuracy of 0.96 and F1-score of 0.94. The onset of the QRS complex proved to be the most relevant area for the model to discriminate AF from SR.
Conclusion:The morphology based DL model developed in this study was able to discriminate AF from SR with a very high accuracy. DL model visualization may help clinicians gain insights into which (unrecognized) ECG features are most sensitive to discriminate AF from SR.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.