Literature DB >> 28713507

Multi-arrhythmias detection with an XML rule-based system from 12-Lead Electrocardiogram.

Abdeldjalil Khelassi1, Sarra-Nassira Yelles-Chaouche2, Faiza Benais2.   

Abstract

BACKGROUND: The computer-aided detection of cardiac arrhythmias stills a crucial application in medical technologies. The rule based systems RBS ensure a high level of transparency and interpretability of the obtained results. AIM: To facilitate the diagnosis of the cardiologists and to reduce the uncertainty made in this diagnosis.
METHODS: In this research article, we have realized a classification and automatic recognition of cardiac arrhythmias, by using XML rules that represent the cardiologist knowledge. Thirteen experiments with different knowledge bases were realized for improving the performance of the used method in the detection of 13 cardiac arrhythmias. In the first 12 experiments, we have designed a specialized knowledge base for each cardiac arrhythmia, which contains just one arrhythmia detection rule. In the last experiment, we applied the knowledge base which contains rules of 12 arrhythmias. We used, for the experiments, an international data set with 279 features and 452 records characterizing 12 leads of ECG signal and social information of patients. The data sets were constructed and published at Bilkent University of Ankara, Turkey. In addition, the second version of the self-developed software "XMLRULE" was used; the software can infer more than one class and facilitate the interpretability of the obtained results.
RESULTS: The 12 first experiments give 82.80% of correct detection as the mean of all experiments, the results were between 19% and 100% with a low rate in just one experiment. The last experiment in which all arrhythmias are considered, the results of correct detection was 38.33% with 90.55% of sensibility and 46.24% of specificity. It was clearly show that in these results the good choice of the classification model is very beneficial in terms of performance. The obtained results were better than the published results with other computational methods for the mono class detection, but it was less in multi-class detection.
CONCLUSION: The RBS is the most transparent method for cardiac arrhythmias detection and multi arrhythmias detection. It improves an exceptional recognition of arrhythmias, but due to conflicts between rules, multi-arrhythmias and uncertainty of measures, the rate of correct classification was less than the other methods.

Entities:  

Keywords:  Cardiac Arrhythmias; Electrocardiogram ECG; Extensible Markup Language XML; Rule based system RBS

Year:  2017        PMID: 28713507      PMCID: PMC5498700          DOI: 10.19082/4357

Source DB:  PubMed          Journal:  Electron Physician        ISSN: 2008-5842


1. Introduction

In recent years, the automatic detection of the cardiac arrhythmias established a domain among which several works and studies were developed for the discrimination between normal rhythm and its irregularity (1–3). The Electrocardiogram ECG represents the mechanical activity of the heart (the contraction and the relaxation, Slackening). Also, it represents the main technical source of information used for cardiac diagnosis. The detection of multi-arrhythmias from physiological signal stills is a complex task and needs more achievements and progress. This is due to several reasons such as conflicts, uncertainty and the weaknesses of the developed approaches. The aim of this study is to detect automatically the cardiac arrhythmia from an important stream of data (social information and 12 ECG leads). In our study, we tried to finalize a classification with rules written in Extensible Markup Language XML by using the second version of the classifier XMLRULE. The classification was between twelve classes of cardiac arrhythmias adding to the normal case. This classification was for all classes, at the same time aiming to return the diagnosis more interpretable by an explicit system; our work allows bringing effective solutions to these types of problems. This classification uses 279 attributes extracted from twelve leads of the physiological signal ECG. The used data are extracted from a database published in UCI Machine Learning Repository (4) which contains patient’s record with multi-arrhythmias problem (1). The database was published by the International Turkish Datum and the researchers H. Altay Guvenir, Burak Acar, Haldun Muderrisoglu, from the department of the engineering of computing and the sciences of the information of the university, Ankara, Turkey (1). The general objective of this research was to present a transparent method for cardiac arrhythmia detection. The specific objectives were 1) to apply XML rules which offer interpretation of obtained results after detection, 2) to ameliorate the performance of detection, and 3) to compare the rule based system with the other applied methods

2. Material and Methods

2.1. Study design

In this study, we have developed an interpretable knowledge base presented on XML rules inferred by self-developed software “XMLRULE”. The process of our study was divided into several tasks: The first one consists of collecting the clinical data. The second one was to extract the maximum of the clinical information used by physicians to detect the arrhythmias. The third one was to define a rational model for representation of the extracted knowledge in a standardized language XML. The last one was to test the rational model by using the collected clinical data. A detailed explanation of the electrocardiogram was presented in (2, 3, 5). Also in Figure 1, we present an example of normal ECG from 6 leads.
Figure 1

