Biological Signals for Diagnosing Sleep Stages Using Machine Learning Models

Sleep quality is important for health and can prevent diseases. Polysomnography is a standard scientific and clinical tool to evaluate sleep. Sleep staging is one of the main tasks in the sleep study that characterizes sleep cycles. In recent years, many studies are conducted using machine learning approaches to classify sleep stages. These studies can improve the accuracy and speed of the classification task, but most of them have not considered the performance of minority sleep classes. Since the number of samples in the sleep classes varies greatly, it can be considered as imbalanced data. In this study, we propose an ensemble method to handle class imbalance problem in the sleep staging task. For this purpose, we select nine biomedical signals including two EEG channels, two EOG channels, EMG, ECG, Abdominal, Thorax, and Airflow from the Sleep Heart Health Study (SHHS1) dataset. Then we use an ensemble of data-level resampling methods to rebalance the data space of sleep classes. Finally, we employ different machine learning algorithms to classify sleep stages. To evaluate the performance of the proposed method, in addition to general metrics, we use various measures such as Geometric mean (G-mean) and Matthew's Correlation Coefficient (MCC), which are proper metrics for the imbalanced data classification. The results of the developed method show that it achieves high accuracies of 0.9727, 0.9410, 0.8816, and 0.8725 for two, three, five, and six sleep classes, respectively.

[1]  Rym Nihel Sekkal,et al.  Automatic sleep stage classification: From classical machine learning methods to deep learning , 2022, Biomed. Signal Process. Control..

[2]  M. Karabatak,et al.  An Automated Wavelet-Based Sleep Scoring Model Using EEG, EMG, and EOG Signals with More Than 8000 Subjects , 2022, International journal of environmental research and public health.

[3]  Chengfan Li,et al.  A Deep Learning Method Approach for Sleep Stage Classification with EEG Spectrogram , 2022, International journal of environmental research and public health.

[4]  F. Cong,et al.  LightSleepNet: A Lightweight Deep Model for Rapid Sleep Stage Classification with Spectrograms , 2021, 2021 43rd Annual International Conference of the IEEE Engineering in Medicine & Biology Society (EMBC).

[5]  Paolo Barsocchi,et al.  Machine learning with ensemble stacking model for automated sleep staging using dual-channel EEG signal , 2021, Biomed. Signal Process. Control..

[6]  Maarten De Vos,et al.  SleepTransformer: Automatic Sleep Staging With Interpretability and Uncertainty Quantification , 2021, IEEE Transactions on Biomedical Engineering.

[7]  Fengzhen Hou,et al.  Automatic sleep staging with a single-channel EEG based on ensemble empirical mode decomposition , 2021 .

[8]  Ramiro Casal,et al.  Temporal convolutional networks and transformers for classifying the sleep stage in awake or asleep using pulse oximetry signals , 2021, J. Comput. Sci..

[9]  Rui Yan,et al.  A Deep Learning Model for Automatic Sleep Scoring using Multimodality Time Series , 2021, 2020 28th European Signal Processing Conference (EUSIPCO).

[10]  A. Zengin,et al.  Sleep–wake stage detection with single channel ECG and hybrid machine learning model in patients with obstructive sleep apnea , 2021, Physical and engineering sciences in medicine.

[11]  Bo Liu,et al.  Efficient Time Series Augmentation Methods , 2020, 2020 13th International Congress on Image and Signal Processing, BioMedical Engineering and Informatics (CISP-BMEI).

[12]  Seunghyeok Back,et al.  Intra- and inter-epoch temporal context network (IITNet) using sub-epoch features for automatic sleep scoring on raw single-channel EEG , 2020, Biomed. Signal Process. Control..

[13]  Maarten De Vos,et al.  XSleepNet: Multi-View Sequential Model for Automatic Sleep Staging , 2020, IEEE Transactions on Pattern Analysis and Machine Intelligence.

[14]  Shaker K. Ali,et al.  Feature Extraction Methods: A Review , 2020, Journal of Physics: Conference Series.

[15]  P. Anderer,et al.  Automatic sleep staging using heart rate variability, body movements, and recurrent neural networks in a sleep disordered population. , 2020, Sleep.

[16]  D. Chicco,et al.  The advantages of the Matthews correlation coefficient (MCC) over F1 score and accuracy in binary classification evaluation , 2020, BMC Genomics.

[17]  Thakerng Wongsirichot,et al.  An Investigation of Data Mining Based Automatic Sleep Stage Classification Techniques , 2019, International Journal of Machine Learning and Computing.

[18]  David Kent,et al.  Automated Sleep Stage Scoring of the Sleep Heart Health Study Using Deep Neural Networks. , 2019, Sleep.

[19]  S. H. Shah Newaz,et al.  Empirical Comparison of Area under ROC curve (AUC) and Mathew Correlation Coefficient (MCC) for Evaluating Machine Learning Algorithms on Imbalanced Datasets for Binary Classification , 2019, ICMLSC.

[20]  Guo-Qiang Zhang,et al.  The National Sleep Research Resource: towards a sleep data commons , 2018, BCB.

[21]  Laurent Vercueil,et al.  A convolutional neural network for sleep stage scoring from raw single-channel EEG , 2018, Biomed. Signal Process. Control..

[22]  Sankaran Mahadevan,et al.  An improved method to construct basic probability assignment based on the confusion matrix for classification problem , 2016, Inf. Sci..

[23]  S. Quan,et al.  Rules for scoring respiratory events in sleep: update of the 2007 AASM Manual for the Scoring of Sleep and Associated Events. Deliberations of the Sleep Apnea Definitions Task Force of the American Academy of Sleep Medicine. , 2012, Journal of clinical sleep medicine : JCSM : official publication of the American Academy of Sleep Medicine.

[24]  Yang Wang,et al.  Boosting for Learning Multiple Classes with Imbalanced Class Distribution , 2006, Sixth International Conference on Data Mining (ICDM'06).

[25]  Gary M. Weiss Mining with rarity: a unifying framework , 2004, SKDD.

[26]  Nitesh V. Chawla,et al.  Editorial: special issue on learning from imbalanced data sets , 2004, SKDD.

[27]  Aeilko H. Zwinderman,et al.  Analysis of a sleep-dependent neuronal feedback loop: the slow-wave microcontinuity of the EEG , 2000, IEEE Transactions on Biomedical Engineering.

[28]  J. Samet,et al.  The Sleep Heart Health Study: design, rationale, and methods. , 1997, Sleep.

[29]  E. Wolpert A Manual of Standardized Terminology, Techniques and Scoring System for Sleep Stages of Human Subjects. , 1969 .

[30]  Nitesh V. Chawla,et al.  SPECIAL ISSUE ON LEARNING FROM IMBALANCED DATA SETS , 2004 .

[31]  J. R. Landis,et al.  A one-way components of variance model for categorical data , 1977 .