compute_confusion_matrix: Compute confusion matrix
Description
Compute confusion matrix
Usage
compute_confusion_matrix(z, y, K = NULL)
Value
A K
xK
confusion matrix between z
and y
Arguments
- z
a label vector
- y
a label vector
- K
number of labels in both z
and y