Audio Data Analysis and Music Genre Classification with Various Machine Learning Techniques

2025

Closed access Metadata (CSL-JSON)
DOI 10.1109/snpd65828.2025.11254808
Data confidence 70 medium
How this score is calculated

It is built from checkable properties of the record itself: whether the article has a DOI, how many independent sources confirmed its data, whether the required fields are filled in, and how recent the latest confirmation is. Disagreement between sources and a missing identifier lower it. A value of 80 or above means the record was published without further checking; 60 to 79 means it is published at reduced confidence, with a manual check advisable. A record verified by an editor by hand is never pushed below 90 by a recalculation. This scores our data about the article, not the article itself.

Abstract

Music genre classification presents several challenges, including high-dimensional audio data, overlapping genre characteristics, and subjective labeling. Although machine learning has shown promise in addressing these challenges, many studies either focus on a narrow range of models or lack comparative performance insights. In this study, we perform a comprehensive evaluation of ten machine learning algorithms for music genre classification using the widely adopted GTZAN dataset. The models include Naïve Bayes, Support Vector Machines, K-Nearest Neighbors (KNN), Random Forest, Neural Networks, and Extreme Gradient Boosting (XGBoost), among others. Our results demonstrate that XGBoost achieved the highest accuracy at 90.09%, outperforming Random Forest (81.42%) and KNN (80.58%) by a significant margin. Feature importance analysis highlights that percussive, harmonic, and spectral features contribute most substantially to genre discrimination. Notably, XGBoost’s superior performance suggests its ability to effectively capture non-linear patterns in musical features, offering a strong alternative to traditional classifiers. This work contributes a broad comparative analysis and emphasizes the effectiveness of ensemble-based approaches in music genre classification, providing valuable insights for future research and practical applications in music information retrieval.