def sensitivity(cm):
    """True positives vs all positives.

    Args:
        cm (2x2 np.array): A confusion matrix.
    Returns:
        float: Sensitivity of the classifier.
    """
    return cm[0,0]/(cm[0,0] + cm[0,1])