asking about the matlab code for training Pattern Recognition for bank note using Back propagation

2 次查看(过去 30 天)
I am working in bank note (using pattern recognition), and I would like to training my neural network. by now I have divide each bank note for 4X12 split (parts) and I found the average for each parts. I have done the following step and I would like to know if I'm going on the right way or not and if there is any suggestion:
1\ I converted the 6 bank note to gray scale. 2\ I split each bank note to 4X12 parts. 3\ I calculated the average for each bank note image parts. 4\ I used bank note (head upright, head reversed, tail upright, tail reversed) for each bank note.
so would you help my in the matlab code for the input, traing the neural network and target, looking forward to hear from you soon, thanks.

采纳的回答

Greg Heath
Greg Heath 2013-5-24
Single inputs to the net must be vectors of the same size. Therefore columnize your images using the (:) operator. Your input and target matrices should have the dimensions
[ I N ] = [ 48 24 ] = size(inputs)
[ O N ] = [ 6 24 ] = size(targets)
You can rearrange your 24 I/O column pairs anyway you want. For example,
targets = repmat(eye(6),1,4)
Hope this helps.
Thank you for formally accepting my answer
Greg

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Text Analytics Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by