Bulletin of Computer Science Research
Vol. 6 No. 4 (2026): June 2026

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

Muhamad Toriq Aziz Firdaus (Universitas Negeri Semarang, Semarang)
Florentina Yuni Arini (Universitas Negeri Semarang, Semarang)



Article Info

Publish Date
07 Jun 2026

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.

Copyrights © 2026






Journal Info

Abbrev

bulletincsr

Publisher

Subject

Computer Science & IT

Description

Bulletin of Computer Science Research covers the whole spectrum of Computer Science, which includes, but is not limited to : • Artificial Immune Systems, Ant Colonies, and Swarm Intelligence • Bayesian Networks and Probabilistic Reasoning • Biologically Inspired Intelligence • Brain-Computer ...