nerdexam
Microsoft

DP-100 · Question #151

You create a multi-class image classification deep learning model that uses the PyTorch deep learning framework. You must configure Azure Machine Learning Hyperdrive to optimize the hyperparameters fo

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

Train and deploy models

Question

You create a multi-class image classification deep learning model that uses the PyTorch deep learning framework. You must configure Azure Machine Learning Hyperdrive to optimize the hyperparameters for the classification model. You need to define a primary metric to determine the hyperparameter values that result in the model with the best accuracy score. Which three actions must you perform? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.

Options

  • ASet the primary_metric_goal of the estimator used to run the bird_classifier_train.py script to
  • BAdd code to the bird_classifier_train.py script to calculate the validation loss of the model and log
  • CSet the primary_metric_goal of the estimator used to run the bird_classifier_train.py script to
  • DSet the primary_metric_name of the estimator used to run the bird_classifier_train.py script to
  • ESet the primary_metric_name of the estimator used to run the bird_classifier_train.py script to
  • FAdd code to the bird_classifier_train.py script to calculate the validation accuracy of the model

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#Hyperparameter Tuning#Hyperdrive#Model Evaluation
Full DP-100 Practice