Qm

How many models does leave-one-out CV train?

You have 250250 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

  1. No full solutions here. Hints and approaches only.
  2. Complexity, edge cases and intuition are the point.
  3. 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 →