Random Forest-Based Prediction of Self-Reported Headache Complaint Indicators Among College Students Using Daily Activity and IoT Sensor Data
DOI:
10.33395/sinkron.v10i3.16350Keywords:
Decision Tree, Feature Importance, Headaches, Random Forest, IoT SensorsAbstract
Headache complaints among college students may be associated with daily activity patterns and environmental conditions. This study aimed to model self-reported headache complaint indicators using daily activity questionnaire data and Internet of Things environmental data without positioning the output as a clinical diagnosis. Environmental data were recorded using BME280, BH1750, and MQ-135 sensors, while daily activity data were collected using a self-report questionnaire. Sensor readings were aggregated by date and integrated with questionnaire responses to form 305 records from 59 respondents. Random Forest was optimized using Randomized Search CV and evaluated against Decision Tree and K-Nearest Neighbors under three feature scenarios Internet of Things features, daily activity features, and combined features. SMOTE was applied only to the training data, and model differences were assessed using the McNemar test and Wilcoxon signed-rank test. Random Forest achieved the highest overall performance in the daily activity questionnaire scenario, with 81.52% accuracy, 84.96% F1-score, and 85.32% mean cross-validation F1-score. In the combined scenario, Random Forest obtained 77.17% accuracy and 81.08% F1-score. Statistical testing showed significant differences only in selected McNemar comparisons, while Wilcoxon tests on cross-validation F1-scores were not significant across all comparisons. Daily activity data were more informative than date-level environmental sensor data in this dataset. The findings should be interpreted as exploratory numerical performance results rather than evidence of clinical causality or universal model superiority.
Downloads
References
Alif, B., Hidayat, N., Tunjung, W., Ashhabul, M., Mathar, K., & Setiarini, R. (n.d.). Hubungan Stres, Kualitas Tidur dan Aktivitas Fisik terhadap Kejadian Migrain Mahasiswa FK UNRAM Angkatan 2021. Jurnal Syntax Admiratio) 5(3). doi: doi.org/10.46799/jsa.v5i3.1046.
Ary Prandika Siregar, Dwi Priyadi Purba, Jojor Putri Pasaribu, & Khairul Reza Bakara. (2023). Implementasi Algoritma Random Forest Dalam Klasifikasi Diagnosis Penyakit Stroke. Jurnal Penelitian Rumpun Ilmu Teknik, 2(4), 155–164. https://doi.org/10.55606/juprit.v2i4.3039
Gea, J. H., Agustinus Rudatyo Himamunanto, & Haeny Budiati. (2025). Analisis Kinerja Random Forest Dalam Deteksi Gejala Alergi Rongga Mulut Berbasis Warna Gusi. Bulletin of Computer Science Research, 5(4), 734–744. https://doi.org/10.47065/bulletincsr.v5i4.657
Inzagi, F. M., Amirudin, M., & Winasis, G. (2025). Sistem Monitoring Cuaca Berbasis IoT dengan Integrasi Mikrokontroler ESP32 dan Notifikasi Real-Time pada Penjemuran Kerupuk. JETI (Jurnal Elektro dan Teknologi Informasi), 4(1). doi: https://doi.org/10.26877/aqnxq374.
Kurnia, H. (2025). IMPLEMENTASI IOT PADA SISTEM MONITORING SUHU DAN KELEMBABAN MENGGUNAKAN ESP32, FIREBASE DAN KODULAR. JATI (Jurnal Mahasiswa Teknik Informatika), 9(1). doi: doi.org/10.36040/jati.v9i1.12874.
Maulidah, M., & Hidayati, N. (2024). PREDIKSI KESEHATAN TIDUR DAN GAYA HIDUP MENGGUNAKAN MACHINE LEARNING. CONTEN : Computer and Network Technology, 4(1). http://jurnal.bsi.ac.id/index.php/conten
Muhammad Alfathan Harriz. (2025). Implementasi Random Forest dan SMOTE untuk Prediksi Risiko Putus Sekolah Dasar Menuju Indonesia Emas 2045. Bridge : Jurnal Publikasi Sistem Informasi Dan Telekomunikasi, 3(2), 11–23. https://doi.org/10.62951/bridge.v3i2.408
Muttaqin, R., Sakti, W., Prayitno, W., Setyaningsih, N. E., & Nurbaiti, U. (2024). Rancang Bangun Sistem Pemantauan Kualitas Udara Berbasis Iot (Internet Of Things) dengan Sensor DHT11 dan Sensor MQ135. In Jurnal Pengelolaan Laboratorium Pendidikan 6(2).
Prediksi Penyakit Hipertensi Menggunakan Metode Decison Tree dan Random Forest. (2024). Jurnal Ilmiah Komputasi, 23(1). https://doi.org/10.32409/jikstik.23.1.3503
Rivangga, S., Yanuarti, R., & Nilogiri, A. (2024). Implementasi Cloud Computing Pada Prediksi Tingkat Kualitas Udara Berbasis Internet Of Things. JUSTINDO (Jurnal Sistem Dan Teknologi Informasi Indonesia), 9(2), 77–86. https://doi.org/10.32528/justindo.v9i2.1574
Roris, R. P., Saputra, A., Fahrizal, A., Susilowati, S., Rianto, H., & Nuryamin, Y. (2025). Prediksi ISPU Jakarta Menggunakan Random Forest. Journal Automation Computer Information System, 5(2), 293–305. https://doi.org/10.47134/jacis.v5i2.139
Simamora, S. N., Karo, J. N., & Siregar, I. J. (2025). Implementation of Random Forest Algorithm for Early Detection of Heart Health Using IoT and MAX30102 Sensors. JITE (Journal of Informatics and Telecommunication Engineering), 9(1), 129–138. https://doi.org/10.31289/jite.v9i1.15062
Syofyan, J. F., Made, I., Adnyana, O., Ketut, D., Utami, I., & Susilawathi, N. M. (n.d.). Relationship between Sleep Quality and Primary Headache in Medical Bachelor’s Program Students at Udayana University. In Original Research Article University. Indian Journal of Public Health Research and Development 15(3).
Tamba, P. (2022). PREDIKSI PENYAKIT GAGAL JANTUNG DENGAN MENGGUNAKAN RANDOM FOREST. JUSIKOM (Jurnal Sistem vii Informasi dan Ilmu Komputer Prima), 5(2). doi: 10.34012/jurnalsisteminformasidanilmukomputer.v5i2.2445.
Yennimar, Y., Valentino Hutagalung, S., Roni Rumapea, E., Justin Gesitera Hia, M., Sembiring, T., & Rukmana Manday, D. (2023). COMPARISON OF SUPPORT VECTOR REGRESSION AND RANDOM FOREST REGRESSION ALGORITHMS ON GOLD PRICE PREDICTIONS. JUSIKOM (Jurnal Sistem Informasi dan Ilmu Komputer Prima), 7(1). doi: 10.34012/jurnalsisteminformasidanilmukomputer.v7i1.4125.
Downloads
How to Cite
Issue
Section
License
Copyright (c) 2026 Adrian Halomoan Parerus Simbolon, Juliansyah Putra Tanjung, Renaldy Syahputra, Aditya Ahmad Pribadi

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.






















Moraref
PKP Index
Indonesia OneSearch
OCLC Worldcat
Index Copernicus
Scilit
