Detection of Sleep Paralysis by using IoT Based Device and Its Relationship Between Sleep Paralysis And Sleep Quality

Authors

DOI:

https://doi.org/10.4108/eetiot.v8i30.2688

Keywords:

Sleep paralysis, Machine Learning, Deep Learning

Abstract

When a person wakes up in the middle of the night, they are paralyzed. Despite the fact that most episodes are associated with extreme terror and some might cause clinically significant suffering, little is understood about the experience. This study will analyze existing research on the relationship between sleep paralyses and sleep in general. Many studies have connected poor sleep quality to an increased risk of sleep paralysis. Awake yet unable to act, sleep paralysis occurs. This might happen between awake and sleeping. The problem is approached in three steps: Data collection, data storage, calculation and machine learning prediction of sleep paralysis. The data came from the Smart Device. The dataset has several (independent) and dependent variables (Outcome). This device has been put to the test. Each exam has its own set of features and predicted outcomes. To assess the system's validity, we executed a posture recognition accuracy test. The device was hidden on top of the bed. The controller is in charge of measurement and data collection. Experiments were conducted by collecting pressure data from a patient lying down. The person acted out his sleeping positions on a mat for a while. Machine learning has been used to predict sleep paralysis. By comparing sleep postures to the outcome, we were able to show the link between sleep qualities and sleep paralysis. Machine learning approaches have been used to predict sleep paralysis. Comparing sleeping positions with the results showed the link between sleep quality and sleep paralysis. Sleep paralysis correlates with poor sleep quality. The Random Forest model has the highest accuracy of 91.9 percent in predicting sleep paralysis in the given dataset. SVM with Linear Kernel was 80.49 percent accurate, RBF was 42.68 percent, and Polynomial was 47.56 percent. The accuracy of logistic regression was 76.83 percent. KNN had a dismal performance of 60.98%. Decision Trees and Gradient Boosting both fared well at 85.37 percent.

Downloads

Download data is not yet available.
<br data-mce-bogus="1"> <br data-mce-bogus="1">

References

D. Denis, C. C. French, and A. M. Gregory, “A systematic review of variables associated with sleep paralysis,” Sleep Med. Rev., vol. 38, pp. 141–157, 2018, doi: 10.1016/j.smrv.2017.05.005. DOI: https://doi.org/10.1016/j.smrv.2017.05.005

B. Ganesh, S. Venkata, V. Pisipati, M. Shivashanker, V. Sirisha, and B. Ch, “Sleep paralysis,” no. June, 2012.

C. O. Johanna Magalí, G. S. Jonathan Ulises, T. R. Aveiro-Róbalo, G. T. Luciana Daniela, and M. J. Valladares-Garrido, “Association between sleep quality and sleep paralysis in medical students from a private university in Paraguay,” Pakistan J. Med. Heal. Sci., vol. 14, no. 3, pp. 1162–1166, 2020.

E. Solomonova, “Sleep paralysis: Phenomenology, neurophysiology, and treatment,” Oxford Handb. Spontaneous Thought Mind-Wandering, Creat. Dreaming, pp. 435–456, 2018, doi: 10.1093/oxfordhb/9780190464745.013.20. DOI: https://doi.org/10.1093/oxfordhb/9780190464745.013.20

A. Nelson et al., “Wearable multi-sensor gesture recognition for paralysis patients,” Proc. IEEE Sensors, no. 1, pp. 1–4, 2013, doi: 10.1109/ICSENS.2013.6688531. DOI: https://doi.org/10.1109/ICSENS.2013.6688531

G. Benham, “Sleep paralysis in college students,” J. Am. Coll. Heal., vol. 0, no. 0, pp. 1–6, 2020, doi: 10.1080/07448481.2020.1799807. DOI: https://doi.org/10.1080/07448481.2020.1799807

B. Jalal, A. Romanelli, and D. E. Hinton, “Sleep paralysis in Italy: Frequency, hallucinatory experiences, and other features,” Transcult. Psychiatry, vol. 58, no. 3, pp. 427–439, 2021, doi: 10.1177/1363461520909609. DOI: https://doi.org/10.1177/1363461520909609

