nerdexam
MicrosoftMicrosoft

DP-100 · Question #148

DP-100 Question #148: Real Exam Question with Answer & Explanation

Sign in or unlock DP-100 to reveal the answer and full explanation for question #148. The question stem and answer options stay visible for context.

Explore data and run experiments

Question

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.

Options

  • Afrom azureml.core import Workspace from azureml.train.automl import AutoMLRun ws = Workspace.from_config() automl_ex = ws.experiments.get('auto_ml_classification') best_iter = automl_ex.archived_time.find('11/11/2019 11:00:00 AM')
  • Bfrom azureml.core import Workspace from azureml.train.automl import AutoMLRun ws = Workspace.from_config() automl_ex = ws.experiments.get('auto_ml_classification') automl_run = AutoMLRun(automl_ex, 'AutoML_1234567890-123') best_iter = automl_run.current_run
  • Cfrom azureml.core import Workspace from azureml.train.automl import AutoMLRun ws = Workspace.from_config() automl_ex = ws.experiments.get('auto_ml_classification') best_iter = automl_ex.list_automl_ex.get_runs()[0]
  • Dfrom azureml.core import Workspace from azureml.train.automl import AutoMLRun ws = Workspace.from_config() automl_ex = ws.experiments.get('auto_ml_classification') automl_run = AutoMLRun(automl_ex, 'AutoML_1234567890-123') best_iter = automl_run.get_output()[0]
  • Efrom azureml.core import Workspace from azureml.train.automl import AutoMLRun ws = Workspace.from_config() automl_ex = ws.experiments.get('auto_ml_classification') best_iter = automl_ex.get_runs('AutoML_1234567890-123')

Unlock DP-100 to see the answer

You've previewed enough free DP-100 questions. Unlock DP-100 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#Azure Machine Learning SDK#Automated ML#Experiment Management#Python
Full DP-100 PracticeBrowse All DP-100 Questions