nerdexam
Microsoft

DP-100 · Question #257

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 B. No. Grid sampling does not support continuous hyperparameters and, while it can be used with early termination, it is unsuitable for this specific requirement.

Explore data and run experiments

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 grid sampling method over the hyperparameter space. Does the solution meet the goal?

Options

  • AYes
  • BNo

How the community answered

(30 responses)
  • A
    20% (6)
  • B
    80% (24)

Why each option

Grid sampling does not support continuous hyperparameters and, while it can be used with early termination, it is unsuitable for this specific requirement.

AYes

Grid sampling requires discrete values for hyperparameters and cannot be used directly with continuous hyperparameters, failing to meet one of the key requirements.

BNoCorrect

Concept tested: Hyperparameter sweep grid sampling limitations

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 job#Sampling methods

Community Discussion

No community discussion yet for this question.

Full DP-100 Practice