D. Denis, “Relationships between sleep paralysis and sleep quality: Current insights,” Nat. Sci. Sleep, vol. 10, pp. 355–367, 2018, doi: 10.2147/NSS.S158600.

H. B. E. Riaz, A. Ikhlaq, I. Bashir, F. Ijaz, R. K. Aftab, and A. Ijaz, “Association of Sleep paralysis with Insomnia and Sleep Quality,” vol. 6, no. 3, pp. 1–4, 2021, doi: 10.19080/ARR.2021.06.555689. DOI: https://doi.org/10.19080/ARR.2021.06.555689

D. Denis and G. L. Poerio, “Terror and bliss? Commonalities and distinctions between sleep paralysis, lucid dreaming, and their associations with waking life experiences,” J. Sleep Res., vol. 26, no. 1, pp. 38–47, 2017, doi: 10.1111/jsr.12441. DOI: https://doi.org/10.1111/jsr.12441

D. F. Ramos, J. Magalhães, P. Santos, J. Vale, and M. I. Santos, “Recurrent sleep paralysis – Fear of sleeping,” Rev. Paul. Pediatr., vol. 38, pp. 2018–2021, 2020, doi: 10.1590/1984-0462/2020/38/2018226. DOI: https://doi.org/10.1590/1984-0462/2020/38/2018226

D. Denis, “Relationships between sleep paralysis and sleep quality: Current insights,” Nat. Sci. Sleep, vol. 10, no. November, pp. 355–367, 2018, doi: 10.2147/NSS.S158600. DOI: https://doi.org/10.2147/NSS.S158600

L. S. E. Seow et al., “Independent and combined associations of sleep duration and sleep quality with common physical and mental disorders: Results from a multi-ethnic population-based study,” PLoS One, vol. 15, no. 7, pp. 1–17, 2020, doi: 10.1371/journal.pone.0235816. DOI: https://doi.org/10.1371/journal.pone.0235816

A. Tiwari and R. Tiwari, “Design and implementation of a smart system for detection of sleep paralysis using LabVIEW/Matlab tool,” Proc. Int. Conf. Inven. Syst. Control. ICISC 2017, no. April 2018, 2017, doi: 10.1109/ICISC.2017.8068690. DOI: https://doi.org/10.1109/ICISC.2017.8068690

K. Tang, A. Kumar, M. Nadeem, and I. Maaz, “CNN-Based Smart Sleep Posture Recognition System,” IoT, vol. 2, no. 1, pp. 119–139, 2021, doi: 10.3390/iot2010007. DOI: https://doi.org/10.3390/iot2010007

B. A. Sharpless, “A clinician’s guide to recurrent isolated sleep paralysis,” Neuropsychiatr. Dis. Treat., vol. 12, pp. 1761–1767, 2016, doi: 10.2147/NDT.S100307. DOI: https://doi.org/10.2147/NDT.S100307

S. W. Hsieh, C. L. Lai, C. K. Liu, S. H. Lan, and C. Y. Hsu, “Isolated sleep paralysis linked to impaired nocturnal sleep quality and health-related quality of life in Chinese-Taiwanese patients with obstructive sleep apnea,” Qual. Life Res., vol. 19, no. 9, pp. 1265–1272, 2010, doi: 10.1007/s11136-010-9695-4. DOI: https://doi.org/10.1007/s11136-010-9695-4

T. Takeuchi, A. Miyasita, Y. Sasaki, M. Inugami, and K. Fukuda, “Isolated sleep paralysis elicited by sleep interruption,” Sleep, vol. 15, no. 3, pp. 217–225, 1992, doi: 10.1093/sleep/15.3.217. DOI: https://doi.org/10.1093/sleep/15.3.217

Y. Kushkituah, “Subjective sleep quality of isolated sleep paralysis: Fear parameters and psychosocial correlates.,” Diss. Abstr. Int. Sect. B Sci. Eng., vol. 80, no. 7-B(E), p. No-Specified, 2019.

