nerdexam
Microsoft

DP-100 · Question #438

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

  • Ar2_score
  • Bmean_absolute_error
  • Caccuracy
  • Droot_mean_squared_log_error

How the community answered

(33 responses)
  • A
    3% (1)
  • B
    3% (1)
  • C
    88% (29)
  • D
    6% (2)

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.

Ar2_score

r2_score (coefficient of determination) is a regression metric that measures variance explained by the model and is not applicable to classification tasks.

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.

Droot_mean_squared_log_error

root_mean_squared_log_error is a regression metric designed for targets with exponential growth and is incompatible with classification label outputs.

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

#AutoML#Image Classification#Evaluation Metrics#Classification Metrics

Community Discussion

No community discussion yet for this question.

Full DP-100 Practice