Is it possible to get a valid or same results after each run of a matlab generated script on a saved narxnetwork by toolbox?

7 vues (au cours des 30 derniers jours)
I have generated a script after going through all the stages of time series prediction using Narx. I run the script on my saved network and find out after each run, the values of the errors, predicted values,everything keep changing. I don't understand, why is that happening and what should i do so that after each run of the script i get the same values if only that is possible, if not is there any way to do that. Thank you

Réponse acceptée

Greg Heath
Greg Heath le 19 Déc 2016
Try initializing the random number generator to the same initial state.
For examples search the NEWSGROUP and ANSWERS using
greg rng(0) narxnet
Hope this helps.
Thank you for formally accepting my answer
Greg

Plus de réponses (0)

Catégories

En savoir plus sur Deep Learning Toolbox 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