def Accuracy(y, yPredicted):
    __CheckEvaluationInput(y, yPredicted)
    correct = []
    for i in range(len(y)):
        if (y[i] == yPredicted[i]):
            correct.append(1)
        else:
            correct.append(0)
    return (sum(correct) / len(correct))
def Accuracy(y, yPredicted):
    __CheckEvaluationInput(y, yPredicted)
    correct = []
    for i in range(len(y)):
        if (y[i] == yPredicted[i]):
            correct.append(1)
        else:
            correct.append(0)
    return (sum(correct) / len(correct))