what type of input is given for ANN (neural network)?
Ältere Kommentare anzeigen
i have audio files of 3 different types and want to classify them. planning to use neural network for this which will automatically find my test data falls into which category. input to this network is in what form? my audio files are in .wav format and stored as 45879x1 matrix. does this can be given as input? or should be converted to zeros and ones (binary)? if yes how? another option is, i have extracted mel frequency cepstral coefficients(MFCCs) which is a feature of signal. if i want to use these as inputs how to use?because these are combination of positive and negative numbers.please help.
1 Kommentar
Foresight india
am 11 Aug. 2017
Hi,
Please let us know. We are very new in ANN and would like to start development in NN , How to training my computer to answer in my voice.
Akzeptierte Antwort
Weitere Antworten (1)
Greg Heath
am 6 Jun. 2015
The MFCCs should be the inputs. For c classes the corresponding target columns should be columns of the unit matrix eye(c). The relationship between the target and trueclass indices are given by
truclassindices = vec2ind(target)
target = ind2vec(truclassindices)
[ O N ] = size(target) % [ c N ] (c=3)
The relationship between the output and assigned class indices
assignedclassindices = vec2ind(output)
yielding
err = assignedclassindices~=truclassindices
Nerr = sum(err)
PctErr = 100*Nerr/N
The trn/val/tst indices for each class are in the training record tr. Therefore, you can obtain the 3 trn/val/tst error rates for each of the 3 classes.
Hope this helps.
Thank you for formally accepting my answer
Greg
1 Kommentar
sai susmitha
am 3 Jan. 2017
my doubt is when we extract mfcc's for a wave(audio) file then it gives a matrix of [no.of frames x 13]if each frame has 13 mfcc's now if to train a classifier using these(here Ann) then what is the input of BPNN classifier should i convert this matrix(what i got after extraction) into 1 x 13 then for each wav file we finally have only this one representation(1x13)and for training the target vector format would be [1 0 0] if i am classifying it into 3 classes each wav file i put target vector as 1 in the desired class and 0 in others if input is not 1x13 i.e (no.of framesx13) then what is target vector format
Kategorien
Mehr zu Deep Learning Toolbox finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!