An improved random forest model for music genre classification algorithm based on sparrow search algorithm
Abstract
In this study, a random forest model optimised based on the sparrow search algorithm is explored for the music genre classification problem. By introducing the sparrow search algorithm, the model is able to search the feature space more comprehensively during the training process, which improves the learning ability of complex data relationships. After 15 iterations of optimisation, the fitness value of the model is improved from 0.2002 to 0.197, showing better convergence. The performance on the training set shows that the model predicts 2,543 music genres with an accuracy of 99.59% and only 10 incorrect predictions, which verifies its excellent performance on the training data. While on the test set, the model's prediction accuracy for 623 music genres is 79.78%, which is slightly lower than the result of the training set, but still reflects good generalisation ability. The results of this paper imply that the improved random forest model based on the sparrow search algorithm has potential application prospects in the music genre classification task. By optimising the parameter settings and feature selection, we not only improve the prediction accuracy and generalisation ability of the model, but also provide new ideas for solving other complex data classification problems. In the future, we can further expand the sample size, try different feature combinations, and conduct in-depth research by combining more domain knowledge in order to further improve the model performance and promote the development of related fields.
References
- Sun, Zhigang, et al. "An improved random forest based on the classification accuracy and correlation measurement of decision trees." Expert Systems with Applications 237 (2024): 121549.
- Cushman, S. A., et al. "Comparing the performance of global, geographically weighted and ecologically weighted species distribution models for Scottish wildcats using GLM and Random Forest predictive modeling." Ecological Modelling 492 (2024): 110691.
- Chen, Tin-Chih Toly, Hsin-Chieh Wu, and Min-Chi Chiu. "A deep neural network with modified random forest incremental interpretation approach for diagnosing diabetes in smart healthcare." Applied Soft Computing 152 (2024): 111183.
- Ji, Zhou, et al. "Predicting the International Roughness Index of JPCP and CRCP Rigid Pavement: A Random Forest (RF) Model Hybridized with Modified Beetle Antennae Search (MBAS) for Higher Accuracy." CMES-Computer Modeling in Engineering & Sciences 139.2 (2024).
- Isles, Peter DF. "A random forest approach to improve estimates of tributary nutrient loading." Water Research 248 (2024): 120876.
- Arshad, Arfan, et al. "Reconstructing high-resolution groundwater level data using a hybrid random forest model to quantify distributed groundwater changes in the Indus Basin." Journal of Hydrology 628 (2024): 130535.
- Siqueira, Rafael G., et al. "Modelling and prediction of major soil chemical properties with Random Forest: Machine learning as tool to understand soil-environment relationships in Antarctica." Catena 235 (2024): 107677.
- Babalik, Ahmet, and Aybuke Babadag. "A binary sparrow search algorithm for feature selection on classification of X-ray security images." Applied Soft Computing (2024): 111546.
- Quan, Rui, et al. "An enhanced fault diagnosis method for fuel cell system using a kernel extreme learning machine optimized with improved sparrow search algorithm." International Journal of Hydrogen Energy 50 (2024): 1184-1196.
- Feng, Juqiang, et al. "State of charge estimation for lithiumāion battery pack based on real vehicle data and optimized backpropagation method by adaptive cross mutation sparrow search algorithm." Energy Science & Engineering 12.3 (2024): 896-912.