Abstract

Abstract Funding Acknowledgements Type of funding sources: None. Introduction The diagnostic capacity of convolutional neural networks has demonstrated its potential for the diagnosis of different ECG alterations. An important limitation of these networks is that there are classes that are underrepresented in the population, such as the Brugada pattern compared to right bundle branch block or Atrial Flutter (AFL) compared to atrial fibrillation (AF). This asymmetry that exists in any population ECG database is one of the limitations (F1-Score) that could be improved, either with even larger databases (impractical) or by creating synthetic representations of the ECG. Purpose Using a tool that allows the drawing of specific electrocardiographic patterns first and subsequently, the random creation of different ECGs based on said pattern, the diagnostic capacity of any unbalanced convolutional network could be improved. Methods Initially, a database with 95,000 ECGs from our health area was used. From this data set, 5,810 ECGs were taken that were labeled in three classes (1) Sinus Rhythm (SR), 2) AF and 3) AFL by two arrythmologists, 4,637 for training and 1,173 for validation. It was observed that the network was unbalanced (SR: 81.3% of the total, FA: 16.4% of the total and AFL: 2.2% of the total). After having demonstrated the good capacity of the network for the diagnosis of these three atrial rhythms, it was observed that the diagnostic dispersion matrix erred precisely between the ECGs of AF and AFL (figure 1). Based on this idea, it was decided to create a random pattern-based ECG creation tool. Different atrial flutter patterns were created and 2000 ECGs were synthetically created with variations of the ECG frequency, voltages and morphology. A new neural network was subsequently trained with the addition of these ECGs to the original database and its diagnostic capacity was evaluated on the same initial validation set. Results The new network showed a 88,3% sensitivity (vs 82,6%), a 100% specificity (vs 98,5%) and an 92% (vs 87,8%) accuracy. It specially had an improvement in AFL ECGs (70,2% vs 61%) and minor improvements in AF ECGs (90,8% vs 89,4%) and SRs ECGs (100% vs 98,6%) accuracy. Conclusions The creation of synthetic ECGs to improve the diagnostic capacity of neural networks for infrequent events is feasible. This application allows the development of networks applicable in real life, in this case, for the diagnosis of atrial arrhythmias.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call