def recall(c):
    """ Compute recall given Numpy array confusion matrix C. Returns a list of floating point values. """
    n, _ = c.shape
    return [(c[k, k] / sum([c[k, j] for j in range(n)])) for k in range(n)]