AWS Certified AI Practitioner (AIF-C01) — Question 46
An AI practitioner has built a deep learning model to classify the types of materials in images. The AI practitioner now wants to measure the model performance.
Which metric will help the AI practitioner evaluate the performance of the model?
Answer options
- A. Confusion matrix
- B. Correlation matrix
- C. R2 score
- D. Mean squared error (MSE)
Correct answer: A
Explanation
The confusion matrix is the appropriate metric for evaluating classification models as it provides a detailed breakdown of true positives, false positives, true negatives, and false negatives. In contrast, the correlation matrix is used for examining relationships between variables, the R2 score is specific to regression models, and mean squared error (MSE) is also a metric for regression, making them unsuitable for this classification task.