exam questions

Exam DP-100 All Questions

View all questions & answers for the DP-100 exam

Exam DP-100 topic 4 question 50 discussion

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

HOTSPOT
-

You create an Azure Machine Learning workspace and install the MLflow library.

You need to log different types of data by using the MLflow library.

Which method 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
phdykd
1 year, 9 months ago
Log matlotlib plot or image file---mlflow.log_figure(fig, "figure.png") Log numpy metrics or PIL image objects mlflow.log_image(img, "figure.png") Log a boolean value---mlflow.log_metric("my_metric", 0). so given answer is correct!
upvoted 3 times
...
adamcodes716
2 years ago
Looks right https://learn.microsoft.com/en-us/azure/machine-learning/how-to-log-view-metrics?view=azureml-api-2&tabs=interactive#logging-images
upvoted 2 times
damaldon
1 year, 9 months ago
According to you link: matlotlib --> log image Boolean --> log metric
upvoted 2 times
Vince_1
8 months ago
Actually, if you really look at the documentation properly you would notice that log_image is for " numpy metrics or PIL image objects" while log_figure is for "matlotlib plot or image file" under the section of Log Images. So, the answer is correct: https://learn.microsoft.com/en-us/azure/machine-learning/how-to-log-view-metrics?view=azureml-api-2&tabs=interactive#log-images
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