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

4 visualizzazioni (ultimi 30 giorni)
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

Risposta accettata

Greg Heath
Greg Heath il 19 Dic 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

Più risposte (0)

Categorie

Scopri di più su Deep Learning Toolbox in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by