exam questions

Exam DP-100 All Questions

View all questions & answers for the DP-100 exam

Exam DP-100 topic 3 question 53 discussion

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

You run an automated machine learning experiment in an Azure Machine Learning workspace. Information about the run is listed in the table below:

You need to write a script that uses the Azure Machine Learning SDK to retrieve the best iteration of the experiment run.
Which Python code segment should you use?
A.

B.

C.

D.

E.

Show Suggested Answer Hide Answer
Suggested Answer: D
The get_output method on automl_classifier returns the best run and the fitted model for the last invocation. Overloads on get_output allow you to retrieve the best run and fitted model for any logged metric or for a particular iteration.
In [ ]:
best_run, fitted_model = local_run.get_output()
Reference:
https://notebooks.azure.com/azureml/projects/azureml-getting-started/html/how-to-use-azureml/automated-machine-learning/classification-with-deployment/auto- ml-classification-with-deployment.ipynb

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
G14th
Highly Voted 3 years ago
answer is correct
upvoted 11 times
...
dev2dev
Highly Voted 3 years, 2 months ago
check section "Retrieve the best model" https://docs.microsoft.com/en-us/azure/machine-learning/tutorial-auto-train-models
upvoted 9 times
...
james2033
Most Recent 7 months ago
This question is out-of-date, obsoleted since Microsoft release Azure SDK Machine Learning SDK v2. Should be from azure.ai.ml import ... not from azureml.core import Dataset Reference: https://github.com/Azure/azure-sdk-for-python/tree/azure-ai-ml_1.11.1/sdk/ml/azure-ai-ml#authenticate-the-client https://learn.microsoft.com/en-us/python/api/azure-ai-ml/azure.ai.ml.automl.trainingsettings?view=azure-python
upvoted 2 times
...
RamundiGR
1 year, 3 months ago
answer is correct
upvoted 1 times
...
hargur
2 years, 7 months ago
on 19Oct2021
upvoted 3 times
...
hargur
2 years, 7 months ago
on 19Oct2021
upvoted 2 times
...
VJPrakash
2 years, 9 months ago
on exam in August 2021
upvoted 3 times
...
ACSC
3 years, 1 month ago
Answer is correct: use get_output()
upvoted 5 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