how do i know the specifications of that neural network??
1 view (last 30 days)
Show older comments
Dhananjay Reddy V
on 26 Apr 2015
Commented: Nada Alotaibi
on 6 Apr 2022
I have matlab code that employs neural network for fingerprint matching. i want to know the specifications of the neural network used please tell me how do i know that??
thank you.
2 Comments
Nada Alotaibi
on 6 Apr 2022
Hi ,
Please i need the code by using CNN for fingerprint matching
you can send that at my email:
best-5-@hotmail.com
Accepted Answer
Greg Heath
on 28 Apr 2015
How many classification categories, c ?
What is the dimensionality, I, of the input feature column vectors?
How many input column vectors for each class? N1=?,N2=?,...,Nc=?
Total number of input vectors N = sum(i=1:c){Ni}
Target vectors are N c-dimensional (0,1) unit column vectors from eye(c)
MATLAB classification function documentation:
help patternnet
doc patternnet
MATLAB classification examples:
help nndatasets
doc nndatasets
Choose Iris flower classification example:
[ x, t] = iris_dataset;
[ I N ] = size( x)
[ c N ] = size( t )
truclassindices = vec2ind( t );
Test with the default No. of hidden nodes
H = 10
net = patternnet( H );
rng('default')
[ net tr y e ] = train( net, x, t );
% y = net( x );
% e = t - y ;
classindices = vec2ind( t );
err = classindices ~= truclassindices;
Nerr = sum(err)
PctErr = 100*Nerr/N
tr = tr % No semicolon to print the training record to screen
% Individual train/val/test errors for each class can be readily obtained by extracting the individual train/val/test indices from the training record tr.
Hope this helps.
Thank you for formally accepting my answer
Greg
0 Comments
More Answers (0)
See Also
Categories
Find more on Sequence and Numeric Feature Data Workflows in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!