While using Neural network pattern recognition tool(nprtool) in matlab,(For classification after getting all features) first we have to give input data from the workspace as a database file and then it asks for target data defining the desired output. I can't understand that if,i give input the features_vector of an image,then from where can i get the target data_vector?I mean how to estimate the target_data for each feature..

 Respuesta aceptada

Greg Heath
Greg Heath el 13 de Nov. de 2014

0 votos

If there are c classes or categories and N examples of I-dimensional inputs.
[ I N ] = size(input)
[ c N ] = size(target)
where the target matrix contains c-dimensional {0,1} unit vectors satisfying
sum(target) = ones(1,N)
vec2ind(target) = classindices
ind2vec(classindices) = target
Look at the target vectors of the classification data examples in
help nndatasets
doc nndatasets
Hope this helps.
Thank you for formally accepting my answer
Greg

Más respuestas (1)

Shoba Selvaraj
Shoba Selvaraj el 11 de Sept. de 2015

0 votos

In which form ANN receives a input?

1 comentario

Durga
Durga el 19 de Sept. de 2015
In a form of n-dimensional input vector database file.

Iniciar sesión para comentar.

Categorías

Más información sobre Deep Learning Toolbox en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 11 de Nov. de 2014

Comentada:

el 19 de Sept. de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by