How to get basic predictions out of a neural network?
2 次查看(过去 30 天)
显示 更早的评论
I have been wondering this for days now, I’ve watched hours of Webinars and seen countless examples on neural networks. But still I don’t understand how you get it to predict a value…
If I type “nnstart” and go to Nonlinear Autoregressive and then select the “simple Nonlinear autoregressive problem” as target data and then train the network, how then do I make the prediction of value 101, 102 etc?
Or say I just have a dataseries: “1 2 3 4 5” how then do I make the neural network to give me the predictions “6 7 8…” based on its training?
What is the command that I need to write in order to get the network to simulate this for me?
It is a very trivial question that must have a simple answer, yet I have been unable to find it after days of searching. Could someone please just tell me in one simple sentence how to do this?
After all the tutorials and webinars I’ve watched I feel like I am closer to finding the cure for cancer with a neural network than I am to understanding how to get it to make predictions in a trivial data series!
0 个评论
采纳的回答
Greg Heath
2014-9-7
[ Ys Xf Af ] = net(Xs,Xi,Ai);
Ypred = net(cell(1,M),Xf,Af);
Hope this helps.
Thank you for formally accepting my answer
Greg
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Sequence and Numeric Feature Data Workflows 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!