When using pattern recognition tool in neural network start,I am unable to load target value data.I tried using column vector.

2 views (last 30 days)
The error it is showing is

Accepted Answer

Greg Heath
Greg Heath on 8 Mar 2014
If this is pattern recognition with N I-dimensional input vectors from c classes, the columns of the target matrix should be unit column vectors from the unit matrix eye(c)
[ I N ] = size(input)
[ c N ] = size(target)
Hope this helps.
Thank you for formally accepting my answer
Greg
P.S. Try one of the MATLAB example data sets before trying your own data.
help nndatasets
doc nndatasets

More Answers (0)

Community Treasure Hunt

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

Start Hunting!