About Neural Network..... How to train Neural Network?
Show older comments
I am working on Pedestrian classification. I have data set having positive and negative images. I am using cohog as a feature extraction method. After Extracting features from both image sets I need to give them to Neural Network. Now here I have a confusion whether I have to mix the features of both pos and neg image set. Or train the NN individually. Kindly help me
Accepted Answer
More Answers (1)
Mohan
on 26 Feb 2013
0 votes
Use the train function after declaring your net as follows :
net=newff(minmax(in'),[20,1],{'tansig','purelin'},'train');
[net,tr]=train(net,trainInput',trainOutput');
where trainInput would be the "input vector" which has the extracted feature values.
trainOuput would be the corresponding output value - say a "1" for a positive image and a "0" for a negative image
Categories
Find more on Deep Learning Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!