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.
Question
Options
- Ar2_score
- Bmean_absolute_error
- Caccuracy
- Droot_mean_squared_log_error
How the community answered
(33 responses)- A3% (1)
- B3% (1)
- C88% (29)
- D6% (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.
r2_score (coefficient of determination) is a regression metric that measures variance explained by the model and is not applicable to classification tasks.
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.
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
Community Discussion
No community discussion yet for this question.