def get_accuracy_of_class(v_label, y):
    """
        Returns:
            accuracy of given label
        Args:
            validation label: expected outputs
            y: predicted outputs
    """
    c = 0
    for i in range(len(y)):
        if y[i] == v_label[i]:
            c += 1
    return c / len(y)