Skip to main content
1 of 2
OmG
  • 1.2k
  • 9
  • 19

Suppose data is sorted in a specified order. For example a data set which is sorted base on their class. So, if you select data for training, validation, and test without considering this subject, you will select each class for different tasks, and it will fail the process.

Hence, to impede these kind of problems, a simple solution is shuffling the data to get different sets of training, validation, and test data.

OmG
  • 1.2k
  • 9
  • 19