What is the purpose of shuffling the validation set?

41 views (last 30 days)
Cynthia
Cynthia on 17 Jan 2020
Commented: robinho robinho on 20 Jul 2022 at 2:27
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 at 2:27
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
Greg
  3 Comments
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.

Community Treasure Hunt

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

Start Hunting!

Translated by