J. Steier et al., “Sleep-disordered breathing in unilateral diaphragm paralysis or severe weakness,” Eur. Respir. J., vol. 32, no. 6, pp. 1479–1487, 2008, doi: 10.1183/09031936.00018808. DOI: https://doi.org/10.1183/09031936.00018808

E. C. Geoff Appelboom1 et al., “Smart wearable body sensors for patient self-assessment and monitoring.,” Arch. Public Heal., vol. 72, no. 28, pp. 1–9, 2014. DOI: https://doi.org/10.1186/2049-3258-72-28

A. Malafeev, “Automatic Sleep Classification with Machine Learning,” p. 190, 2018.

S. Arulvallal, U. Snekhalatha, and T. Rajalakshmi, “Design and development of wearable device for continuous monitoring of sleep apnea disorder,” Proc. 2019 IEEE Int. Conf. Commun. Signal Process. ICCSP 2019, pp. 50–53, 2019, doi: 10.1109/ICCSP.2019.8697961. DOI: https://doi.org/10.1109/ICCSP.2019.8697961

A. Tiwari and R. Tiwari, “for Detection of Sleep Paralysis Using,” pp. 1–6, 2017.

S. Jeon, T. Park, Y. S. Lee, S. H. Son, H. Lee, and Y. Eun, “RISK-Sleep: Real-Time Stroke Early Detection System during Sleep Using Wristbands,” Proc. - 2018 IEEE Int. Conf. Syst. Man, Cybern. SMC 2018, pp. 4333–4339, 2019, doi: 10.1109/SMC.2018.00732. DOI: https://doi.org/10.1109/SMC.2018.00732

M. G. L. Kumar, R. S. Sairam, G. D. V. S. Kumar, and S. R. K. Vanjari, “Low power, low area, analog blink restoration system with auto sleep mode for unilateral facial paralysis patients,” 2017 IEEE Biomed. Circuits Syst. Conf. BioCAS 2017 - Proc., vol. 2018-Janua, pp. 1–4, 2018, doi: 10.1109/BIOCAS.2017.8325064. DOI: https://doi.org/10.1109/BIOCAS.2017.8325064

M. Choubisa and P. Trivedi, “Analysing EEG signals for detection of mind awake stage and sleep deprivation stage,” Proc. 2015 Int. Conf. Green Comput. Internet Things, ICGCIoT 2015, pp. 1209–1211, 2016, doi: 10.1109/ICGCIoT.2015.7380647. DOI: https://doi.org/10.1109/ICGCIoT.2015.7380647

V. Gurrala, P. Yarlagadda, and P. Koppireddi, “Detection of Sleep Apnea based on the analysis of sleep stages data using single channel EEG,” Trait. du Signal, vol. 38, no. 2, pp. 431–436, 2021, doi: 10.18280/TS.380221. DOI: https://doi.org/10.18280/ts.380221

N. Surantha, G. P. Kusuma, and S. M. Isa, “Internet of things for sleep quality monitoring system: A survey,” Proc. - 11th 2016 Int. Conf. Knowledge, Inf. Creat. Support Syst. KICSS 2016, no. November, 2017, doi: 10.1109/KICSS.2016.7951426. DOI: https://doi.org/10.1109/KICSS.2016.7951426

M. Valero, J. Clemente, F. Li, and W. Z. Song, “Health and sleep nursing assistant for real-time, contactless, and non-invasive monitoring,” Pervasive Mob. Comput., vol. 75, p. 101422, 2021, doi: 10.1016/j.pmcj.2021.101422. DOI: https://doi.org/10.1016/j.pmcj.2021.101422

Downloads

Published

12-09-2022

How to Cite

[1]
M. S. Akhtar and T. Feng, “Detection of Sleep Paralysis by using IoT Based Device and Its Relationship Between Sleep Paralysis And Sleep Quality”, EAI Endorsed Trans IoT, vol. 8, no. 30, p. e4, Sep. 2022.