Clear Filters
Clear Filters

What is the purpose of shuffling the validation set?

3 views (last 30 days)
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
robinho robinho on 20 Jul 2022
what difference will it make to the trainning if the training set is shuffled?

Sign in to comment.

Answers (1)

Greg Heath
Greg Heath on 18 Jan 2020
To impose and verify a consistent GENERALIZED path to convergence by avoiding repetitive anomalies.
Hope this helps
Kody Law
Kody Law on 10 May 2022
I agree the answer does not help and it is not clear what this is about.
Nicolò Viviani
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?

Sign in to comment.


Find more on Sequence and Numeric Feature Data Workflows in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!