what type of input is given for ANN (neural network)?

3 visualizaciones (últimos 30 días)
pranjal
pranjal el 6 de Jun. de 2015
Comentada: Foresight india el 11 de Ag. de 2017
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 comentario
Foresight india
Foresight india el 11 de Ag. de 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.

Iniciar sesión para comentar.

Respuesta aceptada

Stalin Samuel
Stalin Samuel el 6 de Jun. de 2015
we can divide the neural network classification into two parts.before going to neural network we need to Extract some features(Ex mean,STD,Entropy....).That will be given to the neural network as a input and the category (1 0r 2 or 3) will be the target.
  2 comentarios
Greg Heath
Greg Heath el 6 de Jun. de 2015
Incorrect. See my answer.
pranjal
pranjal el 17 de Jun. de 2015
Thank you sir @Stalin Samuel. can u pls help me to find variance of audio file in .wav format?

Iniciar sesión para comentar.

Más respuestas (1)

Greg Heath
Greg Heath el 6 de Jun. de 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 comentario
sai susmitha
sai susmitha el 3 de En. de 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

Iniciar sesión para comentar.

Categorías

Más información sobre Sequence and Numeric Feature Data Workflows en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by