I would like to know what is the algorithm of patternnet function or how it works to classification.
Kshitij Singh answered .
2025-11-20
[ I N ] = size(input) [ c N ] = size(target)
target = full(ind2vec(trueclassindices)) trueclassindices = vec2ind(target)
5 2 3 1 4
target =
0 0 0 1 0
0 1 0 0 0
0 0 1 0 0
0 0 0 0 1
1 0 0 0 0
help patternnet doc patternnet
greg patternnet.