PNN probability

hi,
I am using the newpnn to simulate a PNN in matlab. Since at the pattern layer of the network the class of a test is given by the one with maximum probability, how can i output this probability in matlab ?
I have tried the sim function. It has an output "perf", but we it is applied to the net created by newpnn, matlab gives me the error message as follows:
[Y,Pf,Af,E,perf] = sim(net,P) ??? Error using ==> feval Invalid function name ''
Error in ==> network.sim at 213 perf = feval(net.performFcn,E,Y,net,net.performParam);
who can help to solve this problem ? Thanks a lot

回答(1 个)

Veera Kanmani
Veera Kanmani 2018-4-20

0 个投票

https://in.mathworks.com/matlabcentral/fileexchange/11880-parzen-pnn
https://in.mathworks.com/matlabcentral/answers/85857-how-to-give-feature-as-input-to-pnn-probabilistic-neural-network

类别

帮助中心File Exchange 中查找有关 Deep Learning Toolbox 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by