def postprocess(y):
    """
    Process the predicted result to eliminate values more than 1 or less than 0
    :param y: Raw predicted result
    :return: Post processed result
    """
    y[y < 0] = 0
    y[y > 1] = 1
    return y