exam questions

Exam DP-100 All Questions

View all questions & answers for the DP-100 exam

Exam DP-100 topic 3 question 120 discussion

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

HOTSPOT
-

You train a machine learning model by using Azure Machine Learning.

You use the following training script in Python to log an accuracy value:



You must use a Python script to define a sweep job.

You need to provide the primary metric and goal you want hyperparameter tuning to optimize.

How should you complete the Python script? 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
fqc
5 months, 1 week ago
The primary_metric_name should be set to "accuracy" to indicate that the accuracy metric is the primary metric you want to optimize during hyperparameter tuning. The primary_metric_goal should be set to PrimaryMetricGoal.MAXIMIZE to specify that you want to maximize the value of the primary metric during the tuning process.
upvoted 3 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