MLA-C01 exam dumps

MLA-C01 practice question 188 of 458

AWS Certified Machine Learning Engineer - Associate. Associate level, Amazon Web Services. Free question with the correct answer and a full explanation.

MLA-C01 Question 188

Single answer

You are building a machine learning model on AWS SageMaker for a classification problem. You want to optimize the model's hyperparameters to achieve the best performance. The dataset is large, and training the model is computationally expensive. Which hyperparameter tuning technique should you choose to efficiently explore the hyperparameter space while balancing computational cost?

  1. A

    Grid search

  2. B

    Random search

  3. C

    Bayesian optimization

  4. D

    Manual tuning

Show answer and explanation

Correct answer: C

Explanation

Bayesian optimization is the best choice for this scenario because it models the performance of hyperparameters based on past evaluations and focuses search efforts on the most promising regions of the hyperparameter space. This makes it efficient for optimizing hyperparameters in computationally expensive problems, unlike grid search or random search which do not leverage prior knowledge. Manual tuning is not recommended due to its inefficiency and potential for human error.

  • A. Incorrect.

    Grid search exhaustively searches over all possible combinations of hyperparameters in the search space. While it guarantees finding the optimal hyperparameters, it is computationally expensive, especially with a large dataset, and not efficient for this scenario.

  • B. Incorrect.

    Random search selects random combinations of hyperparameters to evaluate. It is more efficient than grid search but still does not prioritize exploring promising regions of the search space based on past evaluations.

  • C. Correct.

    Bayesian optimization uses previous results to model the performance of hyperparameters and focuses on exploring the most promising regions of the hyperparameter space. This makes it computationally efficient and well-suited for scenarios where training is expensive.

  • D. Incorrect.

    Manual tuning requires manually selecting and testing hyperparameters. It is time-consuming, error-prone, and not scalable for large datasets or complex problems.

Timed practice exam

Take a MLA-C01 practice test under exam conditions

65 questions in 130 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam