The higher the diagonal values of the confusion Off-diagonal elements are those that are mislabeled by theĬlassifier. The predicted label is equal to the true label, while Theĭiagonal elements represent the number of points for which Of the output of a classifier on the iris data set. To download the full example code or to run this example in your browser via JupyterLite or Binder Confusion matrix ¶Įxample of confusion matrix usage to evaluate the quality