def __CheckEvaluationInput(y, yPredicted):
    if (len(y) != len(yPredicted)):
        raise UserWarning('Attempting to evaluate between the true labels and predictions.\n   Arrays contained different numbers of samples. Check your work and try again.')
    valueError = False
    for value in y:
        if (value not in [0, 1]):
            valueError = True
    for value in yPredicted:
        if (value not in [0, 1]):
            valueError = True
    if valueError:
        raise UserWarning('Attempting to evaluate between the true labels and predictions.\n   Arrays contained unexpected value. Must be 0 or 1.')
def __CheckEvaluationInput(y, yPredicted):
    if (len(y) != len(yPredicted)):
        raise UserWarning('Attempting to evaluate between the true labels and predictions.\n   Arrays contained different numbers of samples. Check your work and try again.')
    valueError = False
    for value in y:
        if (value not in [0, 1]):
            valueError = True
    for value in yPredicted:
        if (value not in [0, 1]):
            valueError = True
    if valueError:
        raise UserWarning('Attempting to evaluate between the true labels and predictions.\n   Arrays contained unexpected value. Must be 0 or 1.')