Journal Collabits
Vol 3, No 1 (2026)

Comparison of Random Forest and Naive Bayes Algorithms in Classification of Song Popularity on the Spotify Platform

Saputro, Janu Ilham (Unknown)
Fantomi, Rian (Unknown)
Simbolon, Saoloan (Unknown)
Arizka, Puput Nur (Unknown)
Ramadani, Berlina (Unknown)



Article Info

Publish Date
20 Feb 2026

Abstract

The purpose of this study is to use machine learning to rank Spotify songs based on how popular they are. Because there is so much music data out there, musicians and artists need to know if a song will be popular or not. The dataset has 8,778 songs, each with different features like how popular the artist is, how many followers they have, and other song details. This research evaluates the efficacy of two classification algorithms: Random Forest and Naive Bayes. Artist popularity, artist followers, explicit album total tracks, and track number are the main things that are used to make models. The results of the experiment show that the Random Forest algorithm works better than the Naive Bayes algorithm. The Random Forest algorithm was right 76.54% of the time, but the Naive Bayes algorithm was only right 72.21% of the time. The f1-score for both popularity classes is also better for Random Forest. This finding shows that ensemble-based models, like Random Forest, work better with the features of music popularity data than basic probabilistic models do.

Copyrights © 2026






Journal Info

Abbrev

collabits

Publisher

Subject

Computer Science & IT Engineering

Description

Journal Collabits adalah jurnal yang membahas strategi keamanan cyber untuk meningkatkan kinerja dan keandalan dalam implementasi teknologi kecerdasan buatan (AI), kecerdasan bisnis (BI), dan sains data, yang di kelola oleh Fakultas Ilmu Komputer (FASILKOM) terdiri dari dua prodi yaitu Teknik ...