Question 4
Consider the block of code given below:
from sklearn.metrics import confusion_matrixy_true = ["cat", "ant", "cat", "cat", "ant", "bird"]y_pred = ["ant", "ant", "cat", "cat", "ant", "cat"]cm = confusion_matrix(y_true, y_pred, labels=["ant", "bird", "cat"])print(cm)Which of the following option represents the print output :