Optimasi Random Forest Menggunakan Domestic Cattle Optimization Algorithm (DCOA) Untuk Diagnosa Somnipati


Authors

  • Muhamad Toriq Aziz Firdaus Universitas Negeri Semarang, Semarang, Indonesia
  • Florentina Yuni Arini Universitas Negeri Semarang, Semarang, Indonesia

DOI:

https://doi.org/10.47065/bulletincsr.v6i4.1082

Keywords:

Random Forest; SMOTE; DCOA; Sleep Disorder Classification; Hyperparameter Optimization

Abstract

Sleep disorders such as insomnia and sleep apnea, collectively referred to as somnipathy, are health conditions that can significantly reduce quality of life and are associated with various chronic diseases. However, conventional diagnostic methods such as polysomnography (PSG) have limitations in terms of cost, time, and accessibility. Therefore, this study proposes a machine learning–based approach to classify sleep disorders using a combination of Random Forest integrated with the SMOTE and the DCOA. The dataset used in this study is the Sleep Health and Lifestyle Dataset, which consists of 374 records with 13 features representing individuals’ physiological conditions and lifestyle factors. The issue of data imbalance is addressed using SMOTE, while hyperparameter optimization is performed using DCOA to enhance model performance. The findings indicate that the proposed model achieves an accuracy of 97.33%, precision of 97.63%, recall of 97.33%, and an F1-score of 97.32%. These results demonstrate a significant improvement compared to previous studies using the same dataset. Therefore, the proposed approach proves to be effective in improving sleep disorder classification performance and has strong potential to be implemented as an optimal and accurate data-driven decision support system for diagnosis. However, considering the relatively small dataset size, there is a potential risk of overfitting, which necessitates careful evaluation to ensure model generalization.

Downloads

Download data is not yet available.

References

J. M. Dzierzewski et al., “Lifestyle Factors and Sleep Health across the Lifespan,” Public Health, vol. 18, p. 6626, 2021, doi: 10.3390/ijerph/18126626.

L. Sun, L. Zhuang, M. Dai, and Y. Zhou, “Intelligent automatic sleep staging model based on CNN and LSTM,” Frontiers (Boulder)., Jul. 2022, doi: 10.3389/fpubh.2022.946833.

M. Santilli et al., “Prevalence of Obstructive Sleep Apnea Syndrome: A Single-Center Retrospective Study,” Public Health, vol. 18, p. 10277, 2021, doi: 10.3390/ijerph181910277.

C. Haddad, H. Sacre, S. Tawil, P. Salameh, and S. A. Bahous, “The triangulation of multimorbidity: A systematic review of primary sleep disorders, hypertension, and psychiatric disorders,” PLOS Global Public Health, vol. 5, no. 10 October, Oct. 2025, doi: 10.1371/journal.pgph.0005216.

C. Olivera-López, A. Jiménez-Genchi, D. Ortega-Robles, M. Valencia-Flores, S. Cansino, and J. Salvador-Cruz, “Polysomnographic parameters associated with cognitive function in patients with major depression and insomnia,” CNS Spectr., vol. 29, no. 3, pp. 197–205, Jun. 2024, doi: 10.1017/S1092852924000257.

A. A. Alhussan, E. S. M. El-Kenawy, D. S. Khafaga, and M. M. Eid, “Enhancing sleep disorder classification using machine learning and metaheuristic optimization techniques,” Biomed. Signal Process. Control, vol. 110, Dec. 2025, doi: 10.1016/j.bspc.2025.108204.

V. Mansouri et al., “Human Gene Expression Profile Analysis of Insomnia and Pre-insomnia Disorders: A Cellular Study,” Basic Clin. Neurosci., vol. 16, no. 5, pp. 929–940, Sep. 2025, doi: 10.32598/bcn.2025.6876.4.

F. Y. Arini, L. A. Djuanda, A. H. P. Kristianto, M. N. Tiadah, A. P. Wicaksono, and F. A. A. Putra, “Performance Evaluation of Gradient Boosting Techniques for Predicting Customer Purchase Decisions,” Jurnal Teknik Informatika (JUTIF), vol. 7, no. 2, pp. 2723–3863, 2026, doi: 10.52436/1.jutif.2026.7.2.5461.

T. Alshammari, “Applying Machine Learning Algorithms for the Classification of Sleep Disorders,” IEEE Access, Mar. 2024, doi: 10.1109/ACCESS.2023.0322000.

T. Allahviranloo, F. H. Lotfi, and Z. Moghaddas, “Decision Making in Healthcare Systems,” in Studies in System, Decision and Control 513, Springer, 2024, pp. 257–266. doi: 10.1007/978-3-031-46735-6.

M. Migliaccio, A. Abate, C. Bisogni, and L. Cimmino, “Machine Learning-Driven Stress Prediction: A Comparative Analysis and Web Application Using the Sleep Health and Lifestyle Dataset,” in Proceedings - 6th International Conference on Bio-Engineering for Smart Technologies, BioSMART 2025, Institute of Electrical and Electronics Engineers Inc., 2025. doi: 10.1109/BioSMART66413.2025.11046172.

T. R. Rajesh, G. Sravani, B. Lavanya, K. Mithila, and R. Surendran, “Exploring Sleep Disorder and Lifestyle Analysis Through Data Preprocessing and Ensemble Learning Techniques,” in 2nd International Conference on Sustainable Computing and Smart Systems, ICSCSS 2024 - Proceedings, Institute of Electrical and Electronics Engineers Inc., 2024, pp. 791–795. doi: 10.1109/ICSCSS60660.2024.10625498.

