how to use feature matrix for neural network
2 views (last 30 days)
Show older comments
debasmita bhoumik
on 8 Apr 2016
Answered: Greg Heath
on 10 Apr 2016
I have made two feature matrices ( the purpose was to classify weather infection exist or not in a leaf) of size 80x16 and 40x16 respectively. The first one was for training images(80 images with 16 features) and other is test images(40 images with 16 features). I had also classified them accurately using SVM classifier. Now i want to classify those same images with the help of NEURAL NETWORK. Please suggest what can I do
0 Comments
Accepted Answer
Greg Heath
on 10 Apr 2016
input = ...
target = [ repmat([1;0],1,80) repmat([0;1],1,40);
[ I N ] = size(input); % [ 16 120 ]
[ O N ] = size(target); % [ 2 120 ]
help patternnet
doc patternet
Search NEWSGROUP & ANSWERS
greg patternnet
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
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!