Jurnal Saintekom : Sains, Teknologi, Komputer dan Manajemen
Vol 16 No 1 (2026): Maret 2026

Perbandingan Decision Tree, KNN, dan Naive Bayes pada Klasifikasi Mood Musik Menggunakan Dataset Emotion Kaggle

Rahman, Miftakhur (Unknown)
Lutfi, Muhammad Arham (Unknown)
Wakhidah, Nur (Unknown)



Article Info

Publish Date
31 Mar 2026

Abstract

The classification of music mood characteristics is a crucial instrument in Music Information Retrieval (MIR) systems to support recommendation technology and AI-based emotion analysis. This study aims to evaluate and compare the performance of three classification algorithms: Decision Tree, K-Nearest Neighbors (KNN), and Naive Bayes. The dataset utilized is sourced from the Kaggle Emotion Dataset, comprising 1,440 audio files. The feature extraction process was conducted using the Librosa library to capture acoustic parameters, including Mel-Frequency Cepstral Coefficients (MFCC), Delta-MFCC, Chroma, Spectral Contrast, Spectral Centroid, Spectral Bandwidth, and Tempo. All features were normalized using StandardScaler and distributed into training and testing sets with an 80:20 ratio. Based on the experimental results, the K-Nearest Neighbors algorithm demonstrated the most superior performance with an accuracy of 71.52%. Meanwhile, the Decision Tree algorithm achieved an accuracy of 54.16%, and Naive Bayes obtained 53.47%. The primary contribution of this research is the empirical evidence of the effectiveness of distance-based algorithms in identifying emotional patterns within multidimensional audio data. These findings provide a robust methodological reference for the future development of music emotion recognition systems

Copyrights © 2026






Journal Info

Abbrev

saintekom

Publisher

Subject

Computer Science & IT Decision Sciences, Operations Research & Management

Description

Jurnal Saintekom adalah singkatan dari Sains, Teknologi, Komputer dan Manajemen, merupakan jurnal ilmiah yang berfungsi sebagai media mengkomunikasikan ide, gagasan dan pemikiran seputar kajian aktual tentang sains, teknologi, komputer dan manajemen antarkademisi dan ...