
Answer-first summary for fast verification
Answer: Run
The question asks for retrieving the names of logs and outputs generated by a script in an Azure ML training experiment. The Run class in Azure ML SDK is specifically designed to represent a single trial/execution of an experiment and provides methods to access logs, metrics, and outputs. The get_all_logs() method mentioned in the answer description directly addresses the requirement to retrieve log names. ScriptRunConfig (B) is for configuring runs before submission, Workspace (C) is for managing the overall Azure ML workspace, and Experiment (D) is for grouping related runs together - none of these directly provide access to the logs and outputs of a specific execution. The community discussion with multiple upvoted comments confirms that A is the correct answer.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
You create a Python script for a training experiment in Azure Machine Learning that uses the Azure Machine Learning SDK for Python. You need to add a statement to retrieve the names of the logs and outputs generated by the script.
Which class object from the SDK should you reference for this statement?
A
Run
B
ScriptRunConfig
C
Workspace
D
Experiment
No comments yet.