Training points
Validation points
Model line
Five folds cycle through a shared path: training blocks merge, flow into the model, and leave a line behind. Then the validation fold arrives, tests the model, and updates the error bars.