Recall score

    recall = true_positives / (true_positives + false_negatives)
    
    Parameters:
    -----------
    y : vector, shape (n_samples,)
    The target labels.

    y_pred : vector, shape (n_samples,)
    The predicted labels.
    
    Returns:
    --------
    recall : float

def recall(y, y_pred):
    """Recall score

    recall = true_positives / (true_positives + false_negatives)
    
    Parameters:
    -----------
    y : vector, shape (n_samples,)
    The target labels.

    y_pred : vector, shape (n_samples,)
    The predicted labels.
    
    Returns:
    --------
    recall : float
    
    """

    tp = true_positives(y, y_pred)
    fn = false_negatives(y, y_pred)
    return  tp / (tp + fn)