Lab · c15.s02.L1
Validation curves
A held-out score belongs to the reservation, not to the model alone: rotating which rows are hidden and averaging scores every row once, at one fit per fold.
Question: How do you reserve data without wasting it?
Frame 1 of 9: Fold 4 hides six rowsFold 4 holds out six rows and scores 4/6. Its four misses are the spam at 0.45 and 0.53 links and the ordinary mail at 0.61 and 0.67 links; the other two rows in the fold are scored correctly.
Fold 4 hides six rows. Fold 4 holds out six rows and scores 4/6. Its four misses are the spam at 0.45 and 0.53 links and the ordinary mail at 0.61 and 0.67 links; the other two rows in the fold are scored correctly.
Keyboard: Space plays or pauses, Left and Right step, Home goes to the first frame, End goes to the last frame.
Text description of this lab
Twenty-four messages lie on a link-count axis, spam above and ordinary below, cut by a threshold. The rows of the held-out fold are ringed and the ones it misclassifies are crossed. Below, bars give each fold's errors and a curve plots the cross-validated score against folds, with a band over thirty deals. One fold scores 0/6 and another 4/6; rotating the held-out rows averages to 4/24, 16.7%, counts every row once, and costs one fit per fold.
Return to the section that hosts this lab
Caption status: synthetic. Every lab declares one of published, re-simulated, schematic, synthetic or interpolated.