nerdexam
Microsoft

DP-100 · Question #255

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might h

The correct answer is A. Yes. Random sampling supports continuous hyperparameters and can be combined with early termination policies to stop low-performing runs in a sweep job.

Train and deploy models

Question

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution. After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen. You have an Azure Machine Learning workspace. You plan to tune model hyperparameters by using a sweep job. You need to find a sampling method that supports early termination of low-performance jobs and continuous hyperparameters. Solution: Use the random sampling method over the hyperparameter space. Does the solution meet the goal?

Options

  • AYes
  • BNo

How the community answered

(17 responses)
  • A
    76% (13)
  • B
    24% (4)

Why each option

Random sampling supports continuous hyperparameters and can be combined with early termination policies to stop low-performing runs in a sweep job.

AYesCorrect

Random sampling in Azure Machine Learning sweep jobs allows exploration of continuous hyperparameter spaces and can be effectively combined with early termination policies (e.g., Bandit, Median stopping) to stop poorly performing runs, thus saving compute resources. This method is suitable for the stated requirements.

BNo

Concept tested: Hyperparameter sweep random sampling with early termination

Source: https://learn.microsoft.com/en-us/azure/machine-learning/how-to-tune-hyperparameters?view=azureml-api-2#choose-a-sampling-method

Topics

#Hyperparameter tuning#Azure Machine Learning#Sweep jobs#Random sampling

Community Discussion

No community discussion yet for this question.

Full DP-100 Practice