How many models does leave-one-out CV train?
You have observations and run leave-one-out cross-validation (LOOCV): each observation takes a turn as the single held-out validation point while the model trains on all the others.
How many separate models are trained in total?
Your answer
Solving needs a free account
Answers, streaks and solutions unlock when you are signed in. Reading the question and the hint stays free.
Discussion
Sign in to join the discussion · reading is open to everyone
💡 Discussion rules
- No full solutions here. Hints and approaches only.
- Complexity, edge cases and intuition are the point.
- Interview experiences are welcome. Respect your NDAs.
Loading discussion…
Learn the concepts
The theory behind this question.
Related questions
Cross-validation, and why it is dangerous on time seriesCross-validation with overlapping labels leaks the futureHow big is each validation fold in k-fold CV?Model fits for k-fold CV with a hyperparameter gridTraining-set size in each fold of 8-fold CV
All questions →