Comparison and analysis of accuracy of traditional random forest machine learning model and XGBoost model on music emotion classification dataset
Jiulin Song · 2023
The Turkish Music Emotion Dataset in the CL database is a dataset for music emotion classification, which contains many music samples and their corresponding emotion labels. This paper presents a comparative analysis of the performance of the traditional random forest machine learning model and the XGBoost model on the given dataset. The findings indicate that the traditional random forest machine learning model outperforms the XGBoost model in terms of accuracy, accuracy, and recall rate. The traditional random forest machine learning model achieves an accuracy of 80.8%, whereas the XGBoost model achieves an accuracy of 75%. The recall rate of the traditional random forest machine learning model is 80.8%, whereas the recall rate of the XGBoost model is 77.2%. The traditional random forest machine learning model achieved an F1 score of 80.5%, whereas the XGBoost model attained an F1 score of 75.3%. The comprehensive evaluation of the XGBoost model outperforms the traditional random forest machine learning model. Generally, the traditional random forest machine learning model demonstrates strong performance in the domain of music emotion classification. It exhibits favorable qualities such as robustness and interpretability, and possesses the ability to effectively handle noise and missing data. The XGBoost model, on the other hand, can be trained and predicted quickly, with high accuracy and generalization ability. Therefore, in practical application, it is necessary to select the appropriate model according to the specific situation, and optimize and adjust it to obtain the best classification effect.