How to decide inputs and targets for neural networks for a signature recognition and verification system?
1 次查看(过去 30 天)
显示 更早的评论
Hello!
I am doing project on offline signataure verification using neural network. I have prepared the database of 360 signatures(8 genuine and 4 forge signatures of each of the 30 person) and extracted features (moments of image using Zernike moments) of each signature. But I dont know how to train the neural network so that it can recognize the genuine and forge signatures. thanks.
0 个评论
采纳的回答
Greg Heath
2015-1-25
For N=360 examples of I-dimensional extracted feature column vectors and corresponding N-dimensional row vector of class indices i (1<=i<=c=30), the target matrix is ind2vec(indices) and
[ I N ] = size(input) % [ I 360 ]
[ c N ] = size(target) % [ 30 360 ]
The default number of training vectors is
Ntrn = N - 2*round(0.15*N) % 252
yielding
Ntrneq = Ntrn*c % 7560
training equations. When the number of hidden nodes, H satisfies
H << Hub = -1+ceil( (Ntrneq-c)/(I+c+1))
The the number of weights
Nw = (I+1)*H+(H+1)*c
is much less than the number training equations. Otherwise validation stopping and/or regularization are recommended.
Hope this helps.
Thank you for formally accepting my answer
Greg
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Deep Learning Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!