net.divideFcn = 'dividerand' shuffling once or in every epoch/iteration?

1 次查看(过去 30 天)
In the matlab NARX model, when we chose train/validation/test data randomly, does this random division happen in every epoch or just once in the beggining? I am talking about the command : net.divideFcn = 'dividerand' Thank you in advance.

回答(1 个)

Mukul Joshi
Mukul Joshi 2018-8-22
I guess just once in the beginning.
  6 个评论
tony  gian
tony gian 2018-9-3
Thanks Greg, but i have one more question then. Correct me if i am wrong though, each iteration or epoch uses all the training data to determine the weights and biases. So considering our data is not initally classified or biased, why actually is training faster if neighbooring points are not similar? Shuffling each epoch makes sense because you actually use different data, but shuffling once i dont have a mathematical intuition on why it helps.Thanks in advance.
Greg Heath
Greg Heath 2018-10-18
The good thing about these differences in opinion is that they can be tested and compared.
If you do so, remember
1. The results of regression/classification examples are
not necessarily valid for timeseries
2. The results for the three types of time-series may
not necessarily be the same.
Hope this helps.
Greg

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Sequence and Numeric Feature Data Workflows 的更多信息

产品


版本

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by