Confusion matrix with multiclass

Please explain the confusion matrix with multiclass.

Hi, Suresh.

It is same as that of the confusion matrix for two labels but here since are more than two labels so it will calculate one confusion matrix between every two classes respect to all the labels. by using the “One vs Rest” way.

Refer this article for more information
https://scikit-learn.org/stable/modules/generated/sklearn.metrics.multilabel_confusion_matrix.html#:~:text=The%20multilabel_confusion_matrix%20calculates%20class-wise,confusion%20between%20every%20two%20classes.

All the best!