Classification of Sleep Disorders Using Machine Learning Algorithms

Authors

DOI:

https://doi.org/10.47134/jtsi.v3i1.5346

Keywords:

Machine Learning Algorithm, Sleep Disorders, Lifestyle Health

Abstract

This study aims to analyse the relationship between individuals' sleep health and lifestyle using machine learning algorithms. The Sleep Health and Lifestyle dataset used in the study includes variables such as age, gender, occupation, physical activity, stress level, and sleep duration. The data has been cleaned during the pre-processing stage and normalisation procedures have been applied. Subsequently, the classification of individuals' sleep quality was performed using the K-Nearest Neighbour (KNN), Random Forest, Support Vector Machines (SVM), and Artificial Neural Networks (ANN) algorithms. Model performance has been evaluated using metrics such as accuracy, F1-score, precision and sensitivity. In this study, the 5-fold cross-validation method was preferred to evaluate the model's performance in a more reliable and generalisable manner. The results show that ANN and Random Forest models achieve a higher accuracy rate compared to other algorithms. These findings reveal that lifestyle factors have a strong influence on predicting sleep quality.

References

Al-doori, S. K. S., Taspinar, Y. S., & Koklu, M. (2021). Distracted driving detection with machine learning methods by cnn based feature extraction.International Journal of Applied Mathematics Electronics & Computers, 9(4), 116-121. https://doi.org/10.18100/ijamec.1035749

Alnawwar, M. A., Alraddadi, M. I., Algethmi, R. A., Salem, G. A., Salem, M. A., & Alharbi, A. A. (2023). The effect of physical activity on sleep quality & sleep disorder: a systematic review. Cureus, 15(8). https://doi.org/10.7759/cureus.43595

Ayan, S., & Bilgin, T. T. (2024). Uyku Sağlığı ile Yaşam Tarzı Arasındaki İlişkinin PCA, Naive Bayes ve Rastgele Orman Ağaçları Yöntemleri ile İncelenmesi ve Karşılaştırılması. Uluslararası Yönetim Bilişim Sistemleri ve Bilgisayar Bilimleri Dergisi, 8(1), 41-56. https://doi.org/10.33461/uybisbbd.1415925

Cengel, T. A., Gencturk, B., Yasin, E. T., Yildiz, M. B., Cinar, I., & Koklu, M. (2025). Automating egg damage detection for improved quality control in the food industry using deep learning. J. Food Sci., vol. 90, no. 1, p. e17553, 2025, https://doi.org/10.1111/1750-3841.17553.

Godos, J., Grosso, G., Castellano, S., Galvano,F., Caraci, F., & Ferri, R. (2021). Association between diet & sleep quality: A systematic review. Sleep medicine reviews, vol. 57, p. 101430, 2021, https://doi.org/10.1016/j.smrv.2021.101430

Gur, Y. E., Solak, B., & Togacar, M., (2024). Makine Öğrenimi Teknikleriyle Uyku Bozukluklarına Yönelik Derinlemesine Analiz ve Sınıfl&ırma. International Journal of Pure & Applied Sciences, vol. 10, no. 1, pp. 242-260, https://doi.org/10.29132/ijpas.1475183.

Isik, M., Ozulku, B., Kursun, R., Taspinar, Y. S., Cinar, I., Yasin, E. T., & Koklu, M. (2024). Automated classification of h&-woven & machine-woven carpets based on morphological features using machine learning algorithms. The Journal of The Textile Institute, 115(12), 2650-2659. https://doi.org/10.1080/00405000.2024.2309694

Kilci, O., Eryesil, Y., & Koklu, M. (2025). Classification of Biscuit Quality With Deep Learning Algorithms. Journal of Food Science, vol. 90, no. 7, p. e70379, 2025, https://doi.org/10.1111/1750-3841.70379.

Kilci, O., & Koklu, M. (2025b). Machine learning-based detection of solar panel surface defects using deep features from InceptionV3. 4th International Conference on Trends in Advanced Research Konya, Türkiye

Kilci, O., & Koklu, M. (2025). Guava fruit disease classification using deep learning & machine learning models. Research in Agricultural Sciences, vol. 56, no. 3, pp. 217-226, 2025, https://doi.org/10.17097/agricultureatauni.1665941.

