Real-time sleep posture classification using wearable accelerometers and machine learning models
Abstract
Sleep posture plays a critical role in sleep quality and health, influencing conditions such as sleep apnea. Accurate classification of sleep postures is essential for diagnosing and treating sleep-related disorders. The sleep posture can be detected by using wearable acceleromter. This paper presents an realtime classification system for four sleep postures by integrating accelerometer data with a machine learning (ML) model. The proposed system was tested with various ML models, including decision trees (DT), random forest (RF), K-nearest neighbors (KNN), support vector classifier (SVC), and logistic regression (LR), across multiple performance metrics. The results demonstrate that the LR model, when combined with accelerometer data, significantly outperforms other methods, achieving a classification accuracy of 91%. This paper also discusses the system’s potential for real-time deployment on embedded devices, contributing to advancements in sleep posture monitoring.
Keywords
Classification; Machine learning; Sensor; SleepMonitor; Smart health
Full Text:
PDFDOI: https://doi.org/10.11591/eei.v15i2.10105
Refbacks
- There are currently no refbacks.

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Bulletin of Electrical Engineering and Informatics (BEEI)
ISSN: 2089-3191
,
e-ISSN: 2302-9285
This journal is published by the
Institute of Advanced Engineering and Science (IAES)
.