How can I use Six different target matrices and One input matrix on Neural Network?

2 次查看(过去 30 天)
I have six different matrices resulting from training of six classes, with each having O's and 1's. Please how do I combine it so I could produce a single confusion matrix using the Neural Network Toolbox. My input matrix already has in it 1,2,3,4,5,6 to show six different classes already gotten. Thank you in advance.

回答(1 个)

Greg Heath
Greg Heath 2014-11-6
编辑:Greg Heath 2014-11-6
[ I N ] = size(input)% N I-dimensional input vectors
[c N ] = size(target)% corresponding N c-dimensional {0,1} unit target vectors for c=6 classes
% sum(target) = ones(1,N)
trueclassindices = vec2ind(target)
target = ind2vec(trueclassindices)
Hope this helps
Thank you for formally accepting my answer
Greg
  5 个评论
Greg Heath
Greg Heath 2014-11-13
>> lookfor roitool roitool not found.
Sorry, I am still confused.
Perhaps IMAGEANALYST or someone else can help
Greg

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Sequence and Numeric Feature Data Workflows 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by