I want to train a neural network pattern recognition, I use command "Patternnet" to create the network and command "train" for training. my problem is that I don't know how to creat my target data.
I have 12000 pictures for trainig each 28*28 size which belong to 5 classes. I normalized my input data so I have a input matrix of 12000*784 ranging between 0 and 1.
Can you pleas tell me how can I impeliment my target data for this network?
I face this error!
Inputs and targets have different numbers of samples."