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

8 views (last 30 days)

Show older comments

##### 1 Comment

Foresight india
on 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.

### Accepted Answer

Stalin Samuel
on 6 Jun 2015

### More Answers (1)

Greg Heath
on 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 Comment

sai susmitha
on 3 Jan 2017

### See Also

### Products

### Community Treasure Hunt

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

Start Hunting!