Obstructive Sleep Apnea Detection using Frequency Analysis of Electrocardiographic RR Interval and Machine Learning Algorithms

Background: Obstructive Sleep Apnea (OSA) is a respiratory disorder due to obstructive upper airway (mainly in the oropharynx) periodically during sleep. The common examination used to diagnose sleep disorders is Polysomnography (PSG). Diagnose with PSG feels uncomfortable for the patient because the patient’s body is fitted with many sensors. Objective: This study aims to propose an OSA detection using the Fast Fourier Transform (FFT) statistics of electrocardiographic RR Interval (R interval from one peak to the peak of the pulse of the next pulse R) and machine learning algorithms. Material and Methods: In this case-control study, data were taken from the Massachusetts Institute of Technology at Beth Israel Hospital (MIT-BIH) based on the Apnea ECG database (RR Interval). The machine learning algorithms were Linear Discriminant Analysis (LDA), Artificial Neural Network (ANN), K-Nearest Neigh-bors (K-NN), and Support Vector Machine (SVM). Results: The OSA detection technique was designed and tested, and five features of the FFT were examined, namely mean (f1), Shannon entropy (f2), standard devia-tion (f3), median (f4), and geometric mean (f5). The OSA detection found the highest performance using ANN. Among the ANN types tested, the ANN with gradient descent backpropagation resulted in the best performance with accuracy, sensitivity, and specificity of 84.64%, 94.21%, and 64.03%, respectively. The lowest performance was found when LDA was applied. Conclusion: ANN with gradient-descent backpropagation performed higher than LDA, SVM, and KNN for OSA detection.

Citation: Indrawati, A. N., Nuryani, N., Nugroho, A. S., & Utomo, T. P. (2022). Obstructive Sleep Apnea Detection using Frequency Analysis of Electrocardiographic RR Interval and Machine Learning Algorithms. Journal of Biomedical Physics & Engineering, 12(6), 627.
DOI: 10.31661/jbpe.v0i0.2010-1216