How does the define-by-run search space model in frameworks like Optuna differ from static search space definitions?
Role: Machine Learning Engineer
Category: Machine Learning
Difficulty: medium
Interview Round: Other
Overview: Asks how define-by-run hyperparameter search spaces, as in Optuna, compare with search spaces declared up front as a fixed structure. Tests reasoning about conditional and variable-length spaces, how samplers handle them, and the practical pitfalls of each approach.