Naïve Bayes Optimization for Visual Ergonomics Prediction in Smartphone Display Mode
Abstract
Smartphone display modes (dark mode and light mode) play an important role in visual comfort, especially in relation to the risk of digital eye strain due to intensity of use and lighting conditions. This study aims to optimize the Naïve Bayes algorithm to predict display mode preferences based on users' visual ergonomics factors. Data were collected through an online survey of 283 smartphone users using purposive and convenience sampling. Seven variables were used as features, namely age, gender, duration of use, dominant time of use, purpose of use, screen type, and lighting conditions, with display mode preference as the target label. The study built two models, namely the baseline Naïve Bayes and the optimal model. Optimization was carried out by balancing the data with the Synthetic Minority Oversampling Technique for Nominal (SMOTEN) and adjusting the alpha hyperparameter using GridSearchCV. The evaluation results showed that the baseline model achieved an accuracy of 68.42% with a light mode class recall of 0.57. After optimization, the accuracy increased to 70.18% and the light mode recall rose to 0.71, indicating an improvement in the model's ability to recognize minority classes and reduce prediction bias. This study shows that SMOTEN optimization and hyperparameter tuning effectively improve the model's sensitivity to user preferences and have the potential to support the development of adaptive interfaces that automatically adjust the display mode to improve user visual comfort.
Downloads
References
P. Sengsoon and R. Intaruk, “Immediate Effects of Light Mode and Dark Mode Features on Visual Fatigue in Tablet Users,” Int J Environ Res Public Health, vol. 22, no. 4, Apr. 2025, doi: 10.3390/ijerph22040609.
A. Shrestha, S. Shrestha, B. Paneru, S. Paudel, and A. Adhikari, “An Exploration of Effects of Dark Mode on University Students: A Human Computer Interface Analysis,” arXiv Preprint, vol. abs/2409.10895, 2024, doi: 10.48550/ARXIV.2409.10895.
P. Tian et al., “Effects of Paradigm Color and Screen Brightness on Visual Fatigue in Light Environment of Night Based on Eye Tracker and EEG Acquisition Equipment,” Sensors, vol. 22, no. 11, Jun. 2022, doi: 10.3390/s22114082.
B. Dandumahanti, P. Chittoor, and M. Subramaniyam, “Digital Eye Strain Monitoring for One-Hour Smartphone Engagement Through Eye Activity Measurement System,” J Eye Mov Res, vol. 18, no. 4, p. 34, Aug. 2025, doi: 10.3390/jemr18040034.
H. P. Huang, M. Wei, H. C. Li, and L. C. Ou, “Visual Comfort of Tablet Devices Under a Wide Range of Ambient Light Levels,” Applied Sciences, vol. 11, no. 18, Sep. 2021, doi: 10.3390/app11188679.
Q. Fan, J. Xie, Z. Dong, and Y. Wang, “The Effect of Ambient Illumination and Text Color on Visual Fatigue under Negative Polarity,” Sensors, vol. 24, no. 11, Jun. 2024, doi: 10.3390/s24113516.
A. Yang, C. H. Goh, and L. J. Yi, “The Research Into Dark Mode: A Systematic Review Using A Two-Stage Approach And The S-O-R Framework,” arXiv Preprint, vol. abs/2311.00000, 2023, arXiv:2311.00000.
Z. While and A. Sarvghad, “Dark Mode or Light Mode? Exploring the Impact of Contrast Polarity on Visualization Performance Between Age Groups,” IEEE Visualization and Visual Analytics (VIS), Oct. 2024, doi: 10.1109/VIS55277.2024.00050.
Abd. C. Fauzan and K. Hikmah, “Implementasi Algoritma Naive Bayes Dalam Analisis Polarisasi Opini Masyarakat Terkait Vaksin Covid-19,” Rabit : Jurnal Teknologi dan Sistem Informasi Univrab, vol. 7, no. 2, pp. 122–128, Jul. 2022, doi: 10.36341/rabit.v7i2.2403.
M. Zhang, Y. Gong, R. Deng, and S. Zhang, “The Effect Of Color Coding And Layout Coding On Users’ Visual Search On Mobile Map Navigation Icons,” Front Psychol, vol. 13, 2022, doi: 10.3389/fpsyg.2022.1040533.
D. Safitri, S. S. Hilabi, and F. Nurapriani, “Analisis Penggunaan Algoritma Klasifikasi Dalam Prediksi Kelulusan Menggunakan Orange Data Mining,” Rabit : Jurnal Teknologi dan Sistem Informasi Univrab, vol. 8, no. 1, pp. 75–81, Jan. 2023, doi: 10.36341/rabit.v8i1.3009.
S. Ma, C. Chunyang, H. Khalajzadeh, and J. Grundy, “A First Look at Dark Mode in Real-World Android Apps,” ACM Transactions on Software Engineering and Methodology, vol. 33, no. 1, pp. 1–9, 2023, doi: 10.1145/3604607.
M. R. Atsani, I. A. Mukaromah, and M. H. C. Anugerah, “The Role of Color in User Experience: A Systematic Literature Study of User Preferences for Dark and Light Mode,” Transactions on Informatics and Data Science, vol. 2, no. 1, pp. 41–54, Jun. 2025, doi: 10.24090/tids.v2i1.13903.
F. J. Pathari, Y. Nielsen, L. I. Andersen, and G. Marentakis, “Dark Vs. Light Mode On Smartphones: Effects On Eye Fatigue,” arXiv Preprint, vol. abs/2409.10895, 2024, arXiv:2409.10895.
L. M. Ikhlas, V. P. Rantung, and G. C. Rorimpandey, “Penerapan Algoritma Naive Bayes Classifier dalam Menganalisis Sentimen pada Produk Smartphone Tipe Terbaru,” Journal of Informatics, Business, Education, and Innovation Technology, vol. 6, no. 1, 2025, doi: (DOI belum tersedia pada laman jurnal).
M. Fazri and A. Voutama, “Analisis Sentimen Publik Terhadap Danantara di Media Sosial X Menggunakan NLP dan Pembelajaran Mesin,” JOISIE (Journal Of Information Systems And Informatics Engineering), vol. 9, no. 1, p. 197, Jul. 2025, doi: 10.35145/joisie.v9i1.4924.
R. Herdian Saputra and R. Randy Suryono, “Perbandingan Algoritma SVM, Random Forest, dan Naive Bayes Terhadap Kasus Scam di Media Sosial Twitter,” Technology and Science (BITS), vol. 7, no. 2, 2025, doi: 10.47065/bits.v7i2.7236.
A. Wibowo and A. Rohman, “Prediksi Predikat Kelulusan Mahasiswa Menggunakan Naive Bayes dan Decision Tree pada Universitas XYZ,” EXPERT: Jurnal Manajemen Sistem Informasi dan Teknologi, vol. 12, no. 2, p. 104, Dec. 2022, doi: 10.36448/expert.v12i2.2810.
Q. Aini, M. N. F. Hidayat, and A. Tholib, “Analisis Sentimen Hasil Pemilu (Quick Count) Calon Presiden dan Wakil Presiden 2024 di Media Sosial Media X Menggunakan Metode Bidirectional Long Short-Term Memory (BiLSTM),” Journal of Computer System and Informatics (JoSYC), vol. 5, no. 3, pp. 690–700, May 2024, doi: 10.47065/josyc.v5i3.5223.
R. F. Rahman and F. Irwiensyah, “Analisis Sentimen Ulasan Pengguna Aplikasi Alibaba.Com pada Google Playstore Menggunakan Naïve Bayes,” Journal of Computer System and Informatics (JoSYC), vol. 6, no. 1, pp. 64–72, Nov. 2024, doi: 10.47065/josyc.v6i1.6132.
K. H. Sasongko and A. M. Hilda, “Analisis Sentimen Terhadap Film Dirty Vote Pada Media Sosial X dan YouTube Dengan Algoritma Naive Bayes dan SVM,” Journal of Computer System and Informatics (JoSYC), vol. 6, no. 1, pp. 73–85, Nov. 2024, doi: 10.47065/josyc.v6i1.6150.
A. Suarisman, A. Nazir, F. Syafria, and L. Afriyanti, “Perbandingan Jarak Metrik pada Klasifikasi Jamur Beracun Menggunakan Algoritma K-Nearest Neighbor (K-NN),” Journal of Computer System and Informatics (JoSYC), vol. 5, no. 1, pp. 10–19, Nov. 2023, doi: 10.47065/josyc.v5i1.4511.
Bila bermanfaat silahkan share artikel ini
Berikan Komentar Anda terhadap artikel Naïve Bayes Optimization for Visual Ergonomics Prediction in Smartphone Display Mode
Pages: 1910-1919
Copyright (c) 2025 Rizkha Tegar Pambudi, Agung Wibowo

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under Creative Commons Attribution 4.0 International License that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (Refer to The Effect of Open Access).





















