ANALISIS PENGARUH FITUR EMOSI MUSIK TERHADAP POPULARITAS LAGU SPOTIFY MENGGUNAKAN RANDOM FOREST DAN SHAP

Giatika Chrisnawati, Muhammad Taqy Hafizh, Hisar Maini Siregar, Faizah Nabilah

Abstract


The rapidly growing digital music industry, enabled by the Spotify platform, enables in-depth analysis of the emotional factors that influence a song's popularity. This study aims to identify significant emotional features, analyze their influence on the number of streams, and develop a data-driven model for predicting song popularity. The research method is an experimental artificial intelligence (machine learning) approach that applies the Random Forest Regression algorithm combined with the Shapley Additive Explanations (SHAP) interpretability method. The research stages include collecting datasets from Kaggle, data preprocessing, model training, and evaluation using the Coefficient of Determination (R²), Mean Absolute Error (MAE), and Root Mean Square Error (RMSE). The results show that valence, danceability, acousticness, and energy have the greatest influence on the number of streams, while instrumentalness has the least. Based on the Shapley Additive Explanations analysis, high emotional values, valence, and danceability contribute positively to song popularity. This study concludes that combining the Random Forest algorithm with the Shapley Additive Explanations method is effective for predicting and understanding the emotional factors that determine song success on Spotify.

Industri musik digital yang berkembang pesat melalui platform Spotify memungkinkan analisis mendalam mengenai faktor emosional yang memengaruhi popularitas sebuah lagu. Penelitian ini bertujuan untuk mengidentifikasi fitur emosional yang signifikan, menganalisis pengaruhnya terhadap jumlah stream, serta membangun model prediksi popularitas lagu menggunakan pendekatan berbasis data. Metode penelitian yang digunakan adalah pendekatan eksperimental kecerdasan buatan (machine learning) dengan menerapkan algoritma Random Forest Regression yang dipadukan dengan metode interpretabilitas SHapley Additive Explanations (SHAP). Tahapan penelitian meliputi pengumpulan kumpulan data (dataset) dari Kaggle, pra-pemrosesan data, pelatihan model, serta evaluasi menggunakan metrik Coefficient of Determination (R²), Mean Absolute Error (MAE), dan Root Mean Square Error (RMSE). Hasil penelitian menunjukkan bahwa fitur valence, danceability, acousticness, dan energy memiliki pengaruh paling signifikan terhadap jumlah stream, sementara fitur instrumentalness tercatat memiliki pengaruh paling kecil. Berdasarkan analisis SHapley Additive Explanations, nilai emosional yang tinggi pada fitur valence dan danceability berkontribusi positif terhadap popularitas lagu. Penelitian ini menyimpulkan bahwa kombinasi algoritma Random Forest dan metode SHapley Additive Explanations efektif dalam memprediksi serta memahami faktor-faktor emosional yang menentukan kesuksesan lagu di platform Spotify


Full Text:

PDF

References


Airlangga, G. (2024). Comparing BDD and TDD: Machine Learning Analysis of Software Quality with SHAP Interpretability. Sinkron : Jurnal Dan Penelitian Teknik Informatika, 8(4), 2615–2625. https://doi.org/10.33395/sinkron.v8i4.14201

Branchris, Yech, K. A., & Wijaya, A. (2026). Klasterisasi Lagu pada Dataset Spotify Berdasarkan Fitur Audio Menggunakan Algoritma K-Means. Sinergi: Jurnal Ilmiah Multidisiplin, 2(1), 106–117. https://publikasi.ahlalkamal.com/index.php/sinergi/article/view/251

Feng, Y., & Wang, M. (2025). Effect of music therapy on emotional resilience, well-being, and employability: a quantitative investigation of mediation and moderation. BMC Psychology, 13, 47. https://doi.org/10.1186/s40359-024-02336-x

Gori, T., Sunyoto, A., & Fatta, H. Al. (2024). Preprocessing Data dan Klasifikasi untuk Prediksi Kinerja Akademik Siswa. Jurnal Teknologi Informasi Dan Ilmu Komputer, 11(1), 215–224. https://doi.org/10.25126/jtiik.20241118074

Hapsari, L. N., Fannani, I., Rahmawati, Y., & Muhariya, A. (2026). Explainable Machine Learning untuk Prediksi Risiko Penyakit Jantung Menggunakan Random Forest dan Analisis SHAP. REMIK: Riset Dan E-Jurnal Manajemen Informatika Komputer, 10(1), 190–199. https://doi.org/10.33395/remik.v10i1.15766

Loureiro, C., van der Meulen, K., & del Barrio, C. (2024). Why I listen to music: Emotion regulation and identity construction through music in mid-adolescence. Empiria, 60. https://doi.org/10.5944/empiria.60.2024.39285

Rosyid, I. F., & Pramaditya, H. (2025). Visual Interpretation of Machine Learning Models (Random Forest) for Lung Cancer Risk Classification Using Explainable Artificial Intelligence (SHAP & LIME). JUTIF : Jurnal Teknik Informatika, 6(4), 2187–2206. https://doi.org/10.52436/1.jutif.2025.6.4.4925

Setiawan, A., Utami, E., & Ariatmanto, D. (2024). Cattle Weight Estimation Using Linear Regression and Random Forest Regressor. Jurnal RESTI, 8(1), 72–79. https://doi.org/https://doi.org/10.29207/resti.v8i1.5494

Setiawan, I. K. D., Sudiarsa, I. W., Naratama, I. P. D., & Nope, A. T. (2026). Analisis Klasifikasi Perilaku Pengguna Terhadap Customer Churn Pada Layanan Musik Spotify Menggunakan Metode Random Forest. JMA : Jurnal Media Akademik, 4(1), 1–15. https://doi.org/10.62281/qcrcst95

Simalango, H. M., Amelia, E., Marsyanda, R., Ananda, D., Putra, M. R. S., Setiawan, A. Y., & Chanthy, C. (2025). Music, Algorithms, and Popularity: How TikTok Trends Act as Catalysts in Shaping Contemporary Culture. Musikolastika: Jurnal Pertunjukan Dan Pendidikan Musik, 7(2), 140–153. https://doi.org/10.24036/musikolastika.v7i2.239

Tannady, H., Andry, J. F., & Honni. (2024). Analisis Big Data Spotify dengan Metode Data Mining. JBASE - Journal of Business and Audit Information Systems, 7(2), 52–59. https://doi.org/10.30813/jbase.v7i2.6261

Ye, G., Zhao, Y., Qiu, T., & Wang, H. (2024). Analysis of Factors Influencing Music Popularity and Trend Prediction. Frontiers in Science and Engineering, 4(12). https://doi.org/10.54691/sftbz407




DOI: https://doi.org/10.56486/jris.vol6no2.1186

Article Metrics

Abstract view : 8 times
PDF - 4 times

Refbacks

  • There are currently no refbacks.


TERINDEKS OLEH :