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 ビュー (過去 30 日間)
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

採用された回答

Greg Heath
Greg Heath 2016 年 12 月 19 日
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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDeep Learning Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by