exam questions

Exam DP-100 All Questions

View all questions & answers for the DP-100 exam

Exam DP-100 topic 3 question 130 discussion

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

HOTSPOT
-

You are implementing hyperparameter tuning for a model training from a notebook. The notebook is in an Azure Machine Learning workspace. You add code that imports all relevant Python libraries.

You must configure Bayesian sampling over the search space for the num_hidden_layers and batch_size hyperparameters.

You need to complete the following Python code to configure Bayesian sampling.

Which code segments should you use? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Show Suggested Answer Hide Answer
Suggested Answer:

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
haby
Highly Voted 1 year, 4 months ago
correct for me. range(16,128,16) means select all numbers from 16 to 128 with 16 intervals. for i in range(16,128,16) : print(i) output : 16 32 ... Not uniform since uniform should only have 2 parameters:(min_num, max_num) ref : https://learn.microsoft.com/en-us/python/api/azureml-train-core/azureml.train.hyperdrive.parameter_expressions?view=azure-ml-py
upvoted 5 times
...
jl420
Most Recent 5 months, 2 weeks ago
this question is broken
upvoted 1 times
...
Nghia1
1 year, 10 months ago
correct https://learn.microsoft.com/en-us/training/modules/tune-hyperparameters-with-azure-machine-learning/3-sampling
upvoted 3 times
orionduo
1 year, 7 months ago
your link gives the answer choice & uniform but you said the anwser is correct weird
upvoted 1 times
...
Gosku666
1 year, 10 months ago
Regarding link that you've added should be: choice and uniform for Bayesian sampling: "You can only use Bayesian sampling with choice, uniform, and quniform parameter expressions, and you can't combine it with an early-termination policy."
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago