BeginnerAbout 18 min
Cross-Validation
Read the full article on Substack
7 min read.
Essential model evaluation technique! Learn K-Fold, Stratified K-Fold, and Time Series Split. Understand how to properly assess model performance and avoid data leakage.
Fold 1 of 5
Train on 40, test on 10. Test fold has 0 of 10 positives (0%; 20% overall). CV score 78.6% ± 6.9%.
Check your understanding
Answer from memory before you scroll back up. Pulling an idea out of your head is what makes it stay there.
Run k-fold correctly
Sequence
Order one fold of a k-fold evaluation.
Tap a piece, then tap where it goes — or drag it. Tap the tray to take one back.
- 1Drop a step here
- 2Drop a step here
- 3Drop a step here
- 4Drop a step here
- 5Drop a step here
- 6Drop a step here
6 pieces left to place
Quiz
20 questionsQuestion 1 of 20
Score: 0
K-fold cross-validation works by…
Done with this lesson?
Sign in free to keep your progress, streak and quiz scores.