What is the purpose of shuffling the validation set?
7 views (last 30 days)
Show older comments
What is the purpose of shuffling the validation set during training of an artificial neural network? I understand why this makes sense for the training set, so that each minibatch has a different composition every time, but doesn't the ANN evaluate the whole validation set every epoch?
1 Comment
robinho robinho
on 20 Jul 2022
what difference will it make to the trainning if the training set is shuffled?
Answers (1)
Greg Heath
on 18 Jan 2020
To impose and verify a consistent GENERALIZED path to convergence by avoiding repetitive anomalies.
Hope this helps
Greg
3 Comments
Nicolò Viviani
on 26 May 2022
I also do not understand this Shuffling on validation data. I try to reformulate the question:
What the 'Shuffle' name-value pair of trainingOption does with validation data? I mean, what is the point of shuffling validation data?
See Also
Categories
Find more on Sequence and Numeric Feature Data Workflows in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!