✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
You have a classifier and predictions y_pred for your test set y_test. You want to compute and visualize the confusion matrix using Python. Which of the following options is correct?