Implementation of Music Genre Classifier Using KNN Algorithm

Author:

Mu Xuchuan

Abstract

As music history grew, music began to diversify into different genres. Thisstudy aims to implement a music genre classifier using the KNN algorithm and a faster method. The KNN algorithm is accurate but with long execution time. This study implements a new method that can speed up the process of the KNN algorithm, and the K-means clustering algorithm inspires the idea. The dataset is preprocessed using the new idea. The program will select the song that is the centroid of the genre and use the method of the KNN to return the closest genre based on the distance from the test sample to the centroid. In conclusion, the new method did not perform well in accuracy but sped up the program. This study provides a great reference for the music genre classification problem in the machine learning domain. The study investigates an infeasible method in preprocessing data for the KNN algorithm optimization.

Publisher

Darcy & Roy Press Co. Ltd.

Reference10 articles.

1. Wikipedia contributors. (2022, September 2). Music genre. Wikipedia. https://en.m.wikipedia.org/wiki/Music_genre

2. Cover, T., & Hart, P. (1967). Nearest neighbor pattern classification. IEEE transactions on information theory, 13(1), 21-27.

3. Kaggle. 2020. GTZAN Dataset - Music Genre Classification. https://www.kaggle.com/datasets/andradaolteanu/gtzan-dataset-music-genre-classification

4. Ittichaichareon, C., Suksri, S., &Yingthawornsuk, T. (2012, July). Speech recognition using MFCC. In International conference on computer graphics, simulation, and modeling (Vol. 9).

5. Dave, N. (2013). Feature extraction methods LPC, PLP, and MFCC in speech recognition. International Journal for advance research in engineering and technology, 1(6), 1-4.

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3