MATLAB: How to set the target for the neural network pattern recognition

datasetDeep Learning Toolboxneural networkneural network pattern recognition

Hi Greg,
I want ask your help on setting my target for a given data. This is my first time using the Neural Network Pattern Recognition tool. I need to have a target ouput from 0 to 4 which from 303 samples and 14 attributes.
The input patterns I selected is from the data set value. I tried to put the target according to below but there is keep saying it cannot run because it is not same with the number of samples. How can I solve this problem?
0 0 0 0 1
0 0 0 1 0
0 0 1 0 0
0 1 0 0 0
1 0 0 0 0
I really need you to answer the question as possible. Thanks Greg.

Best Answer

size(input) = [ 14 303 ]
size(target) = [ 4 303 ]
Hope this helps.
Thank you for formally accepting my answer
Greg