Calculating class in Confusion matrix
2 views (last 30 days)
Show older comments
[c,cm,ind,per] = confusion(targets,outputs) Inputs: S-by-Q matrix, where each column vector contains a single 1 value, with all other elements 0. The index of the 1 indicates which of S categories that vector represents. outputs: S-by-Q matrix, where each column contains values in the range [0,1]. The index of the largest element in the column indicates which of S categories that vector represents.
If Sigmoid function at the output node is being used and the value comes out as output is in the range of 0 and 1 and if each column contains same value(there is tie) then what will be the class?
0 Comments
Answers (0)
See Also
Categories
Find more on Matrix Indexing 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!