AbstractThe machine learning approach is widely used to investigate human activities, such as in the art field. In the music industry, a song's popularity is essential to predict before it is released. In this paper, we were interested in predicting the popularity of songs using the __-nearest neighbor regression. The Spotify app was used to gather some information related to the audio features of a song, i.e., song duration, instrumentalness, loudness, acousticness, danceability, energy, liveness, speechiness, audio valence, key, audio mode, tempo, and time signature. This research used mixed-type variables; thus, the dissimilarity is measured using the Gower distance. In addition, two weighting methods were also compared to predict song popularity. Using 10-fold cross-validation, we found that the inversely proportional weights-distance showed better prediction performance when compared with equal weight. Moreover, we also found the best performance in predicting the song popularity is obtai.....