Skip to content
Quantoros

A grid has 4 depths, 3 leaf sizes and 5 folds. How many candidate-fold fits occur before final refitting?

Classic MLLevel: FoundationSearch compute budget

A grid has 4 depths, 3 leaf sizes and 5 folds. How many candidate-fold fits occur before final refitting?

Hints
  • Multiply candidate dimensions before fold count.
  • Final refit is separate.

Answer

There are 43=12 candidates and 125=60 fits. With refit enabled, fitting the selected configuration on all development data adds one more fit.

Source and licence: scikit-learn 1.7.2 — grid search · BSD-3-Clause · answer: Quantoros editorial

Related questions