Question 21

You create a classification model with a dataset that contains 100 samples with Class A and 10,000 samples with Class B The variation of Class B is very high.
You need to resolve imbalances.
Which method should you use?
  • Question 22

    You use Azure Machine Learning designer to create a training pipeline for a regression model.
    You need to prepare the pipeline for deployment as an endpoint that generates predictions asynchronously for a dataset of input data values.
    What should you do?
  • Question 23

    You plan to use the Hyperdrive feature of Azure Machine Learning to determine the optimal hyperparameter values when training a model.
    You must use Hyperdrive to try combinations of the following hyperparameter values. You must not apply an early termination policy.
    learning_rate: any value between 0.001 and 0.1
    * batch_size: 16, 32, or 64
    You need to configure the sampling method for the Hyperdrive experiment Which two sampling methods can you use? Each correct answer is a complete solution.
    NOTE: Each correct selection is worth one point.
  • Question 24

    You are evaluating a completed binary classification machine.
    You need to use the precision as the evaluation metric.
    Which visualization should you use?
  • Question 25

    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?