def calculate_recall(pred_vector, label_vector):
    """
    Calculate the recall of the predicted values.
    """
    n = len(pred_vector)
    TP = sum([(label_vector[i] == 1) and (pred_vector[i] == 1) for i in range(n)])
    FN = sum([(label_vector[i] == 1) and (pred_vector[i] == 0) for i in range(n)])

    if TP + FN > 0.0:
        result = TP / (TP + FN)
    else:
        result = 0.0
    return result