Question 1 · choose 1
An ML engineer configures SageMaker AI automatic model tuning for an XGBoost model with five continuous hyperparameters. The budget is 200 training jobs, and to finish overnight the engineer wants to run 50 jobs at the same time without the tuning results getting worse because of that parallelism. Which tuning strategy should the engineer choose?
- ABayesian optimization
- BGrid search
- CRandom search
- DA warm start job with IDENTICAL_DATA_AND_ALGORITHM
Show the answer and why
ABayesian optimization
Incorrect
Bayesian optimization uses the results of completed jobs to choose the next combinations. Running many jobs at once means each choice is made with less information.
BGrid search
Incorrect
Grid search supports only categorical hyperparameters, so it cannot search five continuous ranges.
CRandom search
Correct
Random search picks each combination independently of earlier results, so the maximum number of concurrent jobs can run without changing the performance of the tuning.
DA warm start job with IDENTICAL_DATA_AND_ALGORITHM
Incorrect
Warm start reuses earlier tuning jobs as a starting point. There is no parent job here, and warm start is not a way to run more jobs in parallel.
Bayesian optimization learns from finished jobs, which makes it efficient but sequential in spirit. Random search does not learn between jobs, so it parallelizes freely.
AWS documentation