Learn Before
Comparison

Training vs. Validation Data Reading Order

When loading datasets for machine learning, the order in which data is read depends on the current mode. For training, data is typically read in a random order (shuffled) to properly update the model. For validation, data is read in a pre-defined, sequential order, which is important for debugging purposes and consistent evaluation.

0

1

Updated 2026-05-03

Contributors are:

Who are from:

Tags

D2L

Dive into Deep Learning @ D2L