Skip to main content
Article thumbnail
Location of Repository

A Machine Learning Approach to Automatic Music Genre Classification

By Carlos N. Silla Jr, Alessandro L. Koerich and Celso A.A. Kaestner


This paper presents a non-conventional approach for the automatic music genre classification problem. The proposed approach uses multiple feature vectors and a pattern recognition ensemble approach, according to space and time decomposition schemes. Despite being music genre classification a multi-class problem, we accomplish the task using a set of binary classifiers, whose results are merged in order to produce the final music genre label (space decomposition). Music segments are also decomposed according to time segments obtained from the beginning, middle and end parts of the original music signal (time-decomposition). The final classification is obtained from the set of individual results, according to a combination procedure. Classical machine learning algorithms such as Naïve-Bayes, Decision Trees, k Nearest-Neighbors, Support Vector Machines and Multi- Layer Perceptron Neural Nets are employed. Experiments were carried out on a novel dataset called Latin Music Database, which contains 3,160 music pieces categorized in 10 musical genres. Experimental results show that the proposed ensemble approach produces better results than the ones obtained from global and individual segment classifiers in most cases. Some experiments related to feature selection were also conducted, using the genetic algorithm paradigm. They show that the most important features for the classification task vary according to their origin in the music signal

Topics: QA76
Publisher: Brazilian Computer Society (SBC)
Year: 2008
OAI identifier:

Suggested articles


  1. (2006). Aggregate features and ADABOOST for music classification. doi
  2. (2004). Automatic classification of audio data. doi
  3. Ensemble methods in doi
  4. (1997). Feature selection for classifi-cation. Intelligent Data Analysis, doi
  5. (1997). Feature selection for classification. Intelligent Data Analysis, doi
  6. (2007). How many beans make five? the consensus problem in Music Genre Classification and a new evaluation method for single genre categorization systems.
  7. (2003). Representing musical genre: a state of the art. doi
  8. (1997). Selection of relevant features and examples doi

To submit an update or takedown request for this paper, please submit an Update/Correction/Removal Request.