An example of normal ECG from 6 leads.

2.2. Clinical data collection

The collected clinical data was constructed from a well-known dataset and published at UCI Machine Learning Repository (4), which belongs to Turk researchers H. Altay Guvenir, Burak Acar, Haldun Muderrisoglu, from the department of computer engineering and information sciences of the university in Ankara (1). The database contains 279 attributes including social information and ECG measures from all 12 leads. The used population contains 452 patients the date of data collection was not declared. Each record was diagnoses by cardiologists and the decision has been recorded in the database. Table 1 shows the defined arrhythmias recorded in the data base. Several artificial intelligence approaches are used for the automatic detection and published in (1), these results were reused for comparing our developed approach.
Table 1

The recorded classes in the database.

The classesArrhythmias
1Normal
2Ischemic changes (Coronary Artery Disease)
3Old Anterior Myocardial Infarction
4Old Inferior Myocardial Infarction
5Sinus tachycardia
6Sinus bradycardia
7Ventricular Premature Contraction (PVC)
8Supraventricular Premature Contraction (ESA)
9Left bundle branch block
10Right bundle branch block
14Left ventricular hypertrophy
15Atrial Fibrillation or Flutter
16Others

2.3. Rational model

Several published books and articles review the cardiology and cardiac arrhythmias (5–10). The ECG is still the most important source of clinical information in cardiology although there are several alternatives and additional sources such as genetics (5, 6, 8) and medical imaging (7, 8). The Electrocardiogram ECG (Figure 1) represents the electrophysiological signal generated by the heart. All physicians apply the same rules for arrhythmias detection. Table 2 describes the used rules by physicians collected from literature (9, 10).
Table 2

The used rules for arrhythmias diagnosis

ArrhythmiasRules
NormalP<110 ms, 60<hrate<100mn, 120<PR<200ms, 350<QT<390ms
Ischemic changes (Coronary Artery Disease)//
*COR (epicardial Lesion)S Wave<0, T Wave<0, T angle>180°
*COR (Endocardial lesions)S Wave>0, T Wave>0, T angle<180°
*COR (Ischemia epicardia)T Wave<0, T angle=270°
*COR (Endocardial Ischemia)T Wave>0, T angle=90°
Old Anterior Myocardial InfarctionQ>1.3 ms, S large>40 ms en V1, V2, V3, V4
Old Inferior Myocardial InfarctionQ>1.3 ms, S large>40 ms en D2, D3, AVF
Sinus tachycardiaP<110 ms, 120<PR<200ms, QRS<120 ms, hrate>100mn
Sinus bradycardia120<PR<200ms, QRS<120 ms, hrate<40mn
Ventricular Premature Contraction (PVC)P=0, PR>140ms, QRS<120 ms
Supra ventricular Premature Contraction (ESA)PR>120 ms, 60<QRS<100 ms
Left bundle branch blockT negative<0, QRS>120 ms
Right bundle branch blockQRS >0.12ms, onde T negative <0, SV6 large>50 ms
Left ventricular hypertrophyIndex of Socolow= Onde S at V1+ Onde R at V5 or V6>= 35mm, T wave negative, QRS>120ms
Atrial Fibrillation or FlutterR=0, 400<hrate<600mn, 100<QRS<150ms
OthersElsewhere
The used classifier, XMLRULE (Figure 2), is java self-developed software with five aims:
Figure 2

Second version of XMLRULE: the rule-based classifier

To facilitate the interaction between users and the knowledge base. To ensure inferring and verifying the results. It also allows personalization of the rules. Also, to make the connection by visualizing the obtained results and the used given base and this by editing rules in XML. It also allows classifying a base of datum which contains a large number of requests. The applied engine of rules is “JRuleEngine1.3 which uses the “Jsr94-1.1”. JRuleEngine is an engine of rules, which can also be considered as an “if/then” resolver based on production rules. The states “if/then” are interpreted and called rules. The parts” if” of rules contain the conditions. The parts “then” of rules contain actions, (Figure 3). Jsr94-1.1: “Java Specification Request “ developed by Java Community Process of program (JCP), defines an API of execution Java for the engines of rules by supplying a simple API to reach an engine of rules from a platform Java Standard Edition J2SE or a platform Java Enterprise Edition J2EE.
Figure 3

Sample of XML rules extracted from the knowledge base

3. Results

