PNN probability
    3 views (last 30 days)
  
       Show older comments
    
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
0 Comments
Answers (1)
  Veera Kanmani
      
 on 20 Apr 2018
        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
0 Comments
See Also
Categories
				Find more on Define Shallow Neural Network Architectures 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!