| Literature DB >> 33614390 |
L J Muhammad1, Ebrahem A Algehyne2.
Abstract
Expert system is an artificial intelligence based system that imitates the decision making ability of human and it is used as the diagnostic tool for many diseases including diabetes mellitus, COVID-19, cancers, coronary artery disease (CAD), among other diseases. Even though CAD is globally one of the deadliest diseases and it is not well known in Nigeria, it causes many deaths as such in 2014, 53,836 or 2.82% of total deaths in Nigeria resulted from the CAD. In this study, fuzzy based expert system for diagnosis of CAD is developed in order to provide the complementary diagnostic tools for diagnosis of CAD's patients in Nigeria. The improved C4.5 data mining algorithm is used to transfer the knowledge of human expert to the knowledge base on the expert system instead of using conventional techniques such as interviews, questionnaires, etc. Taken together, the performance evaluation system was carried out, and the system has an overall accuracy, sensitivity and specificity of 94.55%, 95.35% and 95.00% respectively; which show that, the system is reliable and capable of diagnosing both negative and positive cases of CAD patients efficiently. © IUPESM and Springer-Verlag GmbH Germany, part of Springer Nature 2021.Entities:
Keywords: CAD; Data mining; Dataset; Expert system; Fuzzy logic
Year: 2021 PMID: 33614390 PMCID: PMC7882232 DOI: 10.1007/s12553-021-00531-z
Source DB: PubMed Journal: Health Technol (Berl) ISSN: 2190-7196
Fig. 1Methodology of the study
Description the Attributes of the dataset
| SN | Attribute (Risk factor) | Units | Range | Data Type |
|---|---|---|---|---|
| 1 | Age | Years | 1 – 150 | Int |
| 2 | Blood Pressure | mmHg | 90 – 190 | Int |
| 3 | Glucose | mg/dL | 37 – 295 | Int |
| 4 | Cholesterol | mg/dL | 128 – 575 | Int |
| 5 | Triglyceride | mg/dL | 40 – 690 | Int |
| 6 | HDL | mg/dL | 10.6 – 73 | Float |
| 7 | LDL | mg/dL | 10 – 220 | Int |
| 8 | Creatinine | mg/dL | 0.6 – 3.3 | Float |
| 9 | Body mass index | kg/m2 | 20.28 – 40.25 | Float |
| 10 | Heart rate | Bpm | 42 – 124 | Int |
| 11 | Chest pain | Typical Angina (4), Atypical Angina(3), Non- Anginal pain(2), Asymptomatic (1) | 1 – 4 | categorical |
| 12 | Diagnosis of CAD | Positive (1), Negative (2) | 0,1 | Categorical |
mmHg stands for millimeters of mercury, mg/dL stands for milligrams per deciliter, kg/m stands for Kilogram-Meter Squared, Bpm stands for beats per minute and int stands for integer.
Performance Evaluation Result
| SN | (Algorithm) | Accuracy |
|---|---|---|
| 1 | C4.5 | 83.99% |
| 2 | Random Tree | 82.81% |
| 3 | Improved C4.5 | 86.56% |
Sample of Diagnostic Crisp Rules
| Rule No | Diagnostic crisp rules |
|---|---|
| R1 | IF (HeartRate < 99.5 bpm and BP < 152.5 mmHg and Triglyceride < 315.5 mg/dL and Creatinine < 0.15 mg/dL and Age < 47) THEN Negative |
| R2 | IF (HeartRate < 99.5 bpm and BP < 152.5 mmHg and Triglyceride < 315.5 mg/dL and Creatinine < 0.15 mg/dL and Age > 47) THEN Positive |
| R3 | IF (HeartRate < 99.5 bpm and BP < 152.5 mmHg and Triglyceride > = 152.2 mg/dL and Creatinine < 2.85 mg/dL) THEN Negative |
| R4 | IF (HeartRate < 99.5 bpm and BP < 152.5 mmHg and Triglyceride > = 152.2 mg/dL and Creatinine = > 1.52 mg/dL and Chest pain = non_anginal) THEN Negative |
| R5 | IF (HeartRate < 99.5 bpm and BP < 152.5 mmHg and Triglyceride > = 152.2 mg/dL and Creatinine = > 2.2 mg/dL and Chest pain = asymt and BMI > = 19 kg/m2) THEN Negative |
| R6 | IF (HeartRate < 99.5 bpm and BP < 152.5 mmHg and Triglyceride > = 152.2 mg/dL and Creatinine = > 2.2 mg/dL and Chest pain = asymt and BMI > = 19 kg/m2 and age < 65) THEN Positive |
| R8 | IF (HeartRate < 99.5 bpm and BP < 152.5 mmHg and Triglyceride > = 152.2 mg/dL and Creatinine = > 2.2 mg/dL and Chest pain = atyp_angina and Glucose < 69.5 mg/dL) THEN Positive |
| R9 | IF (HeartRate < 99.5 mg/dl and BP < 152.5 mg/dl and Triglyceride > = 152.2 and Creatinine = > 2.1 and Chest pain = atyp_angina and Glucose > = 69.5) THEN Positive |
| R10 | IF (HeartRate < = 99.5 bpm and BP < 152.5 mmHg and Triglyceride > = 152.2 mg/dL and Creatinine < 2.1 mg/dL and Chest pain = atyp_angina and Glucose > = 69.5 mg/dL) THEN Negative |
Sample of Fuzzy Rules
| Rule No | fuzzy rules |
|---|---|
| R1 | IF (HR is High and Glucose is High and BP is Low and Trigylceride is Low and LDL is Low and Age is Old and Cholesterol is High) THEN Severe |
| R2 | IF (HR is High and Glucose is High and BP is Low and Trigylceride is Low and LDL is Low and Age is Old and Cholesterol is High) THEN Severe |
| R3 | IF (HR is High and Glucose is Normal and BP is Normal and Trigylceride is Normal and LDL is Normal Age is Young and Cholesterol is Normal) THEN Moderate |
| R4 | IF (HR is High and Glucose is High and BP is Low and Trigylceride is High) THEN Severe |
| R5 | IF (HR is High and Glucose is Normal and BP is Normal and Trigylceride is High) THEN Moderate |
| R6 | IF (HR is High and Glucose is High and BP is Low and Trigylceride is High and Cholesterol is Low) THEN Severe |
| R8 | IF (HR is High and Glucose is High and BP is Low and Trigylceride is High and Cholesterol is High and Age is Adult) THEN Mild |
| R9 | IF (HR is High and Glucose is Normal and BP is Normal and Trigylceride is High) THEN Moderate |
Fig. 2Membership functions of the linguistic variables age
Fig. 3Membership functions of the linguistic variables of chest pain
Fig. 4Membership functions of the linguistic variables of diagnosis
Fig. 5Knowledge base rules
Fig. 6GUI of System Inference with Mamdani technique
Fig. 7GUI of Rule Viewer
Fig. 8Surface Viewer
Checkup Result
| Class | Total number patients | No. of correct diagnosis | No. of wrong diagnosis |
|---|---|---|---|
| Healthy | 21 | 19 | 2 |
| Mild | 23 | 22 | 1 |
| Moderate | 31 | 30 | 1 |
| Severe | 25 | 22 | 1 |
| Total | 100 | 95 | 5 |
Performance Evaluation Result
| Accuracy | Specificity | Sensitivity |
|---|---|---|
| 94.55%, | 95.35% | 95.00% |
Fig. 9System Performance
Fig. 10Receiver Operating Characteristic Curve