Question 26

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 analyzing a numerical dataset which contains missing values in several columns.
You must clean the missing values using an appropriate operation without affecting the dimensionality of the feature set.
You need to analyze a full dataset to include all values.
Solution: Calculate the column median value and use the median value as the replacement for any missing value in the column.
Does the solution meet the goal?
  • Question 27

    You are using the Azure Machine Learning Service to automate hyperparameter exploration of your neural network classification model.
    You must define the hyperparameter space to automatically tune hyperparameters using random sampling according to following requirements:
    The learning rate must be selected from a normal distribution with a mean value of 10 and a standard deviation of 3.
    Batch size must be 16, 32 and 64.
    Keep probability must be a value selected from a uniform distribution between the range of 0.05 and 0.1.
    You need to use the param_sampling method of the Python API for the Azure Machine Learning Service.
    How should you complete the code segment? To answer, select the appropriate options in the answer area.
    NOTE: Each correct selection is worth one point.

    Question 28

    You use Data Science Virtual Machines (DSVMs) for Windows and Linux in Azure.
    You need to access the DSVMs.
    Which utilities should you use? To answer, select the appropriate options in the answer area.
    NOTE: Each correct selection is worth one point.

    Question 29

    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 using Azure Machine Learning to run an experiment that trains a classification model.
    You want to use Hyperdrive to find parameters that optimize the AUC metric for the model. You configure a HyperDriveConfig for the experiment by running the following code:

    You plan to use this configuration to run a script that trains a random forest model and then tests it with validation data. The label values for the validation data are stored in a variable named y_test variable, and the predicted probabilities from the model are stored in a variable named y_predicted.
    You need to add logging to the script to allow Hyperdrive to optimize hyperparameters for the AUC metric.
    Solution: Run the following code:

    Does the solution meet the goal?
  • Question 30

    You need to replace the missing data in the AccessibilityToHighway columns.
    How should you configure the Clean Missing Data module? To answer, select the appropriate options in the answer area.
    NOTE: Each correct selection is worth one point.