Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Audio classification method based on convolution neural network and random forest

A convolutional neural network and random forest technology, applied in biological neural network models, speech analysis, neural architecture, etc., can solve the problem of weak generalization ability of a single classifier, and achieve strong feature extraction ability, high accuracy and high accuracy. Recall, the effect of simplifying complex processes

Inactive Publication Date: 2018-06-05
SICHUAN UNIV
View PDF5 Cites 34 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The technical problem to be solved by the present invention is to provide an audio classification method based on convolutional neural network and random forest, which uses convolutional neural network to automatically extract high-level features, and uses random forest to solve the problem that the generalization ability of a single classifier is not strong , with high precision and recall

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Audio classification method based on convolution neural network and random forest
  • Audio classification method based on convolution neural network and random forest
  • Audio classification method based on convolution neural network and random forest

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0041] Embodiment 1 is an example of the present invention, using "GTZAN Genre Collection" as a data set, adopting nine kinds of audio files of different genres as a training set and a test set, nine kinds of categories are: blues, C1assical, Country, Disco, Jazz, Metal, Pop, Reggae and Rock.

[0042] 1. Divide the audio file into 6 segments of equal length, and each segment corresponds to the same tag. Framing, windowing, and Fourier transform each segment of audio to obtain its spectrogram. attached figure 2 Shown is the acquired spectrum. Read in the spectrogram and convert it to grayscale. Then adjust the size of each picture to 248*248. Finally, save the pixel values ​​of the adjusted image to an array as a sample in the convolutional neural network dataset. After the above operations, the data set D (5400, 248, 248) is obtained, which means that there are 5400 spectrograms, and the width of each spectrogram is 248 and the height is 248. The data set is divided int...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses an audio classification method based on a convolution neural network and a random forest. The method comprises the following steps: S1, carrying out spectral analysis includingsegmenting, framing, windowing and Fourier transform on an original audio data set to obtain a frequency spectrogram corresponding to an original audio file; S2, training a convolution neural networkfeature extractor by taking the obtained frequency spectrogram as an input; S3, removing a softmax layer of the convolution neural network and extracting high-level features of the frequency spectrogram; S4, training a random forest classifier by utilizing the extracted high-level features of the frequency spectrogram; S5, based on the extracted high-level features of the convolution neural network, classifying audios by utilizing the trained random forest. According to the audio classification method disclosed by the invention, feature extraction is performed based on the convolution neuralnetwork, so that the tedious process of manual construction of extraction features is avoided; meanwhile, for solving the problem of insufficient generalization ability caused by using the softmax asthe convolution neural network classifier, the softmax layer of the convolution neural network is replaced with the random forest which is used as a final classifier, so that higher accuracy and recall rate are realized in the testing process.

Description

technical field [0001] The invention belongs to the field of machine learning and relates to an audio classification method based on a convolutional neural network and a random forest. Background technique [0002] The development of the Internet and multimedia technology has filled our lives with a large amount of audio, especially various music websites, which have a large number of audio files with different styles. In the face of massive audio, audio retrieval can help us quickly and accurately find the audio files we need. Audio classification is the premise of audio retrieval, but manual classification of a large number of audio files is a very time-consuming and tedious task. With people's hearing fatigue, the accuracy of manual classification will also decrease. For a large number of audio files, fast and accurate automatic classification is very necessary. There are many studies on audio classification methods. For example, a two-level audio classification method...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G10L25/54G10L25/45G10L25/30G10L25/27G10L25/18G06N3/04G06K9/62
CPCG06N3/04G10L25/18G10L25/27G10L25/30G10L25/45G10L25/54G06F18/241
Inventor 彭德中付炜
Owner SICHUAN UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products