Qm

Model fits for k-fold CV with a hyperparameter grid

You use 5-fold cross-validation to choose among 88 candidate hyperparameter values. For each candidate you run the full 5-fold procedure, refitting the model on every fold.

How many model fits happen in total during this cross-validation search (before any final refit)?

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 futureNested cross-validation, tuning without cheatingHow big is each validation fold in k-fold CV?How many models does leave-one-out CV train?
All questions →