Diagnosis of Obstructive Sleep Apnea from ECG Signals Using Machine Learning and Deep Learning Classifiers
<p>Classical ECG Signal characteristics.</p> "> Figure 2
<p>Proposed method.</p> "> Figure 3
<p>Filtered ECG signalbased on IIR notch filter.</p> "> Figure 4
<p>Samples of ECG signals.</p> "> Figure 5
<p>Minimum classification error plot for DT* classifier.</p> "> Figure 6
<p>Performance of KNN* in terms of accuracy, AUC, and G-mean measures.</p> "> Figure 7
<p>Performance of Ensemble DT* in terms of accuracy, AUC, and G-mean measures.</p> "> Figure 8
<p>Ensemble vs. KNN.</p> "> Figure 9
<p>Comparison between KNN* and ensemble DT* based on the best oversampling ratios.</p> "> Figure 10
<p>An example of a three layers CNN model.</p> ">
Abstract
:1. Introduction
2. Literature Review
3. Methodology
3.1. Preprocessing
3.2. Feature Extraction
- N = Number of windows.
- = Sampled time for each window.
- = Number of R peaks in each window.
- = the heart rate at R-R peak location.
- =
- PSD = Power Spectral Density
- PSD_n(f) =
3.3. Machine Learning Classifiers
4. Description of ECG Dataset
Challenges of Training Dataset
5. Experimental Results and Simulations
5.1. Experimental Setup
5.2. Evaluation of Classification Algorithms
5.3. Evaluation of ADASYN Technique
5.4. Impact of Feature Selection Technique
5.5. Validation Results
5.6. Evaluation of Deep Learning Approaches
6. Conclusions and Future Works
Author Contributions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Umbro, I.; Fabiani, V.; Fabiani, M.; Angelico, F.; Del Ben, M. A systematic review on the association between obstructive sleep apnea and chronic kidney disease. Sleep Med. Rev. 2020, 53, 101337. [Google Scholar] [CrossRef] [PubMed]
- Sharma, M.; Raval, M.; Acharya, U.R. A new approach to identify obstructive sleep apnea using an optimal orthogonal wavelet filter bank with ECG signals. Informatics Med. Unlocked 2019, 16, 100170. [Google Scholar] [CrossRef]
- Azimi, H.; Xi, P.; Bouchard, M.; Goubran, R.; Knoefel, F. Machine Learning-Based Automatic Detection of Central Sleep Apnea Events From a Pressure Sensitive Mat. IEEE Access 2020, 8, 173428–173439. [Google Scholar] [CrossRef]
- Tagluk, M.E.; Sezgin, N. Classification of sleep apnea through sub-band energy of abdominal effort signal using wavelets+ neural networks. J. Med Syst. 2010, 34, 1111–1119. [Google Scholar] [CrossRef] [PubMed]
- Koley, B.L.; Dey, D. Real-Time Adaptive Apnea and Hypopnea Event Detection Methodology for Portable Sleep Apnea Monitoring Devices. IEEE Trans. Biomed. Eng. 2013, 60, 3354–3363. [Google Scholar] [CrossRef]
- Thommandram, A.; Eklund, J.M.; McGregor, C. Detection of apnoea from respiratory time series data using clinically recognizable features and kNN classification. In Proceedings of the 2013 35th Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC), Osaka, Japan, 3–7 July 2013; pp. 5013–5016. [Google Scholar]
- Marcos, J.V.; Hornero, R.; Álvarez, D.; Del Campo, F.; Aboy, M. Automated detection of obstructive sleep apnoea syndrome from oxygen saturation recordings using linear discriminant analysis. Med Biol. Eng. Comput. 2010, 48, 895–902. [Google Scholar] [CrossRef] [PubMed]
- Kapur, V.K.; Auckley, D.H.; Chowdhuri, S.; Kuhlmann, D.C.; Mehra, R.; Ramar, K.; Harrod, C.G. Clinical practice guideline for diagnostic testing for adult obstructive sleep apnea: An American Academy of Sleep Medicine clinical practice guideline. J. Clin. Sleep Med. 2017, 13, 479–504. [Google Scholar] [CrossRef] [PubMed]
- Acharya, U.R.; Chua, E.C.P.; Faust, O.; Lim, T.C.; Lim, L.F.B. Automated detection of sleep apnea from electrocardiogram signals using nonlinear parameters. Physiol. Meas. 2011, 32, 287. [Google Scholar] [CrossRef] [PubMed]
- Bali, J.; Nandi, A.; Hiremath, P. Efficient ANN Algorithms for Sleep Apnea Detection Using Transform Methods. In Advancement of Machine Intelligence in Interactive Medical Image Analysis; Springer: New York, NY, USA, 2020; pp. 99–152. [Google Scholar]
- Hassan, A.R. Automatic screening of Obstructive Sleep Apnea from single-lead Electrocardiogram. In Proceedings of the 2015 International Conference on Electrical Engineering and Information Communication Technology (ICEEICT), Dhaka, Bangladesh, 21–23 May 2015; pp. 1–6. [Google Scholar]
- Faust, O.; Acharya, U.R.; Ng, E.; Fujita, H. A review of ECG-based diagnosis support systems for obstructive sleep apnea. J. Mech. Med. Biol. 2016, 16, 1640004. [Google Scholar] [CrossRef]
- Kaya, K.A.; Yilmaz, B. A new tool for QT interval analysis during sleep in healthy and obstructive sleep apnea subjects: A study on women. Turk. J. Electr. Eng. Comput. Sci. 2013, 21, 1504–1513. [Google Scholar] [CrossRef]
- Christensen, B. Normal Electrocardiography (ECG) Intervals [Online]. Medscape Hear. Drugs Dis. 2014, 20. Available online: http://emedicine.medscape.com/article/2172196-overview (accessed on 29 November 2020).
- Korkalainen, H. Deep Learning for Next-Generation Sleep Diagnostics: Sophisticated Computational Methods for More Efficient and Accurate Assessment of Sleep and Obstructive Sleep Apnea. Ph.D. Thesis, Itä-Suomen Yliopisto, Kuopio, Finland, 2020. [Google Scholar]
- Bsoul, M.; Minn, H.; Tamil, L. Apnea MedAssist: Real-time sleep apnea monitor using single-lead ECG. IEEE Trans. Inf. Technol. Biomed. 2010, 15, 416–427. [Google Scholar] [CrossRef] [PubMed] [Green Version]
- Ng, A.K.; San Koh, T.; Baey, E.; Lee, T.H.; Abeyratne, U.R.; Puvanendran, K. Could formant frequencies of snore signals be an alternative means for the diagnosis of obstructive sleep apnea? Sleep Med. 2008, 9, 894–898. [Google Scholar] [CrossRef] [PubMed]
- Oliver, N.; Flores-Mangas, F. Healthgear: Automatic sleep apnea detection and monitoring with a mobile phone. J. Commun. 2007, 2, 1–9. [Google Scholar] [CrossRef]
- Guilleminault, C.; Winkle, R.; Connolly, S.; Melvin, K.; Tilkian, A. Cyclical variation of the heart rate in sleep apnoea syndrome: Mechanisms, and usefulness of 24 h electrocardiography as a screening technique. Lancet 1984, 323, 126–131. [Google Scholar] [CrossRef]
- Xie, B.; Minn, H. Real-Time Sleep Apnea Detection by Classifier Combination. IEEE Trans. Inf. Technol. Biomed. 2012, 16, 469–477. [Google Scholar] [CrossRef] [PubMed] [Green Version]
- Rodrigues, J.F., Jr.; Pepin, J.L.; Goeuriot, L.; Amer-Yahia, S. An Extensive Investigation of Machine Learning Techniques for Sleep Apnea Screening. In Proceedings of the 29th ACM International Conference on Information & Knowledge Management, Galway, Ireland, 19–23 October 2020; pp. 2709–2716. [Google Scholar]
- Stein, P.K.; Duntley, S.P.; Domitrovich, P.P.; Nishith, P.; Carney, R.M. A simple method to identify sleep apnea using Holter recordings. J. Cardiovasc. Electrophysiol. 2003, 14, 467–473. [Google Scholar] [CrossRef]
- Maier, C.; Rodler, V.; Laguna, P.; Dickhaus, H. Dynamic analysis of multi lead ECG recordings for detection and categorization of respiratory events during sleep. In Proceedings of the 2007 Computers in Cardiology, Durham, NC, USA, 30 September–3 October 2007; pp. 493–496. [Google Scholar]
- Uznańska, B.; Trzos, E.; Rechciński, T.; Kasprzak, J.D.; Kurpesa, M. Repeatability of sleep apnea detection in 48-hour Holter ECG monitoring. Ann. Noninvasive Electrocardiol. 2010, 15, 218–222. [Google Scholar] [CrossRef]
- Sharma, H.; Sharma, K. An algorithm for sleep apnea detection from single-lead ECG using Hermite basis functions. Comput. Biol. Med. 2016, 77, 116–124. [Google Scholar] [CrossRef] [PubMed]
- Wang, T.; Lu, C.; Shen, G.; Hong, F. Sleep apnea detection from a single-lead ECG signal with automatic feature-extraction through a modified LeNet-5 convolutional neural network. PeerJ 2019, 7, e7731. [Google Scholar] [CrossRef]
- Mendonça, F.; Mostafa, S.S.; Ravelo-García, A.G.; Morgado-Dias, F.; Penzel, T. A Review of Obstructive Sleep Apnea Detection Approaches. IEEE J. Biomed. Health Inform. 2019, 23, 825–837. [Google Scholar] [CrossRef] [PubMed]
- Varon, C.; Caicedo, A.; Testelmans, D.; Buyse, B.; Van Huffel, S. A Novel Algorithm for the Automatic Detection of Sleep Apnea From Single-Lead ECG. IEEE Trans. Biomed. Eng. 2015, 62, 2269–2278. [Google Scholar] [CrossRef] [PubMed]
- Li, K.; Pan, W.; Li, Y.; Jiang, Q.; Liu, G. A method to detect sleep apnea based on deep neural network and hidden Markov model using single-lead ECG signal. Neurocomputing 2018, 294, 94–101. [Google Scholar] [CrossRef]
- Chang, H.Y.; Yeh, C.Y.; Lee, C.T.; Lin, C.C. A Sleep Apnea Detection System Based on a One-Dimensional Deep Convolution Neural Network Model Using Single-Lead Electrocardiogram. Sensors 2020, 20, 4157. [Google Scholar] [CrossRef]
- Biswas, U.; Maniruzzaman, M. Removing power line interference from ECG signal using adaptive filter and notch filter. In Proceedings of the 2014 International Conference on Electrical Engineering and Information Communication Technology, Dhaka, Bangladesh, 10–12 April 2014; pp. 1–4. [Google Scholar]
- Bai, Y.-W.; Chu, W.-Y.; Chen, C.-Y.; Lee, Y.-T.; Tsai, Y.-C.; Tsai, C.-H. Adjustable 60 Hz noise reduction by a notch filter for ECG signals. In Proceedings of the 21st IEEE Instrumentation and Measurement Technology Conference (IEEE Cat. No.04CH37510), Como, Italy, 18–20 May 2004; Volume 3, pp. 1706–1711. [Google Scholar]
- Surani, S.; Sheta, A.; Turabieh, H.; Park, J.; Mathur, S.; Katangur, A. Diagnosis of sleep apnea using artificial neural network and binary particle swarm optimization for feature selection. Chest 2019, 156, A136. [Google Scholar] [CrossRef]
- Ma, B.; Wu, Z.; Li, S.; Benton, R.; Li, D.; Huang, Y.; Kasukurthi, M.V.; Lin, J.; Borchert, G.M.; Tan, S.; et al. A SVM-Based Algorithm to Diagnose Sleep Apnea. In Proceedings of the 2019 IEEE International Conference on Bioinformatics and Biomedicine (BIBM), San Diego, CA, USA, 18–21 November 2019; pp. 1556–1560. [Google Scholar]
- Ellawala, N.; Thayaparan, S. Hardware Implementation of EEG Classifier Using LDA. In Proceedings of the 2019 2nd International Conference on Bioinformatics, Biotechnology and Biomedical Engineering (BioMIC)—Bioinformatics and Biomedical Engineering, Yogyakarta, Indonesia, 12–13 September 2019; Volume 1, pp. 1–5. [Google Scholar]
- Obtaining CinC Challenge 2000 Scores. 2020. Available online: https://archive.physionet.org/physiobank/database/apnea-ecg/ (accessed on 29 November 2020).
- Penzel, T.; Moody, G.B.; Mark, R.G.; Goldberger, A.L.; Peter, J.H. The apnea-ECG database. In Proceedings of the Computers in Cardiology 2000 (Cat. 00CH37163), Cambridge, MA, USA, 24–27 September 2000; pp. 255–258. [Google Scholar]
- Tumar, I.; Hassouneh, Y.; Turabieh, H.; Thaher, T. Enhanced Binary Moth Flame Optimization as a Feature Selection Algorithm to Predict Software Fault Prediction. IEEE Access 2020, 8, 8041–8055. [Google Scholar] [CrossRef]
- Thaher, T.; Arman, N. Efficient Multi-Swarm Binary Harris Hawks Optimization as a Feature Selection Approach for Software Fault Prediction. In Proceedings of the 2020 11th International Conference on Information and Communication Systems (ICICS), Irbid, Jordan, 7–9 April 2020; pp. 249–254. [Google Scholar]
- Thaher, T.; Mafarja, M.; Abdalhaq, B.; Chantar, H. Wrapper-based Feature Selection for Imbalanced Data using Binary Queuing Search Algorithm. In Proceedings of the 2019 2nd International Conference on new Trends in Computing Sciences (ICTCS), Amman, Jordan, 9–11 October 2019; pp. 1–6. [Google Scholar]
- Khoshgoftaar, T.; Van Hulse, J.; Napolitano, A. Comparing Boosting and Bagging Techniques With Noisy and Imbalanced Data. IEEE Trans. Syst. Man Cybern. Part A 2011, 41, 552–568. [Google Scholar] [CrossRef]
- Thaher, T.; Jayousi, R. Prediction of Student’s Academic Performance using Feedforward Neural Network Augmented with Stochastic Trainers. In Proceedings of the 2020 IEEE 14th International Conference on Application of Information and Communication Technologies (AICT), Tashkent, Uzbekistan, 7–9 October 2020; pp. 1–7. [Google Scholar]
- Wolpert, D.H. The Lack of A Priori Distinctions Between Learning Algorithms. Neural Comput. 1996, 8, 1341–1390. [Google Scholar] [CrossRef]
- Bowyer, K.W.; Chawla, N.V.; Hall, L.O.; Kegelmeyer, W.P. SMOTE: Synthetic Minority Over-sampling Technique. J. Artif. Intell. Res. 2011, 16, 321–357. [Google Scholar]
- He, H.; Bai, Y.; Garcia, E.A.; Li, S. ADASYN: Adaptive synthetic sampling approach for imbalanced learning. In Proceedings of the 2008 IEEE International Joint Conference on Neural Networks (IEEE World Congress on Computational Intelligence), Hong Kong, China, 1–6 June 2008; pp. 1322–1328. [Google Scholar]
- Palma-Mendoza, R.J.; Rodriguez, D.; De-Marcos, L. Distributed ReliefF-based feature selection in Spark. Knowl. Inf. Syst. 2018, 57, 1–20. [Google Scholar] [CrossRef] [Green Version]
- Lakhan, P.; Ditthapron, A.; Banluesombatkul, N.; Wilaiprasitporn, T. Deep Neural Networks with Weighted Averaged Overnight Airflow Features for Sleep Apnea-Hypopnea Severity Classification. In Proceedings of the 2018 IEEE Region 10 Conference, Jeju, Korea, 28–31 October 2018. [Google Scholar]
- Vattamthanam, S.; Mrudula, G.B.; Kumar, C.S. Sleep Apnea Classification Using Deep Neural Network. In Proceedings of the 2020 IEEE International Conference on Distributed Computing, VLSI, Electrical Circuits and Robotics (DISCOVER), Karnataka, India, 30–31 October 2020; pp. 133–136. [Google Scholar]
- Shen, F.; Cheng, S.; Zhu Li, K.Y.; Li, W.; Dai, L. Detection of Snore from OSAHS Patients Based on Deep Learning. J. Healthc. Eng. 2020, 20. [Google Scholar] [CrossRef]
- Alakus, T.B.; Turkoglu, I. Comparison of deep learning approaches to predict COVID-19 infection. Chaos Solitons Fractals 2020, 140, 110120. [Google Scholar] [CrossRef] [PubMed]
- Song, C.; Liu, K.; Zhang, X.; Chen, L.; Xian, X. An Obstructive Sleep Apnea Detection Approach Using a Discriminative Hidden Markov Model From ECG Signals. IEEE Trans. Biomed. Eng. 2016, 63, 1532–1542. [Google Scholar] [CrossRef] [PubMed]
- Singh, S.; Majumder, S. A Novel Approach OSA detection using single-lead ECG Scalogram based on deep neural network. J. Mech. Med. Biol. 2019, 19, 1950026. [Google Scholar] [CrossRef]
Wave Name | Description |
---|---|
P | wave is the contraction pulse of the atrial systole. |
Q | wave is a descendant deflection that followed directly the P wave. |
R | wave illustrates the ventricular contraction. |
S | wave is the down deflection immediately after the R wave. |
T | wave represents the ventricular recovery. |
U | wave succeeds the T wave but it is generally ignored, |
P-R | is the time that the electrical impulse takes to travel from the sinus node through the AV node. |
R-R | segment is the distance between two successive R peaks. |
QRS | complex represents the ventricular contraction and depolarization. |
S-T | segment is generally isoelectric and it begins after the QRS Complex. |
Q-T | interval is the distance from the start of the QRS complex to the end of the T wave. |
ECG Features | Duration (s) | Amplitude (mv) |
---|---|---|
P Wave | 0.08–0.1 | 0.25 |
T Wave | 0.16–0.2 | >0 |
QRS Complex | 0.08–0.1 | Q < 0, R > 0, S < 0 |
R-R Interval | 0.6–1.2 | - |
P-R Interval | 0.12–0.22 | R > 0 |
S-T Interval | 0.2–0.32 | isoelectric |
Q-T Interval | 0.35–0.45 | - |
Feature | Description |
---|---|
Average Heart Rate (AvgHR)- Equation (1) | |
mean R-R interval distance (meanRR)- Equation (2) | |
Root Mean Square Distance of Successive R-R interval (RMSSD)- Equation (3) | |
Number of R peaks in ECG that differ more than 50 millisecond (NN50)- Equation (4) | |
percentage NN50 (pNN50)- Equation (5) | |
Standard Deviation of R-R series (SD_RR)- Equation (6) | |
Standard Deviation of Heart Rate (SD_HR)- Equation (7) | |
Power Spectral Entropy (PSE)- Equation (8) | |
Average Heart Rate Variability (average_hrv)- Equation (9) |
Preset Classifier | Parameter | Value |
---|---|---|
Medium DT | Maximum number of splits | 20 |
split criterion | Gini’s diversity index | |
LDA | discriminant type | linear |
Gaussian NB | Distribution | Gaussian |
Medium KNN | Number of neighbors | 10 |
Distance metric | Euclidean | |
Distance weight | Equal | |
standardize data | TRUE | |
Boosted Trees | Ensemble method | AdaBoost |
Learner type | DT | |
Maximum number of splits | 20 | |
Number of learners | 30 | |
Learning rate | 0.1 | |
Coarse Gaussian SVM | Kernel function | Gaussian |
Kernel scale | 22 | |
standardize data | TRUE | |
Box constraint level | 1 |
Optimized Classifier | Parameter | Hyperparameters Search Range | Optimized Hyperparameters |
---|---|---|---|
DT* | Maximum number of splits | 1–14,756 | 56 |
split criterion | Gini’s diversity index, Maximum deviance reduction | Gini’s diversity index | |
NB* | Distribution | Gaussian, kernal | Gaussian |
kernel type | Gaussian, Box, Triangle, Epanechnikov | Box | |
KNN* | Number of neighbors | 1 to 7379 | 10 |
Distance metric | city block, Chebyshev, cosine, ecuildean, hamming, Jaccard, Minkowski (cubic), spearman, Mahalanobis | Euclidean | |
Distance weight | equal, inverse, squared inverse | Equal | |
standardize data | true, false | TRUE | |
DA* | discriminant type | linear, quadratic, diagonal linear, diagonal quadratic | linear |
Ensemble DT* | Ensemble method | bag, gentleboost, logitboost, adaboost, RUSboost | bag |
max no of splits | 1–14,756 | 355 | |
no of learners | 10–500 | 389 | |
no of predictors to sample | 1–9 | 6 | |
learning rate | 0.001–1 | 0.1 | |
learner type | - | DT |
Classifier | Accuracy | TPR | TNR | AUC | G-Mean | Precision | Fscore |
---|---|---|---|---|---|---|---|
DT | 75.04% | 95.53% | 30.88% | 63.21% | 54.32% | 74.86% | 83.94% |
LDA | 72.43% | 92.75% | 28.68% | 60.71% | 51.58% | 73.69% | 82.13% |
LR | 72.42% | 92.06% | 30.11% | 61.09% | 52.65% | 73.94% | 82.01% |
NB | 69.97% | 96.41% | 13.04% | 54.72% | 35.45% | 70.48% | 81.43% |
KNN | 75.62% | 90.72% | 43.09% | 66.90% | 62.52% | 77.44% | 83.56% |
BT | 75.98% | 93.64% | 37.94% | 65.79% | 59.60% | 76.47% | 84.19% |
SVM | 70.24% | 99.04% | 8.23% | 53.63% | 28.55% | 69.92% | 81.97% |
DT* | 75.92% | 94.78% | 35.31% | 65.04% | 57.85% | 75.94% | 84.32% |
DA* | 72.52% | 93.03% | 28.34% | 60.69% | 51.35% | 73.66% | 82.22% |
NB* | 71.00% | 80.96% | 49.54% | 65.25% | 63.33% | 77.56% | 79.22% |
KNN* | 76.50% | 90.81% | 45.67% | 68.24% | 64.40% | 78.26% | 84.07% |
ensemble DT* | 77.26% | 92.95% | 43.47% | 68.21% | 63.56% | 77.98% | 84.81% |
SVM* | 74.82% | 95.70% | 29.84% | 62.77% | 53.44% | 74.61% | 83.85% |
Ratio | Accuracy | TPR | TNR | AUC | Precision | Fscore | G-Mean |
---|---|---|---|---|---|---|---|
0.0 | 76.50% | 90.81% | 45.67% | 68.24% | 78.26% | 84.07% | 64.40% |
0.1 | 76.53% | 90.60% | 46.23% | 68.42% | 78.40% | 84.06% | 64.72% |
0.2 | 76.53% | 90.60% | 46.23% | 68.42% | 78.40% | 84.06% | 64.72% |
0.3 | 75.27% | 85.21% | 53.88% | 69.54% | 79.92% | 82.48% | 67.76% |
0.4 | 73.20% | 77.96% | 62.94% | 70.45% | 81.92% | 79.89% | 70.05% |
0.5 | 73.21% | 77.97% | 62.96% | 70.47% | 81.93% | 79.90% | 70.07% |
0.6 | 71.92% | 74.60% | 66.15% | 70.37% | 82.60% | 78.39% | 70.25% |
0.7 | 70.41% | 71.20% | 68.71% | 69.96% | 83.06% | 76.67% | 69.95% |
0.8 | 68.02% | 65.68% | 73.05% | 69.36% | 84.00% | 73.72% | 69.27% |
0.9 | 67.36% | 63.92% | 74.76% | 69.34% | 84.51% | 72.79% | 69.13% |
1.0 | 67.30% | 63.84% | 74.74% | 69.29% | 84.48% | 72.73% | 69.08% |
Ratio | Accuracy | TPR | TNR | AUC | Precision | Fscore | G-Mean |
---|---|---|---|---|---|---|---|
0.0 | 77.26% | 92.95% | 43.47% | 68.21% | 77.98% | 84.81% | 63.56% |
0.1 | 76.90% | 92.77% | 42.72% | 67.74% | 77.72% | 84.58% | 62.95% |
0.2 | 76.85% | 92.58% | 42.96% | 67.77% | 77.76% | 84.52% | 63.06% |
0.3 | 76.43% | 88.99% | 49.39% | 69.19% | 79.11% | 83.76% | 66.30% |
0.4 | 75.12% | 82.72% | 58.75% | 70.74% | 81.20% | 81.96% | 69.72% |
0.5 | 75.13% | 82.70% | 58.82% | 70.76% | 81.22% | 81.96% | 69.75% |
0.6 | 74.47% | 79.99% | 62.60% | 71.29% | 82.16% | 81.06% | 70.76% |
0.7 | 73.88% | 78.42% | 64.09% | 71.26% | 82.47% | 80.39% | 70.90% |
0.8 | 72.10% | 74.45% | 67.02% | 70.74% | 82.94% | 78.47% | 70.64% |
0.9 | 71.84% | 73.30% | 68.69% | 70.99% | 83.45% | 78.05% | 70.96% |
1.0 | 71.91% | 73.55% | 68.37% | 70.96% | 83.36% | 78.14% | 70.91% |
#Features | Accuracy | TPR | TNR | AUC | Precision | Fscore | G-Mean |
---|---|---|---|---|---|---|---|
1 | 60.72% | 72.17% | 36.08% | 54.12% | 70.86% | 71.51% | 51.02% |
2 | 73.95% | 81.36% | 57.98% | 69.67% | 80.66% | 81.01% | 68.68% |
3 | 73.00% | 77.72% | 62.83% | 70.28% | 81.83% | 79.73% | 69.88% |
4 | 72.93% | 77.78% | 62.47% | 70.13% | 81.70% | 79.69% | 69.71% |
5 | 73.12% | 77.81% | 63.00% | 70.41% | 81.92% | 79.81% | 70.02% |
6 | 73.31% | 78.27% | 62.62% | 70.44% | 81.85% | 80.02% | 70.01% |
7 | 74.50% | 80.07% | 62.51% | 71.29% | 82.14% | 81.09% | 70.75% |
8 | 74.56% | 80.01% | 62.83% | 71.42% | 82.26% | 81.12% | 70.90% |
9 | 74.47% | 79.99% | 62.60% | 71.29% | 82.16% | 81.06% | 70.76% |
Measure | Testing Results | Validation Results |
---|---|---|
Accuracy | 74.47% | 78.95% |
TPR | 79.99% | 76.20% |
TNR | 62.60% | 84.00% |
AUC | 71.29% | 80.10% |
precision | 82.16% | 89.76% |
fscore | 81.06% | 82.42% |
G-mean | 70.76% | 80.01% |
Parameters | RNN | CNN | LSTM | CNNLSTM |
---|---|---|---|---|
No. layers | 1 | 1,2 | 1 | 1,2 |
No. units | - | 512,256 | - | 512,256 |
Activation function | ReLU | ReLU | ReLU | ReLU |
Loss function | categorical_crossentropy | categorical_crossentropy | categorical_crossentropy | categorical_crossentropy |
epochs | 250 | 250 | 250 | 250 |
optimizer | SGD, Adam | SGD, Adam | SGD, Adam | SGD, Adam |
Learning rate (SGD) | ||||
decay (SGD) | ||||
Momentum(SGD) | 0.3 | 0.3 | 0.3 | 0.3 |
No. fully connected layers (Dense) | 1, 2 | 1, 2 | 1, 2 | 1, 2 |
No. fully connected units | 2048, 1024 | 2048, 1024 | 2048, 1024 | 2048, 1024 |
No. LSTM units | - | - | 512 | 512 |
No. RNN units | 512 | - | - | - |
Dropout | 0.25 | 0.25 | 0.15 | 0.15 |
Model | Optimizer | Accuracy | Recall | Precision | F1-Score | AUC |
---|---|---|---|---|---|---|
RNN | SGD | 0.80500 | 0.83664 | 0.81454 | 0.82498 | 0.88372 |
Adam | 0.68875 | 0.87596 | 0.66615 | 0.75631 | 0.75468 | |
CNN | SGD | 0.73095 | 0.85229 | 0.72718 | 0.78475 | 0.80924 |
Adam | 0.89375 | 0.90318 | 0.90423 | 0.90335 | 0.96780 | |
LSTM | SGD | 0.73000 | 0.76530 | 0.74980 | 0.75650 | 0.80718 |
Adam | 0.89625 | 0.92584 | 0.89002 | 0.90704 | 0.96968 | |
CNNLSTM | SGD | 0.70438 | 0.76237 | 0.71810 | 0.73879 | 0.78527 |
adam | 0.90750 | 0.91919 | 0.91476 | 0.91627 | 0.97462 |
Model | Dataset | Accuracy | Recall | Precision | F1-Score | AUC |
---|---|---|---|---|---|---|
CNNLSTM | Training | 0.90750 | 0.91919 | 0.91476 | 0.91627 | 0.97462 |
Validation | 0.86250 | 0.88794 | 0.86855 | 0.87682 | 0.95103 |
Study | Year | Technique | Classifier | Accuracy | Recall | AUC |
---|---|---|---|---|---|---|
Varon et al. [28] | 2015 | ML | LS-SVM | 0.8474 | 0.8471 | 0.8807 |
Song et al. [51] | 2016 | ML | SVM-HMM | 0.8620 | 0.8260 | 0.9400 |
Sharma and Sharma [25] | 2016 | ML | LS-SVM | 0.8380 | 0.7950 | 0.8300 |
Li et al. [29] | 2018 | DL | Decision Fusion | 0.8470 | 0.8890 | 0.8690 |
Singh and Majumder [52] | 2019 | DL | AlexNet CNN + Decision Fusion | 0.8620 | 0.9000 | 0.8800 |
Wang et al. [26] | 2019 | DL | LeNet-5 CNN | 0.8760 | 0.8310 | 0.9500 |
Chang et al. [30] | 2020 | DL | 1-D CNN | 0.8790 | 0.8110 | 0.9350 |
Our approach | DL | CNNLSTM | 0.86250 | 0.88794 | 0.95103 |
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2021 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Sheta, A.; Turabieh, H.; Thaher, T.; Too, J.; Mafarja, M.; Hossain, M.S.; Surani, S.R. Diagnosis of Obstructive Sleep Apnea from ECG Signals Using Machine Learning and Deep Learning Classifiers. Appl. Sci. 2021, 11, 6622. https://doi.org/10.3390/app11146622
Sheta A, Turabieh H, Thaher T, Too J, Mafarja M, Hossain MS, Surani SR. Diagnosis of Obstructive Sleep Apnea from ECG Signals Using Machine Learning and Deep Learning Classifiers. Applied Sciences. 2021; 11(14):6622. https://doi.org/10.3390/app11146622
Chicago/Turabian StyleSheta, Alaa, Hamza Turabieh, Thaer Thaher, Jingwei Too, Majdi Mafarja, Md Shafaeat Hossain, and Salim R. Surani. 2021. "Diagnosis of Obstructive Sleep Apnea from ECG Signals Using Machine Learning and Deep Learning Classifiers" Applied Sciences 11, no. 14: 6622. https://doi.org/10.3390/app11146622
APA StyleSheta, A., Turabieh, H., Thaher, T., Too, J., Mafarja, M., Hossain, M. S., & Surani, S. R. (2021). Diagnosis of Obstructive Sleep Apnea from ECG Signals Using Machine Learning and Deep Learning Classifiers. Applied Sciences, 11(14), 6622. https://doi.org/10.3390/app11146622