📏Cross-Validation
Also known as K-Fold Cross-Validation, K-Fold CV
You test a model many times, each on a new slice of the data. Then you take the average.
Think of it like
It is like having five friends taste a cake. One opinion could be luck, but five is fair.
Example
Jack has only 600 labeled photos. With 5-fold cross-validation, he trains five times, each time testing on a different 120 photos, and gets scores from 84% to 89%.
Why it matters
One test split can be lucky or unlucky. Cross-validation shows the real score and how much it moves.
Definition
Common mistake
Key takeaways
- 1Split into folds. Often 5 or 10.
- 2Each fold tests once. The rest train.
- 3Average the scores. Less luck.