Learn R Programming

nett (version 1.0.0)

compute_confusion_matrix: Compute confusion matrix

Description

Compute confusion matrix

Usage

compute_confusion_matrix(z, y, K = NULL)

Value

A KxK confusion matrix between z and y

Arguments

z

a label vector

y

a label vector

K

number of labels in both z and y