Developing and Comparing Machine Learning Algorithms for Music Recommendation
DOI: http://dx.doi.org/10.62527/joiv.8.3-2.2947
Abstract
The increasing prevalence of song skipping in music streaming applications negatively impacts user satisfaction and subscription retention. Dissatisfaction often arises when users encounter songs they actively dislike, highlighting a gap between user expectations and the value offered by these services. To address this, music recommendation algorithms were researched and developed. Initially, data collection is started. Data collection is through the Spotify application programming interface. This initiation step sets the stage for subsequent exploratory data analysis. Exploratory data analysis examined the collected data to plot a bar chart for total songs released over the years, plot a bar chart for the popularity of songs based on the year it is released, visualize word cloud on frequently mentioned music genres, chart count plot for explicit songs, and chart count plot for song modalities. Data preprocessing involved cleaning the data, handling missing values, and checking for null values to prepare the application of machine learning algorithms. Four machine learning algorithms were applied, k-means, mini-batch k-means, Gaussian mixture, and density-based spatial clustering of applications with noise (DBSCAN), to analyze musical features like rhythm, tempo, and other relevant music attributes. The results showed that the k-means outperforms all other algorithms evaluated regarding recommendation quality, as measured by the Calinski-Harabasz score. Based on the evaluation, the best machine learning will then be applied to identify similarities between songs and be used to generate music recommendation results.
Keywords
Full Text:
PDFReferences
P. Chinnasamy, W. K. Wong, A. A. Raja, O. I. Khalaf, A. Kiran, and J. C. Babu, “Health Recommendation System using Deep Learning-based Collaborative Filtering,” Heliyon, vol. 9, no. 12, Dec. 2023, doi: 10.1016/j.heliyon.2023.e22844.
S. Forouzandeh, M. Rostami, K. Berahmand, and R. Sheikhpour, “Health-aware food recommendation system with dual attention in heterogeneous graphs,” Comput Biol Med, vol. 169, Feb. 2024, doi: 10.1016/j.compbiomed.2023.107882.
R. F. T. Ceskoutsé, A. B. Bomgni, D. R. Gnimpieba Zanfack, D. D. M. Agany, T. Bouetou Bouetou, and E. Gnimpieba Zohim, “Sub-clustering based recommendation system for stroke patient: Identification of a specific drug class for a given patient,” Comput Biol Med, vol. 171, Mar. 2024, doi: 10.1016/j.compbiomed.2024.108117.
S. Siji Rani, P. Shilpa, and A. G. Menon, “Enhancing Drug Recommendations: A Modified LSTM Approach in Intelligent Deep Learning Systems,” Procedia Comput Sci, vol. 233, pp. 872–881, 2024, doi: 10.1016/j.procs.2024.03.276.
I. Ahmed, M. Ahmad, A. Chehri, and G. Jeon, “A heterogeneous network embedded medicine recommendation system based on LSTM,” Future Generation Computer Systems, vol. 149, pp. 1–11, Dec. 2023, doi: 10.1016/j.future.2023.07.004.
G. Liu, “An ecommerce recommendation algorithm based on link prediction,” Alexandria Engineering Journal, vol. 61, no. 1, pp. 905–910, Jan. 2022, doi: 10.1016/j.aej.2021.04.081.
M. Mao, S. Chen, F. Zhang, J. Han, and Q. Xiao, “Hybrid ecommerce recommendation model incorporating product taxonomy and folksonomy,” Knowl Based Syst, vol. 214, Feb. 2021, doi: 10.1016/j.knosys.2020.106720.
R. V. Karthik and S. Ganapathy, “A fuzzy recommendation system for predicting the customers interests using sentiment analysis and ontology in e-commerce,” Appl Soft Comput, vol. 108, Sep. 2021, doi: 10.1016/j.asoc.2021.107396.
B. Walek and P. Fajmon, “A hybrid recommender system for an online store using a fuzzy expert system,” Expert Syst Appl, vol. 212, Feb. 2023, doi: 10.1016/j.eswa.2022.118565.
Y. Yuan and W. Zheng, “Your trip, your way: An adaptive tourism recommendation system,” Appl Soft Comput, vol. 154, Mar. 2024, doi: 10.1016/j.asoc.2024.111330.
W. Zheng, Z. Liao, and Z. Lin, “Navigating through the complex transport system: A heuristic approach for city tourism recommendation,” Tour Manag, vol. 81, Dec. 2020, doi: 10.1016/j.tourman.2020.104162.
Z. Abbasi-Moud, H. Vahdat-Nejad, and J. Sadri, “Tourism recommendation system based on semantic clustering and sentiment analysis,” Expert Syst Appl, vol. 167, Apr. 2021, doi: 10.1016/j.eswa.2020.114324.
Z. Abbasi-Moud, S. Hosseinabadi, M. Kelarestaghi, and F. Eshghi, “CAFOB: Context-aware fuzzy-ontology-based tourism recommendation system,” Expert Syst Appl, vol. 199, Aug. 2022, doi: 10.1016/j.eswa.2022.116877.
G. Behera and N. Nain, “Collaborative Filtering with Temporal Features for Movie Recommendation System,” in Procedia Computer Science, Elsevier B.V., 2022, pp. 1366–1373. doi: 10.1016/j.procs.2023.01.115.
G. K. Nirmal, K. T. V. Durga, N. Hrishita, R. Ramsankar, and M. Panda, “A Cross-Platform Movie Filtering and Recommendation System Using Big Data Analytics,” in Procedia Computer Science, Elsevier B.V., 2024, pp. 81–90. doi: 10.1016/j.procs.2024.04.008.
S. Airen and J. Agrawal, “Movie Recommender System Using Parameter Tuning of User and Movie Neighbourhood via Co-Clustering,” in Procedia Computer Science, Elsevier B.V., 2022, pp. 1176–1183. doi: 10.1016/j.procs.2023.01.096.
N. Pavitha et al., “Movie recommendation and sentiment analysis using machine learning,” Global Transitions Proceedings, vol. 3, no. 1, pp. 279–284, Jun. 2022, doi: 10.1016/j.gltp.2022.03.012.
H. Xian and S. Wu, “Design of an English vocabulary e-learning recommendation system based on word bag model and recurrent neural network algorithm,” Entertain Comput, vol. 50, May 2024, doi: 10.1016/j.entcom.2024.100692.
W. Xi, “Research on E-learning interactive English vocabulary recommendation education system based on naive Bayes algorithm,” Entertain Comput, vol. 51, Sep. 2024, doi: 10.1016/j.entcom.2024.100732.
Y. Zhai, “Design of Oral English Training System Based on Big Data Content Recommendation Algorithm,” in Procedia Computer Science, Elsevier B.V., 2022, pp. 420–426. doi: 10.1016/j.procs.2022.10.059.
K. R, P. Kumar, and B. Bhasker, “DNNRec: A novel deep learning based hybrid recommender system,” Expert Syst Appl, vol. 144, Apr. 2020, doi: 10.1016/j.eswa.2019.113054.
Y. Tian, B. Zheng, Y. Wang, Y. Zhang, and Q. Wu, “College library personalized recommendation system based on hybrid recommendation algorithm,” in Procedia CIRP, Elsevier B.V., 2019, pp. 490–494. doi: 10.1016/j.procir.2019.04.126.
Y. Afoudi, M. Lazaar, and M. Al Achhab, “Hybrid recommendation system combined content-based filtering and collaborative prediction using artificial neural network,” Simul Model Pract Theory, vol. 113, Dec. 2021, doi: 10.1016/j.simpat.2021.102375.
A. Fareed, S. Hassan, S. B. Belhaouari, and Z. Halim, “A collaborative filtering recommendation framework utilizing social networks,” Machine Learning with Applications, vol. 14, p. 100495, Dec. 2023, doi: 10.1016/j.mlwa.2023.100495.
Z. Movafegh and A. Rezapour, “Improving collaborative recommender system using hybrid clustering and optimized singular value decomposition,” Eng Appl Artif Intell, vol. 126, Nov. 2023, doi: 10.1016/j.engappai.2023.107109.
A. S. Akshay, M. Madhura, B. Mounika, & H.S. Rohit, B. M. Vikranth, “Music Recommendation System,” 2019. [Online]. Available: www.ijltemas.in
Ahuja R, Solanki A, and Nayyar A, Movie Recommender System Using K-Means Clustering AND K-Nearest Neighbor.
H. Yu, C. Zhou, J. Bao, H. Yao, P. Yan, and Q. Wang, “Analysis and Effect Evaluation of Offshore Wind Power Output Characteristics Based on Gaussian Mixed Clustering,” in Procedia Computer Science, Elsevier B.V., 2023, pp. 389–394. doi: 10.1016/j.procs.2023.09.053.
F. O. Isinkaye, M. O. Olusanya, and P. K. Singh, “Deep learning and content-based filtering techniques for improving plant disease identification and treatment recommendations: A comprehensive review,” May 15, 2024, Elsevier Ltd. doi: 10.1016/j.heliyon.2024.e29583.
N. Li and Y. Xia, “Movie recommendation based on ALS collaborative filtering recommendation algorithm with deep learning model,” Entertain Comput, vol. 51, Sep. 2024, doi: 10.1016/j.entcom.2024.100715.
J. Guo, J. He, and X. Wu, “Shopping trip recommendations: A novel deep learning-enhanced global planning approach,” Decis Support Syst, vol. 182, Jul. 2024, doi: 10.1016/j.dss.2024.114238.