Question 156

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?
  • Question 157

    You must use in Azure Data Science Virtual Machine (DSVM) as a compute target.
    You need to attach an existing DSVM to the workspace by using the Azure Machine Learning SDK for Python.
    How should you complete the following code segment? To answer, select the appropriate options in the answer area.
    NOTE: Each correct selection is worth one point.

    Question 158

    You create a batch inference pipeline by using the Azure ML SDK. You run the pipeline by using the following code:
    from azureml.pipeline.core import Pipeline
    from azureml.core.experiment import Experiment
    pipeline = Pipeline(workspace=ws, steps=[parallelrun_step])
    pipeline_run = Experiment(ws, 'batch_pipeline').submit(pipeline)
    You need to monitor the progress of the pipeline execution.
    What are two possible ways to achieve this goal? Each correct answer presents a complete solution.
    NOTE: Each correct selection is worth one point.
  • Question 159

    Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
    After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
    You train a classification model by using a logistic regression algorithm.
    You must be able to explain the model's predictions by calculating the importance of each feature, both as an overall global relative importance value and as a measure of local importance for a specific set of predictions.
    You need to create an explainer that you can use to retrieve the required global and local feature importance values.
    Solution: Create a TabularExplainer.
    Does the solution meet the goal?
  • Question 160

    You create a binary classification model.
    You need to evaluate the model performance.
    Which two metrics can you use? Each correct answer presents a complete solution.
    NOTE: Each correct selection is worth one point.