Given a cardinality k and true label y, return random value in
    {1,...,k} \ {y}.

def choose_other_label(k, y):
    """Given a cardinality k and true label y, return random value in
    {1,...,k} \ {y}."""
    return choice(list(set(range(1, k + 1)) - set([y])))