nerdexam
Microsoft

DP-100 · Question #439

You have an Azure Machine Learning workspace. You plan to use the workspace to set up automated machine learning training for an image classification model. You need to choose the primary metric to…

The correct answer is C. accuracy. Accuracy is the correct primary metric for an automated ML image classification task because classification metrics must be used, not regression metrics.

Explore data and run experiments

Question

You have an Azure Machine Learning workspace. You plan to use the workspace to set up automated machine learning training for an image classification model. You need to choose the primary metric to optimize the model training. Which primary metric should you choose?

Options

  • Aexplained_variance
  • Bmean_absolute_error
  • Caccuracy
  • Dmedian_absolute_error

How the community answered

(46 responses)
  • A
    4% (2)
  • B
    2% (1)
  • C
    91% (42)
  • D
    2% (1)

Why each option

Accuracy is the correct primary metric for an automated ML image classification task because classification metrics must be used, not regression metrics.

Aexplained_variance

explained_variance is a regression metric that quantifies how much of the variance in a continuous target variable the model explains and cannot be applied to classification label outputs.

Bmean_absolute_error

mean_absolute_error measures the average magnitude of prediction errors for continuous numeric outputs and is only valid for regression tasks, not classification.

CaccuracyCorrect

Image classification is a multi-class classification problem, and accuracy measures the fraction of images correctly labeled by the model. Azure AutoML supports accuracy as a primary metric for classification tasks and uses it to compare and select the best model during training iterations.

Dmedian_absolute_error

median_absolute_error is a robust regression metric based on the median of absolute errors and is not applicable to categorical class predictions.

Concept tested: AutoML primary metric selection for image classification

Source: https://learn.microsoft.com/en-us/azure/machine-learning/how-to-configure-auto-train#primary-metric

Topics

#Image Classification#Automated Machine Learning#Evaluation Metrics#Accuracy

Community Discussion

No community discussion yet for this question.

Full DP-100 Practice