About Neural Network..... How to train Neural Network?
显示 更早的评论
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
采纳的回答
更多回答(1 个)
Mohan
2013-2-26
0 个投票
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
类别
在 帮助中心 和 File Exchange 中查找有关 Deep Learning Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!