Effacer les filtres
Effacer les filtres

How to get basic predictions out of a neural network?

3 vues (au cours des 30 derniers jours)
Peta
Peta le 4 Sep 2014
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!

Réponse acceptée

Greg Heath
Greg Heath le 7 Sep 2014
[ 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

Plus de réponses (0)

Catégories

En savoir plus sur Sequence and Numeric Feature Data Workflows dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by