How to create a Target data ? Neural Network Tool

Hello,
I want to make a feedforward backpropagation neural network in order to solve a classification problem.
I have big scale matrix which is 256x500. How do I create a Target data set in order to train it?
thank you

 Respuesta aceptada

Greg Heath
Greg Heath el 10 de Dic. de 2014
If there are c classes, each target vector should be a c-dimensional {0,1} unit vector with the row index of the 1 indicating the class index of the corresponding input vector
target = ind2vec(classindices)
classindices = vec2ind(target)
Example
classindices = [ 3 2 1 1 2 3 ]
Thank you for formally accepting my answer
Greg

Más respuestas (0)

Categorías

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

Preguntada:

el 9 de Dic. de 2014

Respondida:

el 10 de Dic. de 2014

Community Treasure Hunt

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

Start Hunting!

Translated by