C. V. Stephen and T. Islam, “Lifestyle to Sleep Health: A CNN-LSTM Approach for Predicting Sleep Quality and Disorders,” in 2024 International Conference on Intelligent Cybernetics Technology and Applications, ICICyTA 2024, Institute of Electrical and Electronics Engineers Inc., 2024, pp. 1222–1227. doi: 10.1109/ICICYTA64807.2024.10912866.

M. Kumar, B. Ahmed, H. M. Mishra, A. K. Jha, P. K. Sikarwal, and S. Rampal, “Predictive Sleep Disorder Modelling: Using Machine Learning with Lifestyle and Sleep Health Data,” in Proceedings - 3rd International Conference on Advances in Computing, Communication and Applied Informatics, ACCAI 2024, Institute of Electrical and Electronics Engineers Inc., 2024. doi: 10.1109/ACCAI61061.2024.10602153.

F. Y. Arini, F. R. N. Saputra, Liafathra, R. D. R. Artama, and S. Pichai, “Optimizing Heart Disease Prediction: A Collaborative Approach of Support Vector Regression and Grey Wolf Optimizer,” in 2025 International Conference on Smart Computing, IoT and Machine Learning, SIML 2025, Institute of Electrical and Electronics Engineers Inc., 2025. doi: 10.1109/SIML65326.2025.11080978.

K. Ghosh, C. Bellinger, R. Corizzo, P. Branco, B. Krawczyk, and N. Japkowicz, “The class imbalance problem in deep learning,” Mach. Learn., vol. 113, no. 7, pp. 4845–4901, Jul. 2024, doi: 10.1007/s10994-022-06268-8.

A. V. Benjafield et al., “Estimation of the global prevalence and burden of insomnia: a systematic literature review-based analysis,” Aug. 01, 2025, W.B. Saunders Ltd. doi: 10.1016/j.smrv.2025.102121.

A. Kalkanis, D. Lenkens, P. Steiropoulos, and D. Testelmans, “Sleep regularity as an important component of sleep hygiene: a systematic review,” Dec. 01, 2025, W.B. Saunders Ltd. doi: 10.1016/j.smrv.2025.102203.

G. Stavropoulos, R. van Voorstenbosch, F. J. van Schooten, and A. Smolinska, “Random Forest and Ensemble Methods,” in Comprehensive Chemometrics: Chemical and Biochemical Data Analysis, Second Edition: Four Volume Set, vol. 3, Elsevier, 2020, pp. 661–672. doi: 10.1016/B978-0-12-409547-2.14589-5.

F. T. Endomba, P. Y. Tchebegna, E. Chiabi, D. L. Angong Wouna, C. Guillet, and J. C. Chauvet-Gélinier, “Epidemiology of insomnia disorder in older persons according to the Diagnostic and Statistical Manual of Mental Disorders: a systematic review and meta-analysis,” Dec. 01, 2023, Springer Science and Business Media Deutschland GmbH. doi: 10.1007/s41999-023-00862-2.

H. D. Purnomo, T. Gonsalves, E. Mailoa, F. Y. Santoso, and M. R. Pribadi, “Metaheuristics Approach for Hyperparameter Tuning of Convolutional Neural Network,” Jurnal RESTI, vol. 8, no. 3, pp. 340–345, Jun. 2024, doi: 10.29207/resti.v8i3.5730.

Z. Koscova et al., “From sleep patterns to heart rhythm: Predicting atrial fibrillation from overnight polysomnograms,” J. Electrocardiol., vol. 86, Sep. 2024, doi: 10.1016/j.jelectrocard.2024.153759.

K. Kim, “Noise Avoidance SMOTE in Ensemble Learning for Imbalanced Data,” IEEE Access, vol. 9, pp. 143250–143265, Oct. 2021, doi: 10.1109/ACCESS.2021.3120738.

J. Zhang, “Domestic Cattle Optimization Algorithm,” Preprint, Aug. 2025, doi: 10.13140/RG.2.2.15151.04009.

A. Taher and W. I. Z. Ayon, “Exploring Sleep Disorders: A Comparative Analysis of Machine Learning Algorithms on Sleep Health and Lifestyle Data,” in PEEIACON 2024 - International Conference on Power, Electrical, Electronics and Industrial Applications, Institute of Electrical and Electronics Engineers Inc., 2024, pp. 71–75. doi: 10.1109/PEEIACON63629.2024.10800593.


Bila bermanfaat silahkan share artikel ini

Berikan Komentar Anda terhadap artikel Optimasi Random Forest Menggunakan Domestic Cattle Optimization Algorithm (DCOA) Untuk Diagnosa Somnipati

Dimensions Badge

ARTICLE HISTORY

Published: 2026-06-07

Abstract View: 0 times
PDF Download: 0 times

How to Cite

Firdaus, M. T. A., & Arini, F. Y. (2026). Optimasi Random Forest Menggunakan Domestic Cattle Optimization Algorithm (DCOA) Untuk Diagnosa Somnipati. Bulletin of Computer Science Research, 6(4), 1101-1113. https://doi.org/10.47065/bulletincsr.v6i4.1082

Issue

Section

Articles