def compute_accuracy(y_test, y_predicted):
    """
    Compute the accuracy of the classification labels
    """

    data_size = y_test.shape[0]

    tp_tn_sum = 0

    for y1, y2 in zip(y_test, y_predicted):
        if(y1 == y2):
            tp_tn_sum += 1

    return tp_tn_sum / data_size