How to know the output in Neural Network Pattern Recognition?
2 次查看(过去 30 天)
显示 更早的评论
hello guys! i'm a beginner in using matlab neural network pattern recognition and I can't understand the output part. How could I show the intended output after training? For example in the load example data about the type of glass, how can I say if the sample is a window glass or not? I want to show something like this after the data has been recognize if it is indeed a window glass, "The sample is a window glass". What should I do?
I hope someone can answer me or atleast give some idea. Thanks.
4 个评论
Sivakumaran Chandrasekaran
2016-1-13
what value you got when you use the command sim... use that value as threshold
采纳的回答
Greg Heath
2016-1-13
For classification/pattern-recognition into c classes, the columns of the target matrix should be columns of the {0 1 } unit matrix eye(c).
The transformation between classindices and target matrix are obtained via the functions ind2vec and vec2ind.
trueindices = [ 5 3 1 2 4 ]
target = full(ind2vec(trueindices))
output = target + 0.15*randn(5)
predindices = vec2ind(output)
Hope this helps.
Thank you for formally accepting my answer
Greg
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File 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!