Compute confusion matrix
compute_confusion_matrix(z, y, K = NULL)
z
a label vector
y
K
number of labels in both z and y
A KxK confusion matrix between z and y