Why does my block created from a NEWPNN network using the GENSIM function give unexpected results?
1 view (last 30 days)
Show older comments
I have created and trained a neural network using the NEWPNN function, and the output in MATLAB is correct. However, when I use GENSIM to create a block from this network, the output in Simulink does not appear to be correct. The output of the block is all ones.
Accepted Answer
MathWorks Support Team
on 27 Jun 2009
This bug has been fixed in Release 14 Service Pack 3 (R14SP3). For previous product releases, read below for any possible workarounds:
The problem is that the data generated by your NEWPNN network is a sparse matrix. You can verify this by simulating your network using the same data with which you constructed it. MATLAB and Simulink handle sparse matrices differently. Therefore, you are not seeing the same results in Simulink.
0 Comments
More Answers (0)
See Also
Categories
Find more on Deep Learning Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!