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 visualizaciones (últimos 30 días)
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

Respuesta aceptada

Greg Heath
Greg Heath el 19 de Dic. de 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

Más respuestas (0)

Categorías

Más información sobre Deep Learning Toolbox en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by