A Comparative Analysis of Supervised and Unsupervised Machine Learning Techniques for Sleep Disorder Identification using Lifestyle and Health Data
Y. Rohita, P. N. Siva Jyothi, Nelli Sreevidya, Veladi Rajeshwari, Majji Hasanth Kumar, Suda Naga Chaitan Reddy
Asian Journal of Research in Computer Science · pp. 76–91 · Published 21 Mar 2026
10.9734/ajrcos/2026/v19i3837Abstract
Sleep disorders such as insomnia and obstructive sleep apnea have a significant impact on physical health, mental well-being, and overall quality of life. Early and accurate identification of these disorders is essential for effective intervention; however, traditional diagnostic approaches are often time-consuming and rely heavily on expert interpretation. In recent years, machine learning techniques have emerged as efficient tools for automated health condition analysis using lifestyle and physiological data. This paper presents a comparative study of supervised and unsupervised machine learning techniques for sleep disorder identification using the Sleep Health and Lifestyle dataset, which consists of approximately 400 records with demographic, lifestyle, and health-related attributes. Supervised learning models including Logistic Regression, Random Forest, Gradient Boosting, XGBoost, and Multilayer Perceptron (MLP) are evaluated using accuracy, precision, recall, and F1-score. Hyperparameter optimization is performed using GridSearchCV to improve model generalization. In parallel, unsupervised clustering techniques such as K-Means and DBSCAN are applied to explore hidden patterns and natural groupings in sleep behaviour, with performance evaluated using silhouette scores and noise detection analysis. Experimental results demonstrate that Gradient Boosting achieves the highest predictive performance, with test accuracy approaching 98% and cross-validation accuracy of 99.75%. Among unsupervised methods, DBSCAN outperforms K-Means by effectively identifying well-separated clusters and detecting outliers. The comparative analysis highlights that while unsupervised techniques are valuable for pattern discovery and exploratory analysis, supervised models provide superior predictive accuracy when labelled data is available. The proposed framework supports reliable, interpretable, and data-driven decision-making for automated sleep disorder detection in healthcare applications. The paper utilizes the Sleep Health and Lifestyle dataset, which contains approximately 400 records with multiple demographic, lifestyle, and physiological attributes such as age, body mass index (BMI), sleep duration, physical activity level, heart rate, and stress indicators. These features capture important behavioural and health-related factors influencing sleep quality. The dataset classifies individuals into three categories of sleep conditions: Normal, Insomnia, and Sleep Apnea, enabling the development and evaluation of machine learning models for accurate sleep disorder prediction and pattern analysis. The proposed research work is implemented using Python in the Jupyter Notebook environment on a standard computer (Intel Core processor, 8 GB RAM, Windows OS). Libraries including Pandas, NumPy, Scikit-learn, and Matplotlib are used for data processing, model development, and visualization. Future work will focus on larger datasets and wearable sensor data to enhance model robustness and applicability.
Cited by 0
No indexed citations yet.
Related research
- Detecting Dental Caries through Captured Images Using the Machine Learning Technology Teachable Machine — shares topic coverage
- Prediction of Radiotherapy Dose Distribution for Glioblastoma Using Convolutional Neural Network Model — shares topic coverage
- A Systematic Literature Review of Machine Learning Methods in Healthcare — shares topic coverage
- Diagnostic Accuracy of Artificial Intelligence for Breast Cancer Detection: A Systematic Review — shares topic coverage
- Artificial Intelligence in the Analysis of the Fetal Genome in Utero: A Critical Review of Current Paradigms, Clinical Utility and Future Horizons — shares topic coverage
Article metrics
Real usage data collected on this platform.
0
Page views
0
PDF downloads
0
Outbound clicks
0
Citations
Views by country
Approximate, from request IP at view time — not citizenship or institution. Countries with fewer than 5 views are grouped as "Other".
No views recorded yet.
Traffic sources
Referring site, by host.
No traffic recorded yet.
Views and downloads exclude known bots/crawlers. Citations combines this platform's own DOI-resolved index with each external source's own reported total — see Cited by above for individually listed citing works. Last refreshed 0 seconds ago.