Module rusty_machine::analysis::confusion_matrix [] [src]

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

Functions

confusion_matrix

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.