RABIT: Jurnal Teknologi dan Sistem Informasi Univrab
Vol 11 No 2 (2026): Juli

KLASTERING LAGU BERBASIS AKTIVITAS PENDENGAR MENGGUNAKAN ALGORITMA SELF ORGANIZING MAP BERDASARKAN FITUR AUDIO SPOTIFY: ACTIVITY BASED SONG CLUSTERING USING THE SELF ORGANIZING MAP ALGORITHM BASED ON SPOTIFY AUDIO FEATURES

Ridho Agiel Syahputra Siallagan (Universitas Muria Kudus)
Muhammad Arifin (Universitas Muria Kudus)
Pratomo Setiaji (Universitas Muria Kudus)



Article Info

Publish Date
10 Jul 2026

Abstract

This study aims to cluster songs based on listener activities using the Self Organizing Map (SOM) algorithm with Spotify audio features. The dataset used in this study was obtained from Kaggle with a total of 20,718 songs. The variables used include Danceability, Energy, Valence, and Acousticness. The research stages consist of data pre-processing, searching for the best SOM parameters using Grid Search, SOM clustering, clustering evaluation using Silhouette Score and Davies-Bouldin Index (DBI), activity labeling, and implementation of a Streamlit-based web dashboard. The results show that the best SOM parameters were obtained using a 2x3 grid, 3000 iterations, sigma 1.0, and learning rate 0.5 with a Silhouette Score of 0.2348 and a DBI value of 1.2894. The Silhouette Score indicates that the separation between clusters is moderate but not perfect, which is reasonable because music data often have continuous and overlapping audio characteristics. Meanwhile, the DBI value indicates that the similarity between clusters is still relatively high, although the clusters can still be interpreted based on their dominant audio characteristics. The clustering process produced six activity clusters, namely Workout, Dancing, Gaming, Sleeping, Studying, and Hanging Out. The Gaming cluster became the largest cluster with 31.35% of the data, while the Workout cluster became the smallest with 9.53%. The web dashboard implementation successfully visualized clustering results, music activity distributions, cluster characteristics, and music recommendations based on listener activities. The study concludes that the SOM algorithm is capable of clustering songs based on Spotify audio feature similarities at a moderate level and can be implemented in activity-based music recommendation systems.

Copyrights © 2026






Journal Info

Abbrev

rabit

Publisher

Subject

Computer Science & IT Engineering

Description

This journal is called RABIT, where the name comes from two words namely, RAB which means Abdurrab University and IT which means information technology, it can be interpreted as a journal of this journal Journal of Informatics Engineering Study Program Pekanbaru Abdurrab University. This RABIT ...