Eris van Twist, Anne M Meester, Arnout B G Cramer, Matthijs de Hoog, Alfred C Schouten, Sascha C A T Verbruggen, Koen F M Joosten, Maartje Louter, Dirk C G Straver, David M J Tax, Rogier C J de Jonge, Jan Willem Kuiper
{"title":"Supervised machine learning on electrocardiography features to classify sleep in noncritically ill children.","authors":"Eris van Twist, Anne M Meester, Arnout B G Cramer, Matthijs de Hoog, Alfred C Schouten, Sascha C A T Verbruggen, Koen F M Joosten, Maartje Louter, Dirk C G Straver, David M J Tax, Rogier C J de Jonge, Jan Willem Kuiper","doi":"10.5664/jcsm.11358","DOIUrl":null,"url":null,"abstract":"<p><strong>Study objectives: </strong>Despite frequent sleep disruption in the pediatric intensive care unit, bedside sleep monitoring in real time is currently not available. Supervised machine learning applied to electrocardiography data may provide a solution, because cardiovascular dynamics are directly modulated by the autonomic nervous system during sleep.</p><p><strong>Methods: </strong>This retrospective study used hospital-based polysomnography recordings obtained in noncritically ill children between 2017 and 2021. Six age categories were defined: 6-12 months, 1-3 years, 3-5 years, 5-9 years, 9-13 years, and 13-18 years. Features were derived in time, frequency, and nonlinear domain from preprocessed electrocardiography data. Sleep classification models were developed for 2, 3, 4, and 5 states using logistic regression, random forest, and XGBoost classifiers during 5-fold nested cross-validation. Models were additionally validated across age categories.</p><p><strong>Results: </strong>A total of 90 noncritically ill children were included with a median (Q1, Q3) recording length of 549.0 (494.8, 601.3) minutes. The 3 models obtained an area under the receiver operator characteristic curve of 0.72-0.78 with minimal variation across classifiers and age categories. Balanced accuracies were 0.70-0.72, 0.59-0.61, 0.50-0.51, and 0.41-0.42 for 2, 3, 4, and 5 states, respectively. Generally, the XGBoost model obtained the highest balanced accuracy (<i>P</i> < .05), except for 5 states for which logistic regression excelled (<i>P</i> = .67).</p><p><strong>Conclusions: </strong>Electrocardiography-based machine learning models are a promising and noninvasive method for automated sleep classification directly at the bedside of noncritically ill children aged 6 months-18 years. Models obtained moderate-to-good performance for 2- and 3-state classification.</p><p><strong>Citation: </strong>van Twist E, Meester AM, Cramer ABG, et al. Supervised machine learning on electrocardiography features to classify sleep in noncritically ill children. <i>J Clin Sleep Med.</i> 2025;21(2):261-268.</p>","PeriodicalId":50233,"journal":{"name":"Journal of Clinical Sleep Medicine","volume":" ","pages":"261-268"},"PeriodicalIF":3.5000,"publicationDate":"2025-02-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Clinical Sleep Medicine","FirstCategoryId":"3","ListUrlMain":"https://doi.org/10.5664/jcsm.11358","RegionNum":3,"RegionCategory":"医学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"CLINICAL NEUROLOGY","Score":null,"Total":0}
引用次数: 0
Abstract
Study objectives: Despite frequent sleep disruption in the pediatric intensive care unit, bedside sleep monitoring in real time is currently not available. Supervised machine learning applied to electrocardiography data may provide a solution, because cardiovascular dynamics are directly modulated by the autonomic nervous system during sleep.
Methods: This retrospective study used hospital-based polysomnography recordings obtained in noncritically ill children between 2017 and 2021. Six age categories were defined: 6-12 months, 1-3 years, 3-5 years, 5-9 years, 9-13 years, and 13-18 years. Features were derived in time, frequency, and nonlinear domain from preprocessed electrocardiography data. Sleep classification models were developed for 2, 3, 4, and 5 states using logistic regression, random forest, and XGBoost classifiers during 5-fold nested cross-validation. Models were additionally validated across age categories.
Results: A total of 90 noncritically ill children were included with a median (Q1, Q3) recording length of 549.0 (494.8, 601.3) minutes. The 3 models obtained an area under the receiver operator characteristic curve of 0.72-0.78 with minimal variation across classifiers and age categories. Balanced accuracies were 0.70-0.72, 0.59-0.61, 0.50-0.51, and 0.41-0.42 for 2, 3, 4, and 5 states, respectively. Generally, the XGBoost model obtained the highest balanced accuracy (P < .05), except for 5 states for which logistic regression excelled (P = .67).
Conclusions: Electrocardiography-based machine learning models are a promising and noninvasive method for automated sleep classification directly at the bedside of noncritically ill children aged 6 months-18 years. Models obtained moderate-to-good performance for 2- and 3-state classification.
Citation: van Twist E, Meester AM, Cramer ABG, et al. Supervised machine learning on electrocardiography features to classify sleep in noncritically ill children. J Clin Sleep Med. 2025;21(2):261-268.
期刊介绍:
Journal of Clinical Sleep Medicine focuses on clinical sleep medicine. Its emphasis is publication of papers with direct applicability and/or relevance to the clinical practice of sleep medicine. This includes clinical trials, clinical reviews, clinical commentary and debate, medical economic/practice perspectives, case series and novel/interesting case reports. In addition, the journal will publish proceedings from conferences, workshops and symposia sponsored by the American Academy of Sleep Medicine or other organizations related to improving the practice of sleep medicine.