exam questions

Exam DP-100 All Questions

View all questions & answers for the DP-100 exam

Exam DP-100 topic 3 question 163 discussion

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

HOTSPOT -

You are using hyperparameter tuning in Azure Machine Learning Python SDK v2 to train a model.

You configure the hyperparameter tuning experiment by running the following code:



For each of the following statements, select Yes if the statement is true. Otherwise, select No.

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
phdykd
Highly Voted 1 year, 3 months ago
NO, YES, NO, NO
upvoted 8 times
...
BR_CS
Highly Voted 1 year, 2 months ago
NO, YES, NO, NO
upvoted 5 times
...
Matt2000
Most Recent 9 months ago
A is false. Grid sampling (the only way to exhaustively search all combinations of parameters) only allows for Choice(...). Reference: https://learn.microsoft.com/en-us/azure/machine-learning/how-to-tune-hyperparameters?view=azureml-api-2
upvoted 1 times
...
robdale
1 year ago
the keep_probability parameter value will always be either 0.05 ot 0.1: NO. The keep_probability parameter value will not always be either 0.05 or 0.1 based on the code. The keep_probability is defined with a Uniform distribution ranging from 0.05 to 0.1. This means that during hyperparameter tuning, the value of keep_probability can take on any value between 0.05 and 0.1, and it will not necessarily be limited to just these two specific values. The Uniform distribution will sample values uniformly within the specified range, so you may get values like 0.06, 0.07, 0.08, and so on during the hyperparameter tuning experiment. It will not be constrained to only 0.05 or 0.1.
upvoted 1 times
...
vmcompra
1 year, 4 months ago
A. NO -> As Uniform option is used in "keep_probability" param, Random or Bayesian should be used, and NOT all the combinations will be tested. The rest are OK: B.YES, C.NO, D.NO
upvoted 4 times
...
barb4ever2002
1 year, 4 months ago
according to chat gtp: a. No. By defining the sampling in this manner, not every possible combination of the parameters will be tested. Instead, the hyperparameter tuning experiment will use different sampling techniques to explore the hyperparameter space efficiently. b. Yes. Random values of the learning_rate parameter will be selected from a normal distribution with a mean of 10 and a standard deviation of 3. c. Yes. The keep_probability parameter value will always be either 0.05 or 0.1 because it is defined as a uniform distribution between these two values. d. No. The number_of_hidden_layers parameter is defined as a choice between the values of 3 and 4, not as a normal distribution.
upvoted 2 times
vv_bb
11 months, 2 weeks ago
Agree with everything except for the c. It should be NO, as Uniform(0.05, 0.1) means it will generate value in the range between 0.05 and 0.1 with uniform distribution https://learn.microsoft.com/en-us/azure/machine-learning/how-to-tune-hyperparameters?view=azureml-api-2#continuous-hyperparameters
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