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.
Question
Options
- Aexplained_variance
- Bmean_absolute_error
- Caccuracy
- Dmedian_absolute_error
How the community answered
(46 responses)- A4% (2)
- B2% (1)
- C91% (42)
- D2% (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.
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.
mean_absolute_error measures the average magnitude of prediction errors for continuous numeric outputs and is only valid for regression tasks, not classification.
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.
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
Community Discussion
No community discussion yet for this question.