Question 76

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 are creating a new experiment in Azure Machine Learning Studio.
One class has a much smaller number of observations than the other classes in the training set.
You need to select an appropriate data sampling strategy to compensate for the class imbalance.
Solution: You use the Stratified split for the sampling mode.
Does the solution meet the goal?
  • Question 77

    Drag and Drop Question
    You manage an Azure Machine Learning workspace. You train a model named model1.
    You must identify the features to modify for a differing model prediction result.
    You need to configure the Responsible AI (RAI) dashboard for model1.
    Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.

    Question 78

    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 have a Python script named train.py in a local folder named scripts. The script trains a regression model by using scikit-learn. The script includes code to load a training data file which is also located in the scripts folder.
    You must run the script as an Azure ML experiment on a compute cluster named aml-compute.
    You need to configure the run to ensure that the environment includes the required packages for model training. You have instantiated a variable named aml-compute that references the target compute cluster.
    Solution: Run the following code:

    Does the solution meet the goal?
  • Question 79

    You have a Python script that executes a pipeline. The script includes the following code:
    from azureml.core import Experiment
    pipeline_run = Experiment(ws, 'pipeline_test').submit(pipeline)
    You want to test the pipeline before deploying the script.
    You need to display the pipeline run details written to the STDOUT output when the pipeline completes.
    Which code segment should you add to the test script?
  • Question 80

    You create an experiment in Azure Machine Learning Studio- You add a training dataset that contains 10.000 rows. The first 9.000 rows represent class 0 (90 percent). The first 1.000 rows represent class 1 (10 percent).
    The training set is unbalanced between two Classes. You must increase the number of training examples for class 1 to 4,000 by using data rows. You add the Synthetic Minority Oversampling Technique (SMOTE) module to the experiment.
    You need to configure the module.
    Which values should you use? To answer, select the appropriate options in the dialog box in the answer area.
    NOTE: Each correct selection is worth one point.