| Literature DB >> 36187499 |
Yar Muhammad1, Moteeb Almoteri2, Hana Mujlid3, Abdulrhman Alharbi4, Fahad Alqurashi5, Ashit Kumar Dutta6, Sultan Almotairi7,8, Hamad Almohamedh9.
Abstract
Healthcare occupies a central role in sustainable societies and has an undeniable impact on the well-being of individuals. However, over the years, various diseases have adversely affected the growth and sustainability of these societies. Among them, heart disease is escalating rapidly in both economically settled and undeveloped nations and leads to fatalities around the globe. To reduce the death ratio caused by this disease, there is a need for a framework to continuously monitor a patient's heart status, essentially doing early detection and prediction of heart disease. This paper proposes a scalable Machine Learning (ML) and Internet of Things-(IoT-) based three-layer architecture to store and process a large amount of clinical data continuously, which is needed for the early detection and monitoring of heart disease. Layer 1 of the proposed framework is used to collect data from IoT wearable/implanted smart sensor nodes, which includes various physiological measures that have significant impact on the deterioration of heart status. Layer 2 stores and processes the patient data on a local web server using various ML classification algorithms. Finally, Layer 3 is used to store the critical data of patients on the cloud. The doctor and other caregivers can access the patient health conditions via an android application, provide services to the patient, and inhibit him/her from further damage. Various performance evaluation measures such as accuracy, sensitivity, specificity, F1-measure, MCC-score, and ROC curve are used to check the efficiency of our proposed IoT-based heart disease prediction framework. It is anticipated that this system will assist the healthcare sector and the doctors in diagnosing heart patients in the initial phases.Entities:
Mesh:
Year: 2022 PMID: 36187499 PMCID: PMC9519282 DOI: 10.1155/2022/3372296
Source DB: PubMed Journal: Biomed Res Int Impact factor: 3.246
Figure 1Proposed IoT and ML based Architecture.
Figure 2Data assistant interface of Layer 1.
Figure 3Workflow of the IoT and ML-based healthcare framework.
Figure 4Dataflow diagram of the proposed IoT and ML-based healthcare framework.
Confusion Matrix.
| Predicted (-) | Predicted (+) | |
|---|---|---|
| Actual (-) | TN | FP |
| Actual (+) | FN | TP |
Performance of all classification models.
| Classifier | Accuracy | Specificity | Sensitivity | Recall | Precision | AUC | F1 | MCC |
|---|---|---|---|---|---|---|---|---|
| MLP | 84.96 | 80.76 | 88.97 | 88.99 | 83.02 | 91.79 | 0.86 | 0.70 |
| LR ( | 84.77 | 78.75 | 90.49 | 90.62 | 81.90 | 92.32 | 0.85 | 0.70 |
| KNN ( | 96.09 | 95.99 | 96.19 | 96.34 | 96.28 | 99.09 | 0.96 | 0.92 |
| DT | 86.82 | 83.76 | 89.73 | 89.89 | 85.40 | 91.89 | 0.87 | 0.74 |
| AB | 92.09 | 92.38 | 91.82 | 91.89 | 92.84 | 97.92 | 0.92 | 0.84 |
| RF | 95.70 | 96.19 | 96.20 | 96.24 | 95.20 | 99.28 | 0.96 | 0.92 |
| SVM (kernel = linear, | 84.19 | 75.95 | 92.01 | 92.09 | 80.27 | 91.46 | 0.86 | 0.69 |
| SVM (kernel = rbf, | 93.94 | 94.18 | 93.72 | 93.79 | 94.59 | 97.96 | 0.94 | 0.88 |
| NB (Gaussian) | 82.33 | 78.15 | 86.30 | 86.49 | 80.98 | 90.70 | 0.84 | 0.65 |
Figure 5Accuracy, sensitivity, and specificity results of all classifiers.
Figure 6Precision, recall, and AUC results of all classifiers.
Figure 7F1 and MCC-score results of all classifiers.
Figure 8ROC curve results of all classifiers.
Performance of KNN classification model at K (k = 3 to10).
| KNN (model) | Accuracy | Sensitivity | Specificity |
|---|---|---|---|
|
| 96.09 | 96.19 | 96.09 |
|
| 85.16 | 74.90 | 95.99 |
|
| 76.87 | 75.09 | 78.75 |
|
| 78.73 | 70.34 | 87.57 |
|
| 75.70 | 76.99 | 74.34 |
|
| 74.92 | 73.38 | 76.55 |
|
| 78.14 | 80.98 | 75.15 |
|
| 76.67 | 74.14 | 79.35 |
Figure 9Performance of KNN at K (K = 3 to 10).
Chi-square and p-value of all the classification models.
| Classification model | Chi-square value |
|
|---|---|---|
| MLP | 149.6790 | <0.00001 |
| DT | 196.9749 | <0.00001 |
| KNN ( | 222.0388 | <0.00001 |
| DT | 155.5049 | <0.00001 |
| AB | 209.8046 | <0.00001 |
| RF | 216.2733 | <0.00001 |
| SVM (linear) | 143.9837 | <0.00001 |
| SVM (RBF) | 190.1793 | <0.00001 |
| NB | 133.2140 | <0.00001 |
Comparison of different research studies.
| Research work | Method | Accuracy |
|---|---|---|
| Reference [ | Hybrid system framework | 87.05 |
| Reference [ | HRFLM | 88.82 |
| Reference [ | Three-tier IoT architecture | 89.98 |
| Reference [ | HealthFog | 90.94 |
| Reference [ | Stacked SVM approach | 92.32 |
| Reference [ | Intelligent computational framework | 94.41 |
| Proposed system | ML-enabled IoT framework | 96.09 |