7.4.9. mclearn.performance.recall

mclearn.performance.recall(confusion)[source]

Compute the recall from a confusion matrix.

Parameters:confusion (array, shape = [n_classes, n_classes]) – Where entry c_{ij} is the number of observations in class i but are classified as class j.
Returns:recalls – A list of recalls, one for each class.
Return type:array