A data scientist proposes using Bayesian optimization to tune hyperparameters. Which scenario most strongly favors Bayesian optimization over grid/random search?

Answer

Each training run is expensive, the search space is moderate, and past evaluations can inform a probabilistic model of the objective

Explanation

Bayesian optimization is designed for expensive evaluations where learning from prior trials helps pick informative next points. It often outperforms grid/random search when the cost per trial is high and the search space is not tiny.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error

Related questions

Read the passage and answer the question. The company is concerned that its automated incident triage may fail when new log formats arrive. The logs are processed by a pipeline that converts raw text into embeddings, then a classifier assigns severity labels. During training, the team enforced a strict preprocessing schema: normalization rules, tokenization settings, and embedding model version were locked. Later, a different team updated the text normalization logic to address a local bug, but the embedding version and classifier remained unchanged. After deployment, overall accuracy drops and the model begins labeling many 'informational' incidents as 'high severity.' The team suspects covariate shift introduced by inconsistent preprocessing rather than a labeling problem.

View question →

A model fails in production because categorical strings arrive with new unseen values. Which mitigation strategy aligns best with robust ML practice in a managed pipeline?

View question →

In a production setting, which set of actions best reduces risk of training-serving skew when deploying a Vertex AI model?

View question →

You need to explain the difference between a Dataflow job and a model training pipeline in the Google ML ecosystem. Which distinction is most accurate?

View question →

A classification model is deployed and you observe that false positives sharply increase during weekdays but not weekends. Which analysis approach most directly diagnoses potential label/feature distribution shift?

View question →

In Vertex AI, you must choose between using a managed training service and custom container training for a complex pipeline with specialized dependencies. What is the best criterion for selecting custom containers?

View question →

QuestionBack to list