How to give new input to trained network and getting output using neural network toolbox
4 次查看(过去 30 天)
显示 更早的评论
Hello Friends,
I am using neural network toolbox. I have trained the net using input matrix of 5 X 48 and output matrix of 2 X 48. The network is saved by name Abhay. Now I want to use this network using a 5 X 1 input matrix and the corresponding output should be a 2 X 1 matrix as it is trained. I used, y = sim(Abhay,r) % r is the 5 X 1 input matrix. The result of this command should be a 2 X 1 but I am getting error regarding the size of input. so please if anyone can explain the problem and remedy.
3 个评论
Greg Heath
2013-8-26
Please format. See the code symbol {}?
I don't understand. You previously mentioned an error regarding size(r) Where is the code relating to that?
Now you have an error because the variable inputs was never defined.
What version are you using?
newfit Create a fitting network.
Obsoleted in R2010b NNET 7.0. Last used in R2010a NNET 6.0.4.
Hope this helps.
Greg
回答(1 个)
Greg Heath
2017-11-13
Bottom Line:
You used "inputs" instead of the defined "SimplefitInputs"
Hope this helps.
Thank you for formally accepting my answer
Greg
PS: Take the time to FORMAT your questions with the {} operator. THEN your mistakes will become more obvious to us!
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!