Using the Neural Network toolbox, why do I get more solutions than I should be getting?
1 次查看(过去 30 天)
显示 更早的评论
I created a neural network using the fitting tool. Inputs were 98x2 whereas Outputs were 98x1. After the network called "net" was created, I tried to simulate it using the command (y1=sim(net,[numbers looking outputs for])). Normally, I should be getting 1 answer for the two input values that I chose. However, for some reason I am getting as many answers as inputs. Any idea what might be causing that?
Thank you
0 个评论
采纳的回答
Greg Heath
2014-7-8
Transpose your data matrices
[ I N ] = size(Input)
[ O N ] = size(Output)
Thank you for formally accepting my answer
Greg
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Deep Learning Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!