exam questions

Exam DP-100 All Questions

View all questions & answers for the DP-100 exam

Exam DP-100 topic 3 question 157 discussion

Actual exam question from Microsoft's DP-100
Question #: 157
Topic #: 3
[All DP-100 Questions]

You create an Azure Machine learning workspace.

You must use the Azure Machine Learning Python SDK v2 to define the search space for discrete hyperparameters. The hyperparameters must consist of a list of predetermined, comma-separated integer values.

You need to import the class from the azure.ai.ml.sweep package used to create the list of values.

Which class should you import?

  • A. Choice
  • B. Randint
  • C. Uniform
  • D. Normal
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
orionduo
Highly Voted 1 year, 4 months ago
Correct Choice
upvoted 5 times
...
kay1101
Most Recent 7 months, 3 weeks ago
Selected Answer: A
Discrete hyperparameters. Consist of a list of predetermined, comma-separated integer value. >>>A. Choice Discrete hyperparameters are specified as a Choice among discrete values. Choice can be: one or more comma-separated values a range object any arbitrary list object reference: https://learn.microsoft.com/en-us/AZURE/machine-learning/how-to-tune-hyperparameters?view=azureml-api-2#discrete-hyperparameters
upvoted 2 times
...
PI_Team
1 year, 4 months ago
Selected Answer: A
To define the search space for discrete hyperparameters using the Azure Machine Learning Python SDK v2, you should import the Choice class from the azure.ai.ml.sweep package. The Choice class allows you to specify a list of predetermined, comma-separated values for a discrete hyperparameter. https://learn.microsoft.com/en-us/azure/machine-learning/how-to-tune-hyperparameters?view=azureml-api-2 SaM
upvoted 4 times
...
BR_CS
1 year, 5 months ago
Selected Answer: B
AS this is about "creation" of the list, Randint is correct
upvoted 1 times
...
damaldon
1 year, 6 months ago
Only Randint supports integers values. https://learn.microsoft.com/en-us/python/api/azure-ai-ml/azure.ai.ml.sweep.randint?view=azure-python
upvoted 1 times
Panda_man
11 months, 3 weeks ago
you're reference link is not showing anything about the correct answer;
upvoted 1 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...