Optimasi Sistem Rekomendasi Musik Berbasis Naïve Bayes: Studi Kasus pada Pengguna Musik di Spotify
Main Article Content
Abstract
Article Summary
This study aims to develop a music recommendation system based on the Naïve Bayes algorithm, using Spotify users in Indonesia as a case study. The dataset was obtained from a questionnaire involving 473 respondents, covering variables such as gender, age, and frequency of Spotify usage. Music genres were grouped into two categories: Majority Favorites (Pop, K-Pop, Jazz, R&B, Indie) and Minority Favorites (Hip Hop, Rock, Religious, Dangdut, EDM, Regional). The research process included data cleaning and transformation, splitting the dataset into 80% training and 20% testing, applying the Naïve Bayes algorithm, and evaluating the model using accuracy, precision, recall, and F1-score metrics. The experimental results showed that the model achieved an accuracy of 95.82%, with 100% precision for the Majority Favorites category and 85.51% for the Minority Favorites category, along with recall values of 94.44% and 100%, respectively. The average F1-score was in the “very good” category, indicating that the model can reliably predict music genre preferences. These findings suggest that the resulting recommendation system is suitable for implementation to help users discover music aligned with their demographic characteristics and listening behavior, while also contributing to the development of recommendation systems based on primary data.
Keywords
Article Keywords
Downloads
Article Details

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 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 a Creative Commons Attribution License (CC-BY 4.0) that allows others to share the work with an acknowledgement 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 acknowledgement 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.
Andry, J. F., Wandy, W., & Lee, F. S. (2025). Analisis Musik Terhadap Kesehatan Mental Menggunakan Teknik Classification. INFORMASI (Jurnal Informatika dan Sistem Informasi), 17(1), 40-52. https://doi.org/10.37424/informasi.v17i1.334.
Arifin, A. A. A., Handoko, W., & Efendi, Z. (2022). Implementasi Metode Naive Bayes Untuk Klasifikasi Penerima Program Keluarga Harapan. J-Com (Journal of Computer), 2(1), 21-26.
As' ari, W. R., Arifin, M., Fithri, D. L., & Setiaji, P. (2025). ANALISIS SENTIMEN ULASAN PENGGUNA APLIKASI SPOTIFY DI GOOGLE PLAY STORE MENGGUNAKAN ALGORITMA NAIVE BAYES. JATI (Jurnal Mahasiswa Teknik Informatika), 9(2), 3600-3607.
Ginabila, G., & Fauzi, A. (2023). Analisis Sentimen Terhadap Pemutar Musik Online Spotify Dengan Algoritma Naive Bayes dan Support Vector Machine. Jurnal Ilmiah ILKOMINFO-Ilmu Komputer & Informatika, 6(2), 111-122. https://doi.org/10.47324/ilkominfo.v6i2.180.
Hendri, D., Nadha, D., Basri, F. K., Wajdi, M. F., & Nadhirah, N. (2024). Comparation of Decision Tree Algorithm, Naive Bayes, K-Nearest Neighbords on Spotify Music Genre. IJATIS: Indonesian Journal of Applied Technology and Innovation Science, 1(1), 47-53.
Jatsiah, S., & Usman, M. S. (2025). Preferensi Genre Music Menggunakan Algoritma Naive Bayes. TEKNO: Jurnal Penelitian Teknologi dan Peradilan, 3(1), 15-21.
Julianto, M. R., Akbar, Y., & Wahyudi, T. (2024). Analisis sentimen respon publik terhadap program internet gratis di platform X melalui pendekatan algoritma Naïve Bayes. Jurnal Indonesia: Manajemen Informatika dan Komunikasi, 5(3), 2940-2950.
Maulana, B., Febrian, D., Fachrezi, I. R., & Zeen, M. F. (2025). Comparison of Support Vector Machine, Random Forest, and C4. 5 Algorithms for Customer Loss Prediction. IJATIS: Indonesian Journal of Applied Technology and Innovation Science, 2(1), 1-6. https://doi.org/10.57152/ijatis.v2i1.1102.
Navisa, S., Hakim, L., & Nabilah, A. (2021). Komparasi Algoritma Klasifikasi Genre Musik pada Spotify Menggunakan CRISP-DM. Jurnal Sistem Cerdas, 4(2), 114-125. https://doi.org/10.37396/jsc.v4i2.162.
Pamungkas, A. (2022). Analisis performansi jaringan Fiber to The Home berbasis Gigabit Capable Passive Optical di IZI Network Sekeloa Utara (Doctoral dissertation, Universitas Komputer Indonesia).
Putro, H. F., Vulandari, R. T., & Saptomo, W. L. Y. (2020). Penerapan Metode Naive Bayes Untuk Klasifikasi Pelanggan. Jurnal Teknologi Informasi dan Komunikasi (TIKomSiN), 8(2). http://dx.doi.org/10.30646/tikomsin.v8i2.500.
Ramdhani, M. R. F., & Lhaksmana, K. M. (2023). Analisis Sentimen Menggunakan Metode Naive Bayes dan Support Vector Machine pada Ulasan Aplikasi Spotify. eProceedings of Engineering, 10(3).
Riskawati, R., Fatihanursari, F., Iin, I., & Rinaldi, A. R. (2024). Penerapan Metode Naïve Bayes Classifier Pada Analisis Sentimen Aplikasi Gopay. JATI (Jurnal Mahasiswa Teknik Informatika), 8(1), 346-353.
Senika, A., Rasiban, R., & Iskandar, D. (2022). Implementasi metode Naïve Bayes dalam penilaian kinerja sales marketing pada PT. Pachira Distrinusa. Jurnal Media Informatika Budidarma, 6(1), 701.
Surapati, U., & Zulkarnain, A. Y. (2023). Implementasi metode Naïve Bayes untuk mendeteksi hate speech pada Twitter. INTECOMS J. Inf. Technol. Comput. Sci, 6(2), 830-837.
Tannady, H., Andry, J. F., & Honni, H. (2024). Analisis Big Data Spotify dengan Metode Data Mining. JBASE-Journal of Business and Audit Information Systems, 7(2).
Triyono, A., & Faqih, A. (2025). Implementation of the Naive Bayes Method in Sentiment Analysis of Spotify Application Reviews. Journal of Artificial Intelligence and Engineering Applications (JAIEA), 4(2), 1091-1097. https://doi.org/10.59934/jaiea.v4i2.824.