Abstract
Obstructive sleep Apnea (OSA) is a form of sleep disordered breathing characterized by frequent episodes of upper airway collapse during sleep. Pediatric OSA occurs in 1–5% of children and can be related to other serious health conditions such as high blood pressure, behavioral issues, or altered growth. OSA is often diagnosed by studying the patient’s sleep cycle, the pattern with which they progress through various sleep states such as wakefulness, rapid eye-movement, and non-rapid eye-movement. The sleep state data is obtained using an overnight polysomnography test that the patient undergoes at a hospital or sleep clinic, where a technician manually labels each 30 second time interval with the current sleep state. This process is laborious and prone to human error. We seek an automatic method of classifying the sleep state, as well as a method to analyze the sleep cycles. This article is a pilot study in sleep state classification using two approaches: first, we’ll use methods from the field of topological data analysis to classify the sleep state and second, we’ll model sleep states as a Markov chain and visually analyze the sleep patterns. In the future, we will continue to build on this work to improve our methods.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Henry Adams, Tegan Emerson, Michael Kirby, Rachel Neville, Chris Peterson, Patrick Shipman, Sofya Chepushtanova, Eric Hanson, Francis Motta, and Lori Ziegelmeier. Persistence images: A stable vector representation of persistent homology. The Journal of Machine Learning Research, 18(1):218–252, January 2017.
Jesse Berwald and Marian Gidea. Critical transitions in a model of a genetic regulatory system. Mathematical Biosciences & Engineering, 11(4):723–740, 2014.
Leo Breiman. Random forests. Machine learning, 45(1):5–32, 2001.
Leo Breiman. Classification and regression trees. Routledge, 2017.
Yu-Min Chung, Chuan-Shen Hu, Yu-Lun Lo, and Hau-Tieng Wu. A persistent homology approach to heart rate variability analysis with an application to sleep-wake classification. ar**v preprint ar**v:1908.06856, 2019.
Herbert Edelsbrunner and John Harer. Computational Topology: An Introduction. American Mathematical Society, 2010.
Jerome H Friedman. Greedy function approximation: a gradient boosting machine. Annals of statistics, pages 1189–1232, 2001.
Jacob Goldberger, Geoffrey E Hinton, Sam T Roweis, and Russ R Salakhutdinov. Neighbourhood components analysis. In Advances in neural information processing systems, pages 513–520, 2005.
Allen Hatcher. Algebraic Topology. Cambridge University Press, 2002.
Arthur E Hoerl and Robert W Kennard. Ridge regression: Biased estimation for nonorthogonal problems. Technometrics, 12(1):55–67, 1970.
Firas A. Khasawneh and Elizabeth Munch. Chatter detection in turning using persistent homology. Mechanical Systems and Signal Processing, 70-71:527–541, 2016.
Firas A. Khasawneh and Elizabeth Munch. Utilizing topological data analysis for studying signals of time-delay systems. In Advances in Delays and Dynamics, pages 93–106. Springer International Publishing, 2017.
Firas A. Khasawneh, Elizabeth Munch, and Jose A. Perea. Chatter classification in turning using machine learning and topological data analysis. In Tamas Insperger, editor, 14th IFAC Workshop on Time Delay Systems TDS 2018: Budapest, Hungary, 28–30 June 2018, volume 51, pages 195–200, 2018.
S. Kullback and R.A. Leibler. On Information and Sufficiency. The Annals of Mathematical Statistics, 3 1951.
Gidea M. Topological data analysis of critical transitions in financial networks. In Puzis R. Shmueli E., Barzel B., editor, 3rd International Winter School and Conference on Network Science NetSci-X 2017, Springer Proceedings in Complexity. Springer, Cham, 2017.
Elizabeth Munch. A user’s guide to topological data analysis. Journal of Learning Analytics, 4(2), 2017.
Audun Myers and Firas Khasawneh. On the automatic parameter selection for permutation entropy. ar**v preprint ar**v:1905.06443, 2019.
Steve Y. Oudot. Persistence Theory: From Quiver Representations to Data Analysis (Mathematical Surveys and Monographs). American Mathematical Society, 2015.
F. Pedregosa, G. Varoquaux, A. Gramfort, V. Michel, B. Thirion, O. Grisel, M. Blondel, P. Prettenhofer, R. Weiss, V. Dubourg, J. Vanderplas, A. Passos, D. Cournapeau, M. Brucher, M. Perrot, and E. Duchesnay. Scikit-learn: Machine learning in Python. Journal of Machine Learning Research, 12:2825–2830, 2011.
Musa Peker. A new approach for automatic sleep scoring: Combining taguchi based complex-valued neural network and complex wavelet transform. Computer Methods and Programs in Biomedicine, 129:203–216, jun 2016.
José A. Perea and John Harer. Sliding windows and persistence: An application of topological methods to signal analysis. Foundations of Computational Mathematics, pages 1–40, 2015.
Charlene E. Gamaldo Susan M. Harding Robin M. Lloyd Stuart F. Quan Matthew M. Troester Bradley V. Vaughn. Richard B. Berry, Rita Brooks. The AASM Manual for the Scoring of Sleep and Associated Events: Rules, Terminology and Technical Specifications. American Academy of Sleep Medicine, Darien, IL, 2017.
Nathaniel Saul and Chris Tralie. Scikit-tda: Topological data analysis for python, 2019.
Johan AK Suykens and Joos Vandewalle. Least squares support vector machine classifiers. Neural processing letters, 9(3):293–300, 1999.
Floris Takens. Detecting strange attractors in turbulence. In Lecture Notes in Mathematics, pages 366–381. Springer Berlin Heidelberg, 1981.
Christopher Tralie. High-dimensional geometry of sliding window embeddings of periodic videos. In 32nd International Symposium on Computational Geometry (SoCG 2016). Schloss Dagstuhl-Leibniz-Zentrum fuer Informatik, 2016.
Christopher Tralie, Nathaniel Saul, and Rann Bar-On. Ripser.py: A lean persistent homology library for python. The Journal of Open Source Software, 3(29):925, Sep 2018.
Christopher J Tralie and Jose A Perea. (quasi) periodicity quantification in video data, using topology. SIAM Journal on Imaging Sciences, 11(2):1049–1077, 2018.
Christian H Weiss. An Introduction to Discrete-Valued Time Series. John Wiley & Sons, Ltd, 2018.
Acknowledgements
This work was started at the second Women in Data Science and Mathematics workshop (WiSDM 2) in summer 2019, at The Institute for Computational and Experimental Research in Mathematics (ICERM), Brown University. We thank ICERM for the support. The authors would like to thank their fellow group members, Brenda Praggastis, Melissa Stockman, Kaisa Taipale, Marilyn Vazquez, Sunny Wang, and Emily Winn. We’d especially like to thank Brenda Praggastis for her help preprocessing the time series data and setting up some of the code for the persistent homology analysis. We also thank Mathieu Chalifour for discussion of polysomnography time series. ST was partially funded by NSF grants DMS1800446 and CMMI-1800466. KS was partially funded by NSF grant DMS 1547357. GH would like to thank the National Sciences and Engineering Research Council of Canada (NSERC DG 2016-05167), Seed grant from Women and Children’s Health Research Institute, Biomedical Research Award from American Association of Orthodontists Foundation, and the McIntyre Memorial fund from the School of Dentistry at the University of Alberta.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Appendix
Appendix
This section contains tables and figures referred to in the main article (Tables 4, 5, 6, 7, 8, 9, 10, 11, 12 and Figs. 17, 18, 19, 20, 21).
Rights and permissions
Copyright information
© 2021 The Authors and the Association for Women in Mathematics
About this chapter
Cite this chapter
Tymochko, S., Singhal, K., Heo, G. (2021). Classifying Sleep States Using Persistent Homology and Markov Chains: A Pilot Study. In: Demir, I., Lou, Y., Wang, X., Welker, K. (eds) Advances in Data Science. Association for Women in Mathematics Series, vol 26. Springer, Cham. https://doi.org/10.1007/978-3-030-79891-8_11
Download citation
DOI: https://doi.org/10.1007/978-3-030-79891-8_11
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-79890-1
Online ISBN: 978-3-030-79891-8
eBook Packages: Mathematics and StatisticsMathematics and Statistics (R0)