Expand description

Module to compute the confusion matrix of a set of predictions.

Functions

Returns a square matrix C where C_ij is the count of the samples which were predicted to lie in the class with jth label but actually lie in the class with ith label.