Journal of Scientific Research, Education, and Technology
Vol. 5 No. 4 (2026): Vol. 5 No. 4 2026

Mood-Based Song Recommendation System Using TF-IDF and Cosine Similarity

Andri Riyan Dwi Putra Siregar (Muhammadiyah University of North Sumatra Medan)
Rizaldy Khair (Muhammadiyah University of North Sumatra Medan)



Article Info

Publish Date
28 Oct 2026

Abstract

This study created a mood-based music recommendation system using a content-based filtering approach with TF-IDF and Cosine Similarity to handle the huge amount of digital music data. Using about 15,000 songs from Kaggle, the system processes metadata and audio features like valence, energy, danceability, and tempo, all implemented in a Python and Flask web app. The mix of text similarity and audio features works really well for giving spot-on recommendations, as shown by performance scores of 0.97 accuracy, 0.90 precision, 0.82 recall, and 0.86 F1-score. Plus, with a System Usability Scale (SUS) rating in the good range, the system is not just technically accurate but also super easy to use and well-liked by users.

Copyrights © 2026






Journal Info

Abbrev

jrest

Publisher

Subject

Computer Science & IT Economics, Econometrics & Finance Education Engineering Social Sciences

Description

FOCUS AND SCOPE JSRET (Journal of Scientific Research, Education, and Technology) encourages scientific and technological research, particularly with regard to Indonesia, but not just in terms of authorship or regional coverage of current issues. Scientists, instructors, senior researchers, project ...