Designing and Implementing a Data Science Solution on Azure — Question 137
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?
Answer options
- A. r2_score
- B. mean_absolute_error
- C. accuracy
- D. root_mean_squared_log_error
Correct answer: C
Explanation
The correct choice is C, accuracy, as it directly measures how well the model correctly classifies images. The other metrics, such as r2_score, mean_absolute_error, and root_mean_squared_log_error, are more suited for regression tasks rather than classification, making them less relevant in this scenario.