Klasifikasi Gangguan Tidur Berdasarkan Gaya Hidup Menggunakan Algoritma Decision Tree
DOI:
https://doi.org/10.26905/jisad.v3i2.16038Keywords:
Gangguan Tidur;, Data Mining;, Decision Tree;, RapidMiner;Abstract
This study aims to build a classification model for sleep disorders including Sleep Apnea, Insomnia, and Normal based on lifestyle using the Decision Tree algorithm. The secondary dataset contains lifestyle variables and health indicators (such as sleep duration, sleep quality, daily steps, stress level, heart rate, and BMI) with a total of more than 400 entries. The data was preprocessed by converting duration and blood pressure to numeric variables and encoding categorical variables, and divided into training data (80%) and test data (20%) in RapidMiner. The results showed that the model achieved an accuracy of 85.33%, and the precision, recall, and f1-score metrics were around 84%. The most influential variables included daily steps, heart rate, sleep duration, sleep quality, and stress level. The decision tree structure also successfully extracted easily interpretable classification rules, for example, individuals with 5,300 steps and a heart rate of 83.5 bpm tend to be classified as Sleep Apnea. This model has the potential to be used in lifestyle-based sleep health decision support systems. Further research is recommended using larger datasets, additional algorithms, and variables such as caffeine consumption and device use to improve
accuracy.
Downloads
References
[1] S. Subairi, D. C. Permatasari, W. Dirgantara, Y. Surya Akbar Gumilang, I. Zahroya J.M.F., And H. Haitsam, “Deteksi Sleep Apnea Menggunakan Metode Decision Tree Dengan Fitur Statistik Rr Interval,” Jurnal Eeccis (Electrics, Electronics, Communications, Controls, Informatics, Systems), Vol. 16, No. 3, Pp. 96–100, 2022, Doi: 10.21776/Jeeccis.V16i3.1603.
[2] M. Sejbuk, I. Mirończuk-Chodakowska, And A. M. Witkowska, “Sleep Quality: A Narrative Review On Nutrition, Stimulants, And Physical Activity As Important Factors.,” Nutrients, Vol. 14, No. 9, May 2022, Doi: 10.3390/Nu14091912.
[3] Q. Lv Et Al., “Influencing Factors Of Sleep Disorders And Sleep Quality In Healthcare Workers During The Covid-19 Pandemic: A Systematic Review And Meta-Analysis.,” Nurs Open, Vol. 10, No. 9, Pp. 5887–5899, Sep. 2023, Doi: 10.1002/Nop2.1871.
[4] M. Zakariyah And U. Zaky, “Analysis Of Machine Learning Algorithm For Sleep Apnea Detection Based On Heart Rate Variability,” Juita : Jurnal Informatika, Vol. 10, No. 2, P. 173, 2022, Doi: 10.30595/Juita.V10i2.14575.
[5] R. P. Putra And F. Marisa, “Klasifikasi Jenis Kanker Prostat Melalui Citra Mri Menggunakan Pengolahan Citra Digital,” Jurnal Teknologi Dan Manajemen Informatika, Vol. 10, No. 2, Pp. 143–153, 2024, Doi: 10.26905/Jtmi.V10i2.12666.
[6] F. A.-I. A. Putra, A. G. Sulaksono, L. T. Utomo, And A. R. Khamdani, “Klasifikasi Buah Dan Sayur Menggunakan Fitur Ekstraksi Hog Dan Metode Knn,” Jurnal Informatika Polinema, Vol. 10, No. 1, Pp. 45–52, 2023, Doi: 10.33795/Jip.V10i1.1433.
[7] W. D. Septiani, “Klasifikasi Gangguan Tidur Menggunakan Metode Decision Tree Dan Algoritma Genetika,” Vol. 13, Pp. 2668–2675, 2025.
[8] Z. Alhariz And R. Alfiandi, “Prevalensi Insomnia Pada Mahasiswa Universitas Syiah Kuala Prevalence Of Insomnia In University Students At Syiah Kuala University,” Pp. 8–15, 2023.
[9] A. Haryono Et Al., “Prevalensi Gangguan Tidur Pada Remaja,” Sari Pediatri, Vol. 11, No. 3, P. 149, 2016.
[10] T. Misriati And R. Aryanti, “O Ptimasi K Lasifikasi G Angguan T Idur P Ada D Ataset T Idak S Eimbang,” Vol. 19, Pp. 128–136, 2025.
[11] R. Forest And S. Apnea, “Perbandingan Random Forest Dan Support Vector Machine,” Vol. 16, No. 2, Pp. 337–344, 2025.
[12] M. Setiono And Supatman, “Klasifikasi Penyakit Antraknosa Citra Cabai Rawit Dengan Metode Convolutional Neural Network (Cnn),” Jatisi (Jurnal Teknik Informatika Dan Sistem Informasi), Vol. 11, No. 2, Pp. 308–320, 2024.
[13] I. A. Hidayat, “Classification Of Sleep Disorders Using Random Forest On Sleep Health And Lifestyle Dataset,” Journal Of Dinda : Data Science, Information Technology, And Data Analytics, Vol. 3, No. 2, Pp. 71–76, 2023, Doi: 10.20895/Dinda.V3i2.1215.
[14] M. Maulidah And N. Hidayati, “Prediksi Kesehatan Tidur Dan Gaya Hidup Menggunakan Machine Learning,” Conten : Computer And Network Technology, Vol. 4, No. 1, Pp. 81–86, 2024.
[15] M. F. Alie And R. Rahmanda, “Model Prediksi Gangguan Tidur Berdasarkan Beberapa Faktor Menggunakan Machine Learning Prediction Of Sleep Disorders Based On Several Factors Using Machine Learning,” Vol. 9, No. 2, Pp. 504–517, 2024.
Downloads
Published
Issue
Section
License
Copyright (c) 2025 Journal of Information System and Application Development

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Authors who publish in this journal agree to the following terms:
(1) Copyright of the published articles will be transferred to the journal as the publisher of the manuscripts. Therefore, the author confirms that the journal has managed the copyright.
(2) Publisher of JISAD: Journal of Information System and Application Development is the University of Merdeka Malang.
(3) The copyright follows Creative Commons Attribution ShareAlike License (CC BY SA): This license allows to Share - copy and redistribute the material in any medium or format, Adapt - remix, transform, and build upon the material, for any purpose, even commercially.



