The Feature Importance Analysis of Music Recommendation System with K-means and K-Nearest Neighbors

Authors

  • Ruining Yang

DOI:

https://doi.org/10.61173/wyknsa61

Keywords:

Recommendation System, K-means, K-Nearest Neighbors, Machine Learning

Abstract

With the rapid development of science and technology, society has entered an era of high informatization. The recommendation system can alleviate the problem of information overload due to the vast and complex information on the Internet. Music recommendation is one of the main application fields of the recommendation system. This paper revolves around building a music recommendation system using Spotify’s dataset. There are two main methods used in this paper to analyze the importance of features in music recommendation based on machine learning techniques. Specifically, this paper uses K-means clustering to identify similarities in the feature combination, bringing together songs with similar types. K-Nearest Neighbors (KNN) is used to find the nearest neighbours to a song by combining the selected features. In the evaluation part, to ensure the feature pairs are significant to KNN models, the accuracy is calculated and compared before and after one specific feature combination is removed. The results reveal that energy and valence are the most compelling feature combinations according to the cluster analysis. Besides, the accuracy after removing any feature is smaller than the accuracy using all features, which reflects that these features are essential for the KNN model. However, the feature combination (energy and valence) shows that the contradictory results indicate that any single analysis method for determining the importance of a feature is one-sided.

References

[1] S. Bhaskaran, Raja Marappan. Enhanced personalized recommendation system for machine learning public datasets: generalized modeling, simulation, significant results and analysis. International Journal of Information Technology, 2023, 15(3): 1583-1595.

[2] S. Bhaskaran, Raja Marappan. Design and analysis of an efficient machine learning based hybrid recommendation system with enhanced density-based spatial clustering for digital e-learning applications. Complex & Intelligent Systems, 2023, 9(4): 3517-3533.

[3] Wangmei Chen, Zepeng Shen, Yiming Pan, et al. Applying Machine Learning Algorithm to Optimize Personalized Education Recommendation System. Journal of Theory and Practice of Engineering Science, 2024, 4(01): 101-108.

[4] Brijesh Bakariya, Arshdeep Singh, Harmanpreet Singh, et al. Facial emotion recognition and music recommendation system using CNN-based deep learning techniques. Evolving Systems, 2024, 15(2): 641-658.

[5] Yashar Deldjoo, Markus Schedl, Peter Knees. Contentdriven music recommendation: Evolution, state of the art, and challenges. Computer Science Review, 2024, 51: 100618.

[6] Zhikang Dong, Xiulong Liu, Bin Chen, et al. Musechat: A conversational music recommendation system for videos// Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. 2024: 12775-12785.

Downloads

Published

2024-10-29