Koklu, M., et al. (2022). Identification of sheep breeds by CNN-based pre-trained InceptionV3 model. in 2022 11th Mediterranean Conference on Embedded Computing (MECO). IEEE. https://doi.org/10.1109/MECO55406.2022.9797214

Koohsari, M. J., et al, (2023). "Sedentary behaviour & sleep quality. Scientific reports, vol. 13, no. 1, p. 1180, https://doi.org/10.1038/s41598-023-27882-z

Kursun, R., Cinar, I., Taspinar, Y. S., & Koklu, M. (2022). Flower recognition system with optimized features for deep features. In Proceedings of the 2022 11th Mediterranean Conference on Embedded Computing (MECO), https://doi.org/10.1109/MECO55406.2022.9797103.

Kursun, R., & Koklu, M. (2025). Effectiveness of SIFT Features in Enhancing Watermelon Leaf Disease Classification Accuracy. in 2025 International Conference on Computer Systems & Technologies (CompSysTech), 2025: IEEE, pp. 1-6, https://doi.org/10.1109/CompSysTech65493.2025.11137117

Merrill, R. M. (2022). Mental health conditions according to stress & sleep disorders. International journal of environmental research & public health, vol. 19, no. 13, p. 7957, 2022, https://doi.org/10.3390/ijerph19137957

Nazli, B. et al, (2021). Signal Processing & Communications Applications Conference (SIU) | ISBN:978-1-6654-3649-6/21 https://doi.org/10.1109/SIU53274.2021.9477705

Nazari, L., Aslan, M.F., Sabanci, K., & Ropelewska, E., (2023). Integrated transcriptomic meta-analysis & comparative artificial intelligence models in maize under biotic stress. Scientific Reports, 2023. 13(1): p. 15899. https://doi.org/10.1038/s41598-023-42984-4

Ramezan, C. A., Warner, T. A. & Maxwell, A. E. (2019). Evaluation of sampling & cross-validation tuning strategies for regional-scale machine learning classification. Remote Sens., vol. 11, no. 2, p. 185, 2019, https://doi.org/10.3390/rs11020185

Sabanci, K., Koklu, M., & Unlersen, M. F. (2015). Classification of Siirt & long type pistachios (Pistacia vera L.) by artificial neural networks. International Journal of Intelligent Systems & Applications in Engineering, 3(2), 86-89. https://doi.org/10.18201/ijisae.74573

Taspinar, G., & Koklu, M. (2024). Detecting Industrial Potato Chips Defects with Machine Learning Methods Using Deep Features. Intelligent Methods In Engineering Sciences, 3(2), 63-69. https://doi.org/ 10.58190/imiens.2025.100

Unal, Y., Ekim, U., & Koklu, M.,(2011). Üniversite Öğrencilerin Ortak Zorunlu Derslerdeki Başarılarının K-Means Algoritması İle İncelenmesi. NWSA: Engineering Sciences, 2011. 6(1): p. 342-347.

Yasar, A., & Gölcük, A. (2025). Deep learning & evolutionary intelligence with fusion-based feature extraction for classification of wheat varieties. European Food Research & Technology, 1-14. https://doi.org/10.1007/s00217-025-04720-2

Yasin, E.T. et al, (2025). Optimized feature selection using gray wolf & particle swarm algorithms for corn seed image classification. J. Food Compos. Anal., vol. 145, p. 107738, 2025. https://doi.org/10.1016/j.jfca.2025.107738

Yildiz, M. B., Yasin, E. T. & Koklu, M., (2024). Fisheye freshness detection using common deep learning algorithms & machine learning methods with a developed mobile application. European Food Research & Technology, vol. 250, no. 7, pp. 1919-1932, 2024. https://doi.org/10.1007/s00217-024-04493-0

Zhou, X., Kong, Y., Yu, B., Shi, S., & He, H., (2025). Effects of exercise on sleep quality in general population: Meta-analysis & systematic review. Sleep Medicine, vol. 125, pp. 1-13. https://doi.org/10.1016/j.sleep.2024.10.036

Downloads

Published

2026-01-20

How to Cite

Ekim, U., & Koklu, M. (2026). Classification of Sleep Disorders Using Machine Learning Algorithms. Journal of Technology and System Information, 3(1), 17. https://doi.org/10.47134/jtsi.v3i1.5346

Issue

Section

Articles

Similar Articles

<< < 1 2 

You may also start an advanced similarity search for this article.