Aiming at the problems of poor classification effect, low accuracy, and long time in the current automatic classification methods of music genres, an automatic classification method of music genres based on deep belief network and sparse representation is proposed. The music signal is preprocessed by framing, pre‐emphasis, and windowing, and the characteristic parameters of the music signal are extracted by Mel frequency cepstrum coefficient analysis. The restricted Boltzmann machine is trained layer by layer to obtain the connection weights between layers of the depth belief network model. According to the output classification, the connection weights in the model are fine‐tuned by using the error back‐propagation algorithm. Based on the deep belief network model after fine‐tuning training, the structure of the music genre classification network model is designed. Combined with the classification algorithm of sparse representation, for the training samples of sparse representation music genre, the sparse solution is obtained by using the minimum norm, the sparse representation of test vector is calculated, the category of training samples is judged, and the automatic classification of music genre is realized. The experimental results show that the music genre automatic classification effect of the proposed method is better, the classification accuracy rate is higher, and the classification time can be effectively shortened.
Read full abstract