Data format in neural network
6 views (last 30 days)
Show older comments
Hi all, Kindly i really appreciate your help , i have a plan to make skin color segmentation by using neural network , i just have a problem how to format my database ,input vectors it's gona be YCbCr color space and the target 1,0 skin,non skin
Thanks
0 Comments
Accepted Answer
Greg Heath
on 18 Oct 2013
Edited: Greg Heath
on 23 Oct 2013
N pairs of I-dimensional inputs and 1-dimensional targets.
[ I N ] = size(inputs)
[ O N ] = size(targets) % O =1
net = patternnet; % First consider defaults
help patternnet
If you have an older version of the NNTBX, try newpr.
help newpr
You may want to practice on the classification/pattern-recognition data in
help nndatasets.
Thank you for formally accepting my answer
Greg
0 Comments
More Answers (1)
See Also
Categories
Find more on Deep Learning Toolbox 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!