After thirteen experiments with different knowledge bases, and with the same test data sets presented in section 2.1, the obtained results are resumed in Table 3. We observed in the first experiment, when we handled a normal case, an acceptable rate of 56.66% from correct and a rate of 43.33% error. In the second experiment, we find the coronary diseases, 43% as rates of correct and 57% rate of error, which were the lowest accurate results. The rest of experiments, in which we presented every arrhythmias independently of the others, we noticed a very high rate of correct recognition: concerning certain cases of arrhythmia: Old anterior myocardial infarction, old inferior myocardial infarction, sinus tachycardia, sinus bradycardia, ventricular premature contraction (PVC), block of branch left, block of branch right, left ventricular hypertrophy, atrial fibrillation or flutter which have the following values respectively : 97%, 95%, 99%, 96.33%, 96.66%, 100%, 90%, 99%, 99% and a rate of 19% of correct and 81% of error concerning the supra-ventricular premature contraction (ESA). The mean rate of recognition in 12 first experiments was 82.80% of correct detection. It was between 19% and 100% with a low rate in just one experiment. In the last experiment which all rules recognized 13 arrhythmias, the rate of correct classification was decreased until 38.33% of correct and 54.66 % of error, and reached a rate of sensibility 90.55%, and a rate of specificity 46.24%.
Table 3

The rate of correct diagnosis and faults.

ClassesCorrects (%)Errors (%)
Normal56.6643.33
Ischemic changes (Coronary Artery Disease)4357
Old Anterior Myocardial Infarction973
Old Inferior Myocardial Infarction955
Sinus tachycardia991
Sinus bradycardia96.333.66
Ventricular Premature Contraction (PVC)99.660.33
Supraventricular Premature Contraction (ESA)1981
Left bundle branch block1000
Right bundle branch block9010
Left ventricular hypertrophy991
Arterial Fibrillation or Flutter991
all arrhythmias38.3354.66

4. Discussion

The results generated from ten experiments were very high and proved the accuracy of RBS. In these experiments, the detection of just one arrhythmia by the modeled cardiologist’s rules has ensured the top-quality diagnosis. In the rest of the experiments, 1) The normal case contains a very large number of rules which can be confused with other arrhythmias, also 2) experiments on ischemic changes and 3) ESA give a low rate of recognition. The above experiments demonstrate the significant source of conflicts which is due by normal, ischemic changes and ESA classes. The low rate of diagnosis in the global experiment is close to the mean, but it was less than the obtained in non-symbolic approaches (1). These weaknesses may have been due to the uncertainty of the values, missed data, or the conflict between rule symmetry of the parameters. In either case, the patient can generate several arrhythmias in parallel. As a related works (Table 4) VF15 is an algorithm of learning, overseen and inductive to lead the knowledge of classification from example. The representation of the knowledge is based on a technique called Intervals of Function, where a concept is represented by the projections of the cases of training on every function separately. Classification in VF15 is based on a majority voting among the predictions of class made by every option separately. The comparison of the algorithm of VF15 indicates a 62% rate and that it surpasses other standard algorithms such as Bayesian naïve Network which reached a rate of 50% and closest to classifiers Neighbors of a rate which reached 53 %, all results are published in (1).
Table 4

Comparison of the full rules experiments with published works.

AuthorsCC (%)SE (%)SP (%)The applied methodResults interpretation
This applicationRBS38.3390.5546,24XML rules based systemYes
- Burak Acar, Haldun Muderrisoglu and- H. Altay Guvenir (1)VF1562////Supervised and inductive learning algorithmNo
NBN50////Supervised and probabilistic learning algorithm
NN53////Similarity based learning algorithm

5. Conclusions

Cardiac diseases represent the first cause of death in the world. Several works were dedicated to decreasing cardiac risk. In this study, we were initially interested in the detection of the cardiac arrhythmias by implementing a system with rules in XML with the values collected from an electrocardiogram (ECG). Our finding in this study achieves to the influence of conflicts in the detection of multi-arrhythmias. It demonstrates also that the symbolic methods (rule based systems), through a graphical interface give a good classification, and the obtained results are clearer and transparent and more interpretable with regard to the non-symbolic methods.
  2 in total

1.  The year in cardiology 2016: imaging.

Authors:  Victoria Delgado; Oliver Gaemperli; Massimo Lombardi; Philipp A Kaufmann; Jeroen J Bax
Journal:  Eur Heart J       Date:  2017-02-07       Impact factor: 29.983

2.  Genetics of CHD in 2016: Common and rare genetic variants and risk of CHD.

Authors:  Daniel I Swerdlow; Steve E Humphries
Journal:  Nat Rev Cardiol       Date:  2017-01-05       Impact factor: 32.419

  2 in total

北京卡尤迪生物科技股份有限公司 © 